summaryrefslogtreecommitdiff
path: root/devel/p5-PV
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-PV
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-PV')
-rw-r--r--devel/p5-PV/Makefile23
-rw-r--r--devel/p5-PV/pkg/PLIST7
2 files changed, 20 insertions, 10 deletions
diff --git a/devel/p5-PV/Makefile b/devel/p5-PV/Makefile
index 082c2e1bd42..bb12ce03384 100644
--- a/devel/p5-PV/Makefile
+++ b/devel/p5-PV/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/04/16 14:37:12 hubertf Exp $
+# $NetBSD: Makefile,v 1.7 2000/08/27 07:11:07 jlam Exp $
# FreeBSD Id: Makefile,v 1.4 1997/06/24 18:43:28 jfitz Exp
#
@@ -12,13 +12,22 @@ MAINTAINER= packages@netbsd.org
DEPENDS+= p5-Curses-1.02:../../devel/p5-Curses
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/PV/.packlist
-NO_WRKSUBDIR= YES
-NO_BUILD= YES
+NO_WRKSUBDIR= # defined
+DOCDIR= ${PREFIX}/share/doc/PerlVision
-do-install:
- ${INSTALL_DATA} ${WRKDIR}/PV.pm ${PREFIX}/lib/perl5/site_perl
- ${INSTALL_DATA} ${WRKDIR}/PerlVision.doc ${PREFIX}/lib/perl5/site_perl
+pre-configure:
+ ${RM} -f ${WRKSRC}/Makefile
+ ${CP} ${FILESDIR}/Makefile.PL ${WRKSRC}/Makefile.PL
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKDIR}/PerlVision.doc ${DOCDIR}
+ ${INSTALL_DATA} ${WRKDIR}/README ${DOCDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-PV/pkg/PLIST b/devel/p5-PV/pkg/PLIST
index ff1dfa97a20..a7d6ee98ad1 100644
--- a/devel/p5-PV/pkg/PLIST
+++ b/devel/p5-PV/pkg/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 1998/07/13 16:55:59 tv Exp $
-lib/perl5/site_perl/PV.pm
-lib/perl5/site_perl/PerlVision.doc
+@comment $NetBSD: PLIST,v 1.3 2000/08/27 07:11:08 jlam Exp $
+share/doc/PerlVision/PerlVision.doc
+share/doc/PerlVision/README
+@dirrm share/doc/PerlVision