freebsd-ports/archivers/lbzip2/Makefile
Mathieu Arnold f899c758a6 When there is a do-install target, do not use a post-install target, do
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
2016-07-19 11:04:13 +00:00

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>