openbsd-ports/archivers/p5-Compress-Zlib/Makefile
sthen 1c0d4e8db1 update to 2.0.11
- fix minor documentation issue

from Giovanni Bechis
2008-07-08 23:03:16 +00:00

28 lines
707 B
Makefile

# $OpenBSD: Makefile,v 1.50 2008/07/08 23:03:16 sthen Exp $
COMMENT= perl interface to the zlib compression library
MODULES= cpan
DISTNAME= Compress-Zlib-2.011
CATEGORIES= archivers
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::archivers/p5-IO-Compress-Zlib
EXAMPLE_FILES= filtdef filtinf gzcat gzgrep gzstream
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Compress-Zlib
@cd ${WRKSRC}/examples && perl -pi -e \
's,/usr/local/bin/perl,/usr/bin/perl,g' ${EXAMPLE_FILES}
@cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${EXAMPLE_FILES} \
${PREFIX}/share/examples/p5-Compress-Zlib
.include <bsd.port.mk>