summaryrefslogtreecommitdiff
path: root/net/pfnet
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-27 07:10:59 +0000
committerjlam <jlam>2000-08-27 07:10:59 +0000
commit6b651933b95c6a21e0e7629f5183e1492bb71903 (patch)
treefd4f0178e134e50e9dc8acc6e016d62c645457cf /net/pfnet
parentc861cb3db8ffcd7b9fa94be5348a80b681bcff64 (diff)
downloadpkgsrc-6b651933b95c6a21e0e7629f5183e1492bb71903.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 'net/pfnet')
-rw-r--r--net/pfnet/Makefile10
-rw-r--r--net/pfnet/pkg/PLIST6
2 files changed, 8 insertions, 8 deletions
diff --git a/net/pfnet/Makefile b/net/pfnet/Makefile
index 8e7ba2af98a..54d41d346b3 100644
--- a/net/pfnet/Makefile
+++ b/net/pfnet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/11/22 22:30:07 tv Exp $
+# $NetBSD: Makefile,v 1.2 2000/08/27 07:11:19 jlam Exp $
#
DISTNAME= fnet.pl-1.4
@@ -9,7 +9,7 @@ MASTER_SITES= ftp://ftp.abattoir.com/pub/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.abattoir.com/~banshee/Tech/
-USE_PERL5= yes
+USE_PERL5= # defined
WRKSRC= ${WRKDIR}/fnet-1.4
@@ -17,8 +17,8 @@ do-build:
${SED} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/fnet.pl >${WRKSRC}/pfnet
do-install:
- ${INSTALL_DATA} ${WRKSRC}/CMDLINE.pm ${WRKSRC}/FNET.pm \
- ${PREFIX}/lib/perl5/site_perl/
- ${INSTALL_SCRIPT} ${WRKSRC}/pfnet ${PREFIX}/bin/
+ ${INSTALL_DATA_DIR} ${PERL5_SITELIB}
+ ${INSTALL_DATA} ${WRKSRC}/CMDLINE.pm ${WRKSRC}/FNET.pm ${PERL5_SITELIB}
+ ${INSTALL_SCRIPT} ${WRKSRC}/pfnet ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff --git a/net/pfnet/pkg/PLIST b/net/pfnet/pkg/PLIST
index b8cf9a22cbc..7eadabbae47 100644
--- a/net/pfnet/pkg/PLIST
+++ b/net/pfnet/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 1998/11/22 22:30:08 tv Exp $
+@comment $NetBSD: PLIST,v 1.2 2000/08/27 07:11:19 jlam Exp $
bin/pfnet
-lib/perl5/site_perl/CMDLINE.pm
-lib/perl5/site_perl/FNET.pm
+${PERL5_SITELIB}/CMDLINE.pm
+${PERL5_SITELIB}/FNET.pm