freebsd-ports/archivers/pbzip2/Makefile
Martin Wilke 98c380ca36 - Update to 1.1.4
PR:		157672
Submitted by:	Ryan Steinmetz <rpsfa@rit.edu>
2011-06-12 02:20:37 +00:00

41 lines
832 B
Makefile

# ex:ts=8
# Ports collection makefile for: pbzip2
# Date created: Dec 7, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pbzip2
PORTVERSION= 1.1.4
CATEGORIES= archivers
MASTER_SITES= http://compression.ca/pbzip2/
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= Parallel BZIP2
PLIST_FILES= bin/pbzip2 bin/pbunzip2
MAN1= pbzip2.1
MLINKS= pbzip2.1 pbunzip2.1
USE_GMAKE= YES
MAKE_JOBS_SAFE= yes
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
post-patch:
@${REINPLACE_CMD} \
-e 's,-pthread -lpthread,${PTHREAD_LIBS},g; \
s,-O2,${CXXFLAGS},; \
s,^CC,#CC,; \
s,CC,CXX,' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${LN} -sf ${PORTNAME} ${PREFIX}/bin/pbunzip2
@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>