aboutsummaryrefslogtreecommitdiff
path: root/archivers/par
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-04-28 09:25:08 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-04-28 09:25:08 +0000
commit508e510d1249a6b2a394658d7c4d562450582631 (patch)
tree1416d36804de1191a4c081a023110e972b63479c /archivers/par
parent01b5014a7eed8154cf704985b7428def120bbcba (diff)
downloadports-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')
-rw-r--r--archivers/par/Makefile37
-rw-r--r--archivers/par/distinfo2
-rw-r--r--archivers/par/pkg-descr4
3 files changed, 43 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>
diff --git a/archivers/par/distinfo b/archivers/par/distinfo
new file mode 100644
index 000000000000..de445df41377
--- /dev/null
+++ b/archivers/par/distinfo
@@ -0,0 +1,2 @@
+SHA256 (par-0.03.01.tar.gz) = e68a3b78586cd762b29f5d5edca8ea9f263fa100423f4d4fee36c7e0a5061122
+SIZE (par-0.03.01.tar.gz) = 21380
diff --git a/archivers/par/pkg-descr b/archivers/par/pkg-descr
new file mode 100644
index 000000000000..b8832ec684c4
--- /dev/null
+++ b/archivers/par/pkg-descr
@@ -0,0 +1,4 @@
+This is par, 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/