summaryrefslogtreecommitdiff
path: root/misc/p5-Array-PrintCols
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 /misc/p5-Array-PrintCols
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 'misc/p5-Array-PrintCols')
-rw-r--r--misc/p5-Array-PrintCols/Makefile15
-rw-r--r--misc/p5-Array-PrintCols/files/Makefile.PL11
-rw-r--r--misc/p5-Array-PrintCols/files/patch-sum7
-rw-r--r--misc/p5-Array-PrintCols/patches/patch-aa24
-rw-r--r--misc/p5-Array-PrintCols/pkg/PLIST6
5 files changed, 28 insertions, 35 deletions
diff --git a/misc/p5-Array-PrintCols/Makefile b/misc/p5-Array-PrintCols/Makefile
index f25294a25fb..b135b3909dd 100644
--- a/misc/p5-Array-PrintCols/Makefile
+++ b/misc/p5-Array-PrintCols/Makefile
@@ -1,18 +1,25 @@
-# $NetBSD: Makefile,v 1.7 1999/04/15 20:39:45 tron Exp $
+# $NetBSD: Makefile,v 1.8 2000/08/27 07:11:14 jlam Exp $
# FreeBSD Id: Makefile,v 1.9 1997/09/14 02:54:03 jfitz Exp
#
DISTNAME= Array-PrintCols-1.2
-PKGNAME= p5-Array-PrintCols-1.2
+PKGNAME= p5-${DISTNAME}
CATEGORIES= misc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Array/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Array-PrintCols/PrintCols.html
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Array/PrintCols/.packlist
-NO_BUILD= YES
WRKSRC= ${WRKDIR}/Array-PrintCols
+pre-configure:
+ ${RM} -f ${WRKSRC}/Makefile
+ ${CP} ${FILESDIR}/Makefile.PL ${WRKSRC}/Makefile.PL
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/p5-Array-PrintCols/files/Makefile.PL b/misc/p5-Array-PrintCols/files/Makefile.PL
new file mode 100644
index 00000000000..1802f1ab111
--- /dev/null
+++ b/misc/p5-Array-PrintCols/files/Makefile.PL
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile.PL,v 1.1 2000/08/27 07:11:15 jlam Exp $
+use ExtUtils::MakeMaker;
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
+WriteMakefile(
+ 'NAME' => 'Array::PrintCols',
+ 'DISTNAME' => 'Array-PrintCols',
+ 'VERSION' => '1.2',
+ 'linkext' => { LINKTYPE=>'' }, # no link needed
+ 'dist' => {'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz'}
+);
diff --git a/misc/p5-Array-PrintCols/files/patch-sum b/misc/p5-Array-PrintCols/files/patch-sum
index 2cbd96fc8fe..309d7bc9553 100644
--- a/misc/p5-Array-PrintCols/files/patch-sum
+++ b/misc/p5-Array-PrintCols/files/patch-sum
@@ -1,3 +1,6 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:09:18 agc Exp $
+$NetBSD: patch-sum,v 1.2 2000/08/27 07:11:15 jlam Exp $
-MD5 (patch-aa) = e10a40916744fbf256a378f23fe66755
+This placeholder file is generated by the ``makepatchsum'' target
+whenever the patches directory is empty or missing. Its purpose
+is to ensure that the presence of any obsolete patches will cause
+the proper error to be emitted at build time.
diff --git a/misc/p5-Array-PrintCols/patches/patch-aa b/misc/p5-Array-PrintCols/patches/patch-aa
deleted file mode 100644
index 4967c470698..00000000000
--- a/misc/p5-Array-PrintCols/patches/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.3 1998/08/07 11:10:28 agc Exp $
-
---- Makefile.orig Tue Dec 19 00:47:43 1995
-+++ Makefile Fri Oct 24 21:22:05 1997
-@@ -57,7 +57,7 @@
- VERSION = 0
-
- # Where Perl 5 lives
-- PERL = /usr/local/bin/perl5
-+ PERL = ${PREFIX}/bin/perl5
-
- DEFAULT = install-local
-
-@@ -65,8 +65,8 @@
- NETLIB = $(NETROOT)/lib
- NETMAN = $(NETROOT)/man/man$(MANSEC)
-
-- LOCALROOT = /usr/local/perl5
-- LOCALLIB = $(LOCALROOT)/lib
-+ LOCALROOT = ${PREFIX}/lib/perl5
-+ LOCALLIB = $(LOCALROOT)/site_perl
- LOCALMAN = $(LOCALROOT)/man/man$(MANSEC)
-
- HOMEROOT = $(HOME)
diff --git a/misc/p5-Array-PrintCols/pkg/PLIST b/misc/p5-Array-PrintCols/pkg/PLIST
index d9c9dd9b068..25b49cf6155 100644
--- a/misc/p5-Array-PrintCols/pkg/PLIST
+++ b/misc/p5-Array-PrintCols/pkg/PLIST
@@ -1,5 +1 @@
-@comment $NetBSD: PLIST,v 1.3 1998/07/28 11:48:10 frueauf Exp $
-lib/perl5/site_perl/Array/PrintCols-1.2.pm
-lib/perl5/site_perl/Array/PrintCols.pm
-lib/perl5/man/man3/Array::PrintCols.3p
-@dirrm lib/perl5/site_perl/Array
+@comment $NetBSD: PLIST,v 1.4 2000/08/27 07:11:15 jlam Exp $