aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/par/Makefile
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-04-28 17:25:08 +0800
committerdanfe <danfe@FreeBSD.org>2013-04-28 17:25:08 +0800
commit26aa07681a4d4ad4108de3f1234c23c683cce735 (patch)
tree1416d36804de1191a4c081a023110e972b63479c /archivers/par/Makefile
parentede87744c6e9d804ccef21175bf5a6561ac5b660 (diff)
downloadfreebsd-ports-gnome-26aa07681a4d4ad4108de3f1234c23c683cce735.tar.gz
freebsd-ports-gnome-26aa07681a4d4ad4108de3f1234c23c683cce735.tar.zst
freebsd-ports-gnome-26aa07681a4d4ad4108de3f1234c23c683cce735.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/
Diffstat (limited to 'archivers/par/Makefile')
-rw-r--r--archivers/par/Makefile37
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>