blob: ed44713b13a130f5cc5d0e082b4a58644ceb19be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.17 1999/12/28 03:59:01 wiz Exp $
# FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp
#
DISTNAME= zip-2.3
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/ \
ftp://ftp.icce.rug.nl/infozip/src/
DISTFILES= zip23.tar.gz
MAINTAINER= wiz@danbala.tuwien.ac.at
HOMEPAGE= http://www.cdrom.com/pub/infozip/
MAKEFILE= unix/Makefile
MAKE_FLAGS= LOCAL_ZIP="${CFLAGS}"
ALL_TARGET= generic
BUILD_DEFS+= ZIP_ENCRYPTION
.include "../../mk/bsd.prefs.mk"
.if defined(ZIP_ENCRYPTION)
DISTFILES+= zcrypt28.zip
EXTRACT_ONLY= zip23.tar.gz
BUILD_DEPENDS= unzip:../../archivers/unzip
RESTRICTED= crypto
MIRROR_DISTFILE=no
post-extract:
@cd ${WRKSRC} && unzip -qo ${DISTDIR}/zcrypt28.zip
.endif
do-install:
cd ${WRKSRC} && \
${INSTALL_PROGRAM} zip zipnote zipsplit zipcloak ${PREFIX}/bin
cd ${WRKSRC}/man && \
${INSTALL_MAN} zip.1 ${PREFIX}/man/man1
${LN} -f -s zip.1 ${PREFIX}/man/man1/zipcloak.1
${LN} -f -s zip.1 ${PREFIX}/man/man1/zipnote.1
${LN} -f -s zip.1 ${PREFIX}/man/man1/zipsplit.1
.include "../../mk/bsd.pkg.mk"
|