diff options
author | jlam <jlam> | 2004-01-05 22:16:24 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-05 22:16:24 +0000 |
commit | f704fb786586f743826cbe63ba130bea88155a93 (patch) | |
tree | 7e110ae5730d53426f3cb2ac58b24d5cc1f5c790 /devel/p5-perl-headers | |
parent | 4b196caa038555def4ecbd59a0ce7791e1ba1f99 (diff) | |
download | pkgsrc-f704fb786586f743826cbe63ba130bea88155a93.tar.gz |
bl3ify
Diffstat (limited to 'devel/p5-perl-headers')
-rw-r--r-- | devel/p5-perl-headers/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/devel/p5-perl-headers/Makefile b/devel/p5-perl-headers/Makefile index d27804c3911..4178cb490df 100644 --- a/devel/p5-perl-headers/Makefile +++ b/devel/p5-perl-headers/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2003/09/21 21:04:39 tron Exp $ +# $NetBSD: Makefile,v 1.17 2004/01/05 22:16:25 jlam Exp $ DISTNAME= p5-perl-headers PKGNAME= ${DISTNAME}-${OS_VERSION} @@ -12,11 +12,14 @@ MAINTAINER= jlam@NetBSD.org HOMEPAGE= http://language.perl.com/index.html COMMENT= Perl header files -USE_BUILDLINK2= yes +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes PERL5_PACKLIST= ${PERL5_SITEARCH}/.packlist.h2ph EXTRACT_ONLY= # empty NO_CHECKSUM= yes +NO_CONFIGURE= yes OSVERSION_SPECIFIC= yes # Since this package will be named, for instance, p5-perl-headers-1.5.1, @@ -29,21 +32,22 @@ NO_BIN_ON_FTP= FTP servers do not distinguish A.B.X revisions of versions do-build: ${MKDIR} ${WRKSRC}/h2ph ${RM} -f ${WRKSRC}/h2ph_log ${WRKSRC}/packlist - ( cd /usr/include; ${PREFIX}/bin/h2ph -d ${WRKSRC}/h2ph -r -l . ) \ + ( cd /usr/include; \ + ${BUILDLINK_PREFIX.perl}/bin/h2ph -d ${WRKSRC}/h2ph -r -l . ) \ > ${WRKSRC}/h2ph_log - ( ${ECHO} "${PERL5_SITEARCH}/_h2ph_pre.ph"; \ + ( ${ECHO} "${PERL5_INSTALLSITEARCH}/_h2ph_pre.ph"; \ ${CAT} ${WRKSRC}/h2ph_log \ | ${GREP} -- "->" \ - | ${SED} -e "s,.*\./,${PERL5_SITEARCH}/,g" ) \ + | ${SED} -e "s,.*\./,${PERL5_INSTALLSITEARCH}/,g" ) \ | ${SORT} -u \ > ${WRKSRC}/packlist do-install: - ${INSTALL_DATA_DIR} ${PERL5_SITEARCH} - ${CP} -R ${WRKSRC}/h2ph/* ${PERL5_SITEARCH} + ${INSTALL_DATA_DIR} ${PERL5_INSTALLSITEARCH} + ${CP} -R ${WRKSRC}/h2ph/* ${PERL5_INSTALLSITEARCH} ${INSTALL_DATA} ${WRKSRC}/packlist ${PERL5_PACKLIST} ${CAT} ${PERL5_PACKLIST} | ${XARGS} ${CHMOD} a-w ${CAT} ${PERL5_PACKLIST} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP} -.include "../../lang/perl5/buildlink2.mk" +.include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" |