2007-12-04 08:38:30 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.49 2007/12/04 13:38:30 steven Exp $
|
2004-01-17 10:58:06 -05:00
|
|
|
|
2007-09-15 06:14:32 -04:00
|
|
|
COMMENT= perl interface to the zlib compression library
|
2001-01-16 18:19:47 -05:00
|
|
|
|
2006-11-17 10:08:16 -05:00
|
|
|
MODULES= cpan
|
|
|
|
|
2007-12-04 08:38:30 -05:00
|
|
|
DISTNAME= Compress-Zlib-2.008
|
2006-11-17 10:08:16 -05:00
|
|
|
CATEGORIES= archivers
|
1998-10-18 01:01:58 -04:00
|
|
|
|
2003-06-04 18:16:22 -04:00
|
|
|
# Perl
|
2007-05-12 08:26:36 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-06-10 16:22:13 -04:00
|
|
|
|
2007-05-12 08:26:36 -04:00
|
|
|
RUN_DEPENDS= ::archivers/p5-IO-Compress-Zlib
|
2005-07-05 09:48:10 -04:00
|
|
|
|
2001-01-16 18:19:47 -05:00
|
|
|
EXAMPLE_FILES= filtdef filtinf gzcat gzgrep gzstream
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Compress-Zlib
|
2007-05-12 08:26:36 -04:00
|
|
|
@cd ${WRKSRC}/examples && perl -pi -e \
|
|
|
|
's,/usr/local/bin/perl,/usr/bin/perl,g' ${EXAMPLE_FILES}
|
|
|
|
@cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${EXAMPLE_FILES} \
|
2001-01-16 18:19:47 -05:00
|
|
|
${PREFIX}/share/examples/p5-Compress-Zlib
|
1997-11-24 16:09:15 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|