diff options
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/packddir/Makefile | 31 | ||||
-rw-r--r-- | archivers/packddir/distinfo | 3 | ||||
-rw-r--r-- | archivers/packddir/files/patch-upackddir.c | 20 | ||||
-rw-r--r-- | archivers/packddir/pkg-descr | 4 |
4 files changed, 58 insertions, 0 deletions
diff --git a/archivers/packddir/Makefile b/archivers/packddir/Makefile new file mode 100644 index 000000000000..70d13cef6a7b --- /dev/null +++ b/archivers/packddir/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: packddir +# Date created: 2009-08-22 +# Whom: Ayumi M <ayu@commun.jp> +# +# $FreeBSD$ +# + +PORTNAME= packddir +PORTVERSION= 0.0.6 +CATEGORIES= archivers +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= upackddir_${PORTVERSION}-1 + +MAINTAINER= ayu@commun.jp +COMMENT= These trivial utilities can unpack and create PackdDir archives + +WRKSRC= ${WRKDIR}/src + +PLIST_FILES= bin/upackddir +MAN1= upackddir.1 + +.include <bsd.port.pre.mk> + +post-patch: + ${REINPLACE_CMD} -e 's|$$(DESTDIR)/usr|${PREFIX}|' ${WRKSRC}/Makefile + +post-install: + ${INSTALL_MAN} ${WRKSRC}/upackddir.1 ${MANPREFIX}/man/man1 + +.include <bsd.port.post.mk> diff --git a/archivers/packddir/distinfo b/archivers/packddir/distinfo new file mode 100644 index 000000000000..607a5770ca0b --- /dev/null +++ b/archivers/packddir/distinfo @@ -0,0 +1,3 @@ +MD5 (upackddir_0.0.6-1.tar.gz) = b66373639b3ee46c495bacb25031f5c7 +SHA256 (upackddir_0.0.6-1.tar.gz) = 81b12e3be40d9e55c948ad3315ca7d28edbb74ff3f06730cc83f0d779bc7d6bf +SIZE (upackddir_0.0.6-1.tar.gz) = 16496 diff --git a/archivers/packddir/files/patch-upackddir.c b/archivers/packddir/files/patch-upackddir.c new file mode 100644 index 000000000000..64a51e301916 --- /dev/null +++ b/archivers/packddir/files/patch-upackddir.c @@ -0,0 +1,20 @@ +--- upackddir.c.orig 2009-08-22 04:48:16.000000000 +0900 ++++ upackddir.c 2009-08-22 04:48:39.000000000 +0900 +@@ -253,7 +253,7 @@ + } + + /* Let's jump to the beginning of our sweet data */ +- (char *) mapped += n; ++ mapped += n; + + for (i = 0; i < pack->numfiles; i++) { + fprintf(stderr, "%s\n", mapped->name); +@@ -297,7 +297,7 @@ + } + + /* Let's jump to the beginning of our sweet data */ +- (char *) mapped += n; ++ mapped += n; + + for (i = 0; i < pack->numfiles; i++) { + if (strcmp(name, mapped->name) == 0) { diff --git a/archivers/packddir/pkg-descr b/archivers/packddir/pkg-descr new file mode 100644 index 000000000000..cd59ce03bc94 --- /dev/null +++ b/archivers/packddir/pkg-descr @@ -0,0 +1,4 @@ +PackdDir creates and unpacks PackdDir archives, +which are used in Quake (I and II) and others. + +WWW: http://www.nongnu.org/packddir/ |