diff options
author | tv <tv> | 1998-06-20 23:27:48 +0000 |
---|---|---|
committer | tv <tv> | 1998-06-20 23:27:48 +0000 |
commit | 730ba2a1108fb8688c456b03cc5af1a059b0ea1f (patch) | |
tree | b70dbd9437646885f373bcf31f191ed60c5c2942 /archivers/zip1/Makefile | |
parent | c5560780ff631bd9dd0134581446aa137155f60d (diff) | |
download | pkgsrc-730ba2a1108fb8688c456b03cc5af1a059b0ea1f.tar.gz |
Add and enable zip1 (PKZIP 1.x compatible zip), with encryption support.
Not conflicting with `zip' program.
Diffstat (limited to 'archivers/zip1/Makefile')
-rw-r--r-- | archivers/zip1/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/archivers/zip1/Makefile b/archivers/zip1/Makefile new file mode 100644 index 00000000000..fc1c729ea34 --- /dev/null +++ b/archivers/zip1/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1 1998/06/20 23:27:49 tv Exp $ +# + +DISTNAME= zip1-1.1 +CATEGORIES= archivers +MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/ \ + ftp://ftp.icce.rug.nl/infozip/src/ +DISTFILES= zip11.zip + +MAINTAINER= tv@netbsd.org + +FETCH_DEPENDS= unzip:../../archivers/unzip + +EXTRACT_CMD= unzip +EXTRACT_BEFORE_ARGS= -qo + +MAKEFILE= makefile +MAKE_FLAGS= CFLAGS="${CFLAGS} -DDIRENT" LFLAGS2="-lcompat" +ALL_TARGET= zip + +NO_WRKSUBDIR= yes +PLIST_SRC= ${WRKSRC}/PLIST + +.include "../../mk/bsd.prefs.mk" + +.if defined(ZIP_ENCRYPTION) +DISTFILES+= zcrypt10.zip +ALL_TARGET+= zipcloak +RESTRICTED= crypto +MIRROR_DISTFILE=no +.endif + +do-install: + @${CP} ${PKGDIR}/PLIST.pre ${PLIST_SRC} + cd ${WRKSRC} && ${INSTALL_PROGRAM} zip ${PREFIX}/bin/zip1 + cd ${WRKSRC} && ${INSTALL_MAN} zip.1 ${PREFIX}/man/man1/zip1.1 +.if defined(ZIP_ENCRYPTION) + cd ${WRKSRC} && ${INSTALL_PROGRAM} zipcloak ${PREFIX}/bin/zipcloak1 + ln -fs zip1.1 ${PREFIX}/man/man1/zipcloak1.1 + @${ECHO} >>${PLIST_SRC} "bin/zipcloak1" + @${ECHO} >>${PLIST_SRC} "man/man1/zipcloak1.1" +.endif + +.include "../../mk/bsd.pkg.mk" |