openbsd-ports/archivers/p5-Compress-Zlib/Makefile
steven 5df95d0619 update to 2.004
from Giovanni Bechis <bigionews at snb.it>, with some tweaks
2007-05-12 12:26:36 +00:00

28 lines
710 B
Makefile

# $OpenBSD: Makefile,v 1.45 2007/05/12 12:26:36 steven Exp $
COMMENT= "perl interface to the zlib compression library"
MODULES= cpan
DISTNAME= Compress-Zlib-2.004
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>