summaryrefslogtreecommitdiff
path: root/devel/p5-Curses
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-08-27 07:10:59 +0000
committerjlam <jlam@pkgsrc.org>2000-08-27 07:10:59 +0000
commit18cba9d7fa4ef20bc11b28b998233dddeb7ae32d (patch)
treefd4f0178e134e50e9dc8acc6e016d62c645457cf /devel/p5-Curses
parent81bbfb25563e0e7d2f441eff32793eb50b7549e4 (diff)
downloadpkgsrc-18cba9d7fa4ef20bc11b28b998233dddeb7ae32d.tar.gz
Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
Diffstat (limited to 'devel/p5-Curses')
-rw-r--r--devel/p5-Curses/Makefile9
-rw-r--r--devel/p5-Curses/pkg/PLIST8
2 files changed, 6 insertions, 11 deletions
diff --git a/devel/p5-Curses/Makefile b/devel/p5-Curses/Makefile
index e06087f3bc2..5b48626ae15 100644
--- a/devel/p5-Curses/Makefile
+++ b/devel/p5-Curses/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2000/01/15 18:46:25 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2000/08/27 07:11:02 jlam Exp $
# FreeBSD Id: Makefile,v 1.8 1998/04/04 13:58:26 vanilla Exp
#
@@ -12,10 +12,11 @@ HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Curses/Curses.html
DEPENDS= ncurses>=4.2:../../devel/ncurses
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Curses/.packlist
do-configure:
- @${LN} -sf ${WRKSRC}/hints/c-netbsd.ncurses.h ${WRKSRC}/c-config.h
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+ @${LN} -sf ${WRKSRC}/hints/c-netbsd.ncurses.h ${WRKSRC}/c-config.h
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Curses/pkg/PLIST b/devel/p5-Curses/pkg/PLIST
index 26ac7072fe4..88fcab3091c 100644
--- a/devel/p5-Curses/pkg/PLIST
+++ b/devel/p5-Curses/pkg/PLIST
@@ -1,7 +1 @@
-@comment $NetBSD: PLIST,v 1.3 1999/04/08 18:51:49 agc Exp $
-lib/perl5/man/man3/Curses.3
-lib/perl5/site_perl/Curses.pm
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Curses/Curses.bs
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Curses/Curses.so
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Curses/.packlist
-@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Curses
+@comment $NetBSD: PLIST,v 1.4 2000/08/27 07:11:02 jlam Exp $