diff options
Diffstat (limited to 'archivers/pbzip2/Makefile')
| -rw-r--r-- | archivers/pbzip2/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/archivers/pbzip2/Makefile b/archivers/pbzip2/Makefile index bf44f90e51df..8c8b1f716db0 100644 --- a/archivers/pbzip2/Makefile +++ b/archivers/pbzip2/Makefile @@ -1,11 +1,11 @@ PORTNAME= pbzip2 -PORTVERSION= 1.1.13 +DISTVERSION= 1.1.13 CATEGORIES= archivers -MASTER_SITES= http://launchpad.net/${PORTNAME}/1.1/${PORTVERSION}/+download/ +MASTER_SITES= https://launchpad.net/${PORTNAME}/1.1/${DISTVERSION}/+download/ MAINTAINER= farrokhi@FreeBSD.org COMMENT= Parallel BZIP2 -WWW= http://compression.ca/pbzip2/ +WWW= https://launchpad.net/pbzip2/ LICENSE= BSD4CLAUSE @@ -14,12 +14,16 @@ MAKE_ARGS= CFLAGS="${CXXFLAGS}" CC="${CXX}" PLIST_FILES= bin/pbzip2 bin/pbunzip2 \ share/man/man1/pbzip2.1.gz share/man/man1/pbunzip2.1.gz +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's,PRI[iu]MAX, & ,g' ${WRKSRC}/pbzip2.cpp \ ${WRKSRC}/BZ2StreamScanner.cpp +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500053 # Spell target sources to be understood by both BSD and GNU make(1) @${REINPLACE_CMD} -e '/-O2/s,^,#, ; s,$$^,$$>&,' \ ${WRKSRC}/Makefile +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ |
