blob: 9ba24a429f6967fe142ecf79b931d50e8f898dd5 (
plain) (
blame)
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
|
# Created by: Andrey Chernov <ache@FreeBSD.org>
# $FreeBSD$
PORTNAME= zip
PORTVERSION= 3.0
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= SF/info${PORTNAME}/Zip%203.x%20%28latest%29/${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= ler@FreeBSD.org
COMMENT= Create/update ZIP files compatible with PKZIP
# License is BSD-based, but not identical, so install with documentation
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= DOCS
MAKEFILE= unix/Makefile
ALL_TARGET= generic
PLIST_FILES= bin/zip bin/zipcloak bin/zipnote bin/zipsplit \
man/man1/zip.1.gz man/man1/zipcloak.1.gz \
man/man1/zipnote.1.gz man/man1/zipsplit.1.gz
PORTDOCS= *
do-install:
.for p in ${PLIST_FILES:Mbin*:T}
${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/${p}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES README* TODO WHATSNEW WHERE ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|