1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/archivers/pbzip2/Makefile
2006-02-15 01:07:53 +00:00

36 lines
739 B
Makefile

# ex:ts=8
# Ports collection makefile for: pbzip2
# Date created: Dec 7, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pbzip2
PORTVERSION= 0.9.6
CATEGORIES= archivers
MASTER_SITES= http://compression.ca/pbzip2/
MAINTAINER= ports@FreeBSD.org
COMMENT= Parallel BZIP2
PLIST_FILES= bin/pbzip2
MAN1= pbzip2.1
post-patch:
@${REINPLACE_CMD} \
-e "s,-pthread -lpthread,${PTHREAD_LIBS},g" \
-e "s,-O3,${CXXFLAGS}," \
-e "s,^CC,#CC," \
-e "s,CC,CXX," ${WRKSRC}/Makefile
@${REINPLACE_CMD} \
-e "s,PRIu64 \"Lu\",PRIu64 Lu," \
-e "s,\"PRIu64\",#PRIu64,g" ${WRKSRC}/pbzip2.cpp
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
.include <bsd.port.mk>