f899c758a6
everything at once. Sometime, rename post-install into a options helper target. I did not fix ports that were such a mess that I could not figure out what they really wanted to do. I also did not change ports that had some version of an auto-plist code in post-install, for the same reason. With hat: portmgr Sponsored by: Absolight
30 lines
692 B
Makefile
30 lines
692 B
Makefile
# Created by: Gabor Kovesdan <gabor@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lbzip2
|
|
PORTVERSION= 0.23
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= http://lacos.web.elte.hu/pub/lbzip2/
|
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
|
COMMENT= Multi-threaded bzip2/bunzip2 filter
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
PLIST_FILES= bin/lbzip2 \
|
|
man/man1/lbzip2.1.gz
|
|
|
|
PORTDOCS= ChangeLog README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lbzip2 ${STAGEDIR}${PREFIX}/bin/lbzip2
|
|
${INSTALL_MAN} ${WRKSRC}/lbzip2.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|