diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-04-28 09:25:08 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-04-28 09:25:08 +0000 |
commit | 508e510d1249a6b2a394658d7c4d562450582631 (patch) | |
tree | 1416d36804de1191a4c081a023110e972b63479c /archivers/par/Makefile | |
parent | 01b5014a7eed8154cf704985b7428def120bbcba (diff) | |
download | ports-508e510d1249a6b2a394658d7c4d562450582631.tar.gz ports-508e510d1249a6b2a394658d7c4d562450582631.zip |
Add par 0.03.01, an archiver for Quake I and II packed data files (pakX.pak).
It supports listing, extraction, and creation of .pak archives.
WWW: http://ibiblio.org/pub/linux/games/quake/
Notes
Notes:
svn path=/head/; revision=316707
Diffstat (limited to 'archivers/par/Makefile')
-rw-r--r-- | archivers/par/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/archivers/par/Makefile b/archivers/par/Makefile new file mode 100644 index 000000000000..a4bebf4c3ee0 --- /dev/null +++ b/archivers/par/Makefile @@ -0,0 +1,37 @@ +# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= par +PORTVERSION= 0.03.01 +CATEGORIES= archivers games +MASTER_SITES= http://ibiblio.org/pub/linux/games/quake/ + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Archiver for Quake I and II packed data files + +LICENSE= GPLv2 + +MAKEFILE= Makefile.Linux +MAKE_ARGS= CC="${CC}" + +PLIST_FILES= bin/${PORTNAME} +MAN1= ${PORTNAME}.1 +PORTDOCS= ChangeLog README + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} -e 's,-Wall.*-pipe,${CFLAGS}, ; \ + s,\"Linux,\"${OPSYS},' ${WRKSRC}/${MAKEFILE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif + +.include <bsd.port.mk> |