2013-08-30 03:02:57 +02:00
|
|
|
# Created by: ijliao
|
2004-12-07 03:31:16 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pbzip2
|
2017-01-09 08:05:56 +01:00
|
|
|
PORTVERSION= 1.1.13
|
2004-12-07 03:31:16 +01:00
|
|
|
CATEGORIES= archivers
|
2015-09-03 17:36:30 +02:00
|
|
|
MASTER_SITES= http://launchpad.net/${PORTNAME}/1.1/${PORTVERSION}/+download/
|
2004-12-07 03:31:16 +01:00
|
|
|
|
2015-09-03 17:36:30 +02:00
|
|
|
MAINTAINER= farrokhi@FreeBSD.org
|
2004-12-07 03:31:16 +01:00
|
|
|
COMMENT= Parallel BZIP2
|
|
|
|
|
2014-01-03 19:26:48 +01:00
|
|
|
LICENSE= BSD4CLAUSE
|
2006-02-15 02:07:53 +01:00
|
|
|
|
2014-01-03 19:26:48 +01:00
|
|
|
MAKE_ARGS= CFLAGS="${CXXFLAGS}" CC="${CXX}"
|
2011-06-12 04:20:37 +02:00
|
|
|
|
2014-01-03 19:26:48 +01:00
|
|
|
PLIST_FILES= bin/pbzip2 bin/pbunzip2 \
|
|
|
|
man/man1/pbzip2.1.gz man/man1/pbunzip2.1.gz
|
2004-12-07 03:31:16 +01:00
|
|
|
|
2017-04-16 14:03:05 +02:00
|
|
|
post-patch:
|
2018-02-02 09:33:24 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,PRI[iu]MAX, & ,g' ${WRKSRC}/pbzip2.cpp \
|
|
|
|
${WRKSRC}/BZ2StreamScanner.cpp
|
2017-04-16 14:03:05 +02:00
|
|
|
# Spell target sources to be understood by both BSD and GNU make(1)
|
2018-02-02 09:33:24 +01:00
|
|
|
@${REINPLACE_CMD} -e '/-O2/s,^,#, ; s,$$^,$$>&,' \
|
|
|
|
${WRKSRC}/Makefile
|
2017-04-16 14:03:05 +02:00
|
|
|
|
2004-12-07 03:31:16 +01:00
|
|
|
do-install:
|
2014-01-03 19:26:48 +01:00
|
|
|
${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
|
2004-12-07 03:31:16 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|