2006-04-12 11:04:16 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2006/04/12 09:04:16 rillig Exp $
|
2005-01-12 14:45:27 +01:00
|
|
|
#
|
|
|
|
|
2006-04-12 11:04:16 +02:00
|
|
|
DISTNAME= pbzip2-0.9.6
|
2005-01-12 14:45:27 +01:00
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= http://compression.ca/pbzip2/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-01-12 14:45:27 +01:00
|
|
|
HOMEPAGE= http://compression.ca/pbzip2/
|
|
|
|
COMMENT= Parallel implementation of the bzip2 block-sorting file compressor
|
|
|
|
|
2005-01-21 03:39:23 +01:00
|
|
|
PTHREAD_AUTO_VARS= yes
|
2005-05-10 02:01:07 +02:00
|
|
|
PTHREAD_OPTS+= require
|
2005-08-28 19:36:52 +02:00
|
|
|
|
|
|
|
CPPFLAGS+= -D_LARGEFILE_SOURCE=1
|
|
|
|
CPPFLAGS+= -D_FILE_OFFSET_BITS=64
|
|
|
|
LIBS+= -lbz2
|
2005-01-12 14:45:27 +01:00
|
|
|
|
2006-01-04 23:37:38 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2005-08-28 19:36:52 +02:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}; \
|
2005-09-03 01:14:18 +02:00
|
|
|
${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} -o pbzip2 pbzip2.cpp ${LIBS}
|
2005-08-28 19:36:52 +02:00
|
|
|
|
2005-01-12 14:45:27 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pbzip2 ${PREFIX}/bin
|
2006-01-04 23:37:38 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pbzip2.1 ${PREFIX}/${PKGMANDIR}/man1
|
2005-01-12 14:45:27 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pbzip2
|
2005-09-05 18:05:40 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/pbzip2
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pbzip2
|
2005-01-12 14:45:27 +01:00
|
|
|
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|