pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-perl-headers Teach p5-perl-headers about the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a43049bb4015
branches:  trunk
changeset: 497899:a43049bb4015
user:      cube <cube%pkgsrc.org@localhost>
date:      Sat Aug 06 23:29:36 2005 +0000

description:
Teach p5-perl-headers about the new perl world order.  We install in the
vendor directory now, and the packlist handling has changed a little bit.
Bump PKGREVISION.

diffstat:

 devel/p5-perl-headers/Makefile |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (51 lines):

diff -r 6b3b1f73d5b8 -r a43049bb4015 devel/p5-perl-headers/Makefile
--- a/devel/p5-perl-headers/Makefile    Sat Aug 06 23:01:19 2005 +0000
+++ b/devel/p5-perl-headers/Makefile    Sat Aug 06 23:29:36 2005 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.24 2005/08/06 06:19:18 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2005/08/06 23:29:36 cube Exp $
 
 DISTNAME=              p5-perl-headers
 PKGNAME=               ${DISTNAME}-${OS_VERSION}
 SVR4_PKGNAME=          p5plh
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            devel perl5
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -15,7 +15,7 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 WRKSRC=                        ${WRKDIR}
-PERL5_PACKLIST=                ${PERL5_INSTALLSITEARCH}/.packlist.h2ph
+PERL5_PACKLIST=                .packlist.h2ph
 
 EXTRACT_ONLY=          # empty
 NO_CHECKSUM=           yes
@@ -35,19 +35,19 @@
        ( cd /usr/include; \
          ${BUILDLINK_PREFIX.perl}/bin/h2ph -d ${WRKSRC}/h2ph -r -l . ) \
                > ${WRKSRC}/h2ph_log
-       ( ${ECHO} "${PERL5_INSTALLSITEARCH}/_h2ph_pre.ph"; \
+       ( ${ECHO} "${PERL5_INSTALLVENDORARCH}/_h2ph_pre.ph"; \
          ${CAT} ${WRKSRC}/h2ph_log \
                | ${GREP} -- "->" \
-               | ${SED} -e "s,.*\./,${PERL5_INSTALLSITEARCH}/,g" ) \
+               | ${SED} -e "s,.*\./,${PERL5_INSTALLVENDORARCH}/,g" ) \
                | ${SORT} -u \
                > ${WRKSRC}/packlist
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PERL5_INSTALLSITEARCH}
-       cd ${WRKSRC}/h2ph/ && ${PAX} -rw . ${PERL5_INSTALLSITEARCH}
-       ${INSTALL_DATA} ${WRKSRC}/packlist ${PERL5_PACKLIST}
-       ${CAT} ${PERL5_PACKLIST} | ${XARGS} ${CHMOD} a-w
-       ${CAT} ${PERL5_PACKLIST} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
+       ${INSTALL_DATA_DIR} ${PERL5_INSTALLVENDORARCH}
+       cd ${WRKSRC}/h2ph/ && ${PAX} -rw . ${PERL5_INSTALLVENDORARCH}
+       ${INSTALL_DATA} ${WRKSRC}/packlist ${PERL5_INSTALLVENDORARCH}/${PERL5_PACKLIST}
+       ${CAT} ${PERL5_INSTALLVENDORARCH}/${PERL5_PACKLIST} | ${XARGS} ${CHMOD} a-w
+       ${CAT} ${PERL5_INSTALLVENDORARCH}/${PERL5_PACKLIST} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
 
 # empty do-nothing to override module.mk TEST_TARGET
 do-test:



Home | Main Index | Thread Index | Old Index