diff options
Diffstat (limited to 'archivers/pbzip2/Makefile')
-rw-r--r-- | archivers/pbzip2/Makefile | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/archivers/pbzip2/Makefile b/archivers/pbzip2/Makefile index 3c0261a2d32c..cb919a30f3c4 100644 --- a/archivers/pbzip2/Makefile +++ b/archivers/pbzip2/Makefile @@ -10,26 +10,18 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= miwi@FreeBSD.org COMMENT= Parallel BZIP2 -LICENSE= BSD -LICENSE_FILE= ${WRKSRC}/COPYING - -MAN1= pbzip2.1 -MLINKS= pbzip2.1 pbunzip2.1 +LICENSE= BSD4CLAUSE USES= gmake -NO_STAGE= yes - -PLIST_FILES= bin/pbzip2 bin/pbunzip2 +MAKE_ARGS= CFLAGS="${CXXFLAGS}" CC="${CXX}" -post-patch: - @${REINPLACE_CMD} \ - -e 's,-O2,${CXXFLAGS},; \ - s,^CC,#CC,; \ - s,CC,CXX,' ${WRKSRC}/Makefile +PLIST_FILES= bin/pbzip2 bin/pbunzip2 \ + man/man1/pbzip2.1.gz man/man1/pbunzip2.1.gz do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - @${LN} -sf ${PORTNAME} ${PREFIX}/bin/pbunzip2 - @${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/pbunzip2 + ${INSTALL_MAN} ${WRKSRC}/pbzip2.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + ${LN} -sf pbzip2.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/pbunzip2.1 .include <bsd.port.mk> |