openbsd-ports/archivers/p5-Compress-Zlib/Makefile
naddy 62e01fdce7 - use system libz rather than building a private copy
- fix example files (the patches were misapplying badly)
2005-07-05 13:48:10 +00:00

31 lines
704 B
Makefile

# $OpenBSD: Makefile,v 1.39 2005/07/05 13:48:10 naddy Exp $
SHARED_ONLY= Yes
COMMENT= "perl interface to the zlib compression library"
DISTNAME= Compress-Zlib-1.34
PKGNAME= p5-${DISTNAME}p0
CATEGORIES= archivers perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Compress/}
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= z
CONFIGURE_STYLE=perl
EXAMPLE_FILES= filtdef filtinf gzcat gzgrep gzstream
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Compress-Zlib
.for i in ${EXAMPLE_FILES}
${INSTALL_SCRIPT} ${WRKBUILD}/examples/$i \
${PREFIX}/share/examples/p5-Compress-Zlib
.endfor
.include <bsd.port.mk>