mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# Created by: Andrey Chernov <ache@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zip
|
|
PORTVERSION= 3.0
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= SF/info${PORTNAME}/Zip%203.x%20%28latest%29/${PORTVERSION} \
|
|
http://www.skysmurf.nl/comp/FreeBSD/distfiles/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
|
|
|
MAINTAINER= freebsd@skysmurf.nl
|
|
COMMENT= Create/update ZIP files compatible with PKZIP
|
|
|
|
# License is BSD-based, but not identical, so intall with documentation
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
NO_STAGE= yes
|
|
MAKEFILE= unix/Makefile
|
|
ALL_TARGET= generic
|
|
|
|
PLIST_FILES= bin/zip bin/zipcloak bin/zipnote bin/zipsplit
|
|
MAN1= zip.1 zipcloak.1 zipnote.1 zipsplit.1
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
.for p in ${PLIST_FILES:T}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/${p}.1 ${MANPREFIX}/man/man1
|
|
.endfor
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES README* TODO WHATSNEW WHERE ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|