1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/archivers/pbzip2/Makefile
Dmitry Marakasov 667bcaeca0 - Remove bogus REINPLACE_CMD which was intended to fix build on 4.x, but has broken program output instead.
- While here, line up MAN and MLINKS lines

PR:		125260
Submitted by:	Geoff The <geoff2k at gmail dot com>
Patch by:	pav@
2008-09-23 13:52:27 +00:00

38 lines
797 B
Makefile

# ex:ts=8
# Ports collection makefile for: pbzip2
# Date created: Dec 7, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pbzip2
PORTVERSION= 1.0.2.0.2
DISTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://compression.ca/pbzip2/ CENKES
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Parallel BZIP2
PLIST_FILES= bin/pbzip2 bin/pbunzip2
MAN1= pbzip2.1
MLINKS= pbzip2.1 pbunzip2.1
post-patch:
@${REINPLACE_CMD} \
-e 's,-pthread -lpthread,${PTHREAD_LIBS},g; \
s,-O3,${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>