diff options
author | seb <seb@pkgsrc.org> | 2002-10-27 20:48:55 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-10-27 20:48:55 +0000 |
commit | e8328761a2e64473c52c452c575f52f3563840c8 (patch) | |
tree | d8d74ae58ff3705904cabfccc131ba47c29d2c9e /net/p5-ispman/Makefile | |
parent | 5f3da56d48acd27db7d1402970563ea86b3c88ab (diff) | |
download | pkgsrc-e8328761a2e64473c52c452c575f52f3563840c8.tar.gz |
Use buildlink2. Use perl5/module.mk.
Diffstat (limited to 'net/p5-ispman/Makefile')
-rw-r--r-- | net/p5-ispman/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/net/p5-ispman/Makefile b/net/p5-ispman/Makefile index 2e7ec5a2e33..d079c930f4d 100644 --- a/net/p5-ispman/Makefile +++ b/net/p5-ispman/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/11/26 06:50:13 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2002/10/27 20:48:59 seb Exp $ # DISTNAME= ispman-0.5 @@ -19,33 +19,33 @@ DEPENDS+= p5-IMAP-Admin>=1.2.5:../../mail/p5-IMAP-Admin DEPENDS+= p5-Convert-ASN1>=0.07:../../textproc/p5-Convert-ASN1 DEPENDS+= p5-IO-stringy>=1.213:../../devel/p5-IO-stringy -USE_BUILDLINK_ONLY= YES +USE_BUILDLINK2= YES PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/ISPMan/.packlist PLIST_SRC= ${WRKDIR}/PLIST +PERL5_CONFIGURE_DIRS= ${WRKSRC} ${WRKSRC}/../IO-stringy-1.212_patched +BUILD_DIRS= ${PERL5_CONFIGURE_DIRS} +INSTALL_DIRS= ${WRKSRC} MAKE_PARAMS+= --noprompt -do-configure: +pre-configure: ${CP} ${PKGDIR}/PLIST ${PLIST_SRC} cd ${WRKSRC} && \ for i in `${FIND} * -type f -print` ; do \ ${CP} $$i $$i.old && \ ${SED} < $$i.old > $$i -e 's:/etc:${PREFIX}/etc:g' && \ ${RM} $$i.old ; \ - done && \ - ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS} - cd ${WRKSRC}/../IO-stringy-1.212_patched && \ - ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS} + done post-build: - cd ${WRKSRC}/../IO-stringy-1.212_patched && \ - ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET} && \ ${ECHO} >> ${PLIST_SRC} \ - "`${GREP} ^INSTALLSITELIB Makefile | ${CUT} -d/ -f2-`/IO/ScalarPatched.pm" + "`${GREP} ^INSTALLSITELIB \ + ${WRKSRC}/../IO-stringy-1.212_patched/Makefile \ + | ${CUT} -d/ -f2-`/IO/ScalarPatched.pm" post-install: ${INSTALL_DATA} ${WRKSRC}/../IO-stringy-1.212_patched/lib/IO/Scalar.pm \ ${PREFIX}/`${TAIL} -n 1 ${PLIST_SRC}` -.include "../../lang/perl5/buildlink.mk" +.include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" |