Fake, use PLIST.sed feature.
Install man pages.
This commit is contained in:
parent
41bee1a3b7
commit
8ef931d8e9
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2000/03/25 05:10:47 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2000/04/08 14:17:06 espie Exp $
|
||||
|
||||
DISTNAME= Compress-Zlib-1.01
|
||||
PKGNAME= p5-Cmprs-Zlib-1.01
|
||||
CATEGORIES= archivers perl5
|
||||
NEED_VERSION= 1.251
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Compress
|
||||
|
||||
@ -12,14 +13,23 @@ PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
FAKE= Yes
|
||||
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
pre-fake:
|
||||
@mkdir -p ${WRKINST}`/usr/bin/perl -e 'use Config; print $$Config{installarchlib}, "\n";'`
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC}; env ${MAKE_ENV} /usr/bin/perl Makefile.PL
|
||||
|
||||
pre-install:
|
||||
@sed -e s/@ARCH@/${MACHINE_ARCH}/ ${FILESDIR}/PLIST.template > \
|
||||
${WRKDIR}/PLIST
|
||||
@arch=`/usr/bin/perl -e 'use Config; print $$Config{archname}, "\n";'`; \
|
||||
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} \
|
||||
/usr/bin/perl Makefile.PL \
|
||||
PREFIX='$${DESTDIR}${PREFIX}' \
|
||||
INSTALLSITELIB='$${DESTDIR}${PREFIX}/libdata/perl5/site_perl' \
|
||||
INSTALLSITEARCH="\$${INSTALLSITELIB}/$$arch" \
|
||||
INSTALLPRIVLIB='$${DESTDIR}/usr/libdata/perl5' \
|
||||
INSTALLARCHLIB="\$${INSTALLPRIVLIB}/$$arch" \
|
||||
INSTALLMAN1DIR='$${DESTDIR}${PREFIX}/man/man1' \
|
||||
INSTALLMAN3DIR='$${DESTDIR}${PREFIX}/man/man3' \
|
||||
INSTALLBIN='$${PREFIX}/bin' \
|
||||
INSTALLSCRIPT='$${INSTALLBIN}'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -3,8 +3,5 @@ libdata/perl5/site_perl/@ARCH@-openbsd/auto/Compress/Zlib/.packlist
|
||||
libdata/perl5/site_perl/@ARCH@-openbsd/auto/Compress/Zlib/Zlib.bs
|
||||
libdata/perl5/site_perl/@ARCH@-openbsd/auto/Compress/Zlib/Zlib.so
|
||||
libdata/perl5/site_perl/@ARCH@-openbsd/auto/Compress/Zlib/autosplit.ix
|
||||
man/man3/Compress::Zlib.3p
|
||||
@dirrm libdata/perl5/site_perl/@ARCH@-openbsd/auto/Compress/Zlib
|
||||
@dirrm libdata/perl5/site_perl/@ARCH@-openbsd/auto/Compress
|
||||
@dirrm libdata/perl5/site_perl/@ARCH@-openbsd/auto
|
||||
@dirrm libdata/perl5/site_perl/@ARCH@-openbsd/Compress
|
||||
@dirrm libdata/perl5/site_perl/@ARCH@-openbsd
|
Loading…
Reference in New Issue
Block a user