openbsd-ports/archivers/p5-Compress-Zlib/Makefile
steven 478f5b2e50 update to 2.008
from jcroberts@designtools.org, verified by maintainer
2007-12-04 13:38:30 +00:00

28 lines
708 B
Makefile

# $OpenBSD: Makefile,v 1.49 2007/12/04 13:38:30 steven Exp $
COMMENT= perl interface to the zlib compression library
MODULES= cpan
DISTNAME= Compress-Zlib-2.008
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>