1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/archivers/zip/Makefile
Alexey Dokuchaev 7b8f1fdf7b - Switch to .tar.gz distfile (contents are identical, but new file is a bit
smaller and does not require external EXTRACT_DEPENDS)
- Do not hardcode list of programs twice, use ${PLIST_FILES:T} second time
- Use official spelling of PKZIP in COMMENT
- Unsplit PLIST_FILES definitions (join into one line) similar to MAN1
- Install seemingly useful documentation files
- Pacify portlint(1) and cleanup things a bit
- Canonicalize and reformat Makefile header while I am here
2012-02-12 09:59:54 +00:00

38 lines
970 B
Makefile

# New ports collection makefile for: Info-ZIP
# Date created: 22 Dec 1994
# Whom: 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}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Create/update ZIP files compatible with PKZIP
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= *
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 !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
# License is BSD-based, but not identical, so intall with documentation
. for d in CHANGES LICENSE README* TODO WHATSNEW WHERE
${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.mk>