summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/packlist.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/perl5/packlist.mk b/lang/perl5/packlist.mk
index f4abeb272f2..6c6db6fc527 100644
--- a/lang/perl5/packlist.mk
+++ b/lang/perl5/packlist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: packlist.mk,v 1.10 2006/11/03 10:48:05 joerg Exp $
+# $NetBSD: packlist.mk,v 1.11 2007/01/15 05:32:04 rillig Exp $
#
# This Makefile fragment is intended to be included by packages that
# create packlist files. This file is automatically included by
@@ -7,6 +7,10 @@
#
# The following variables should be set prior to including this file:
#
+# PERL5_USE_PACKLIST
+# When set to "yes" (the default), automatically generates the
+# PLIST for the pkgsrc package from the Perl packlist.
+#
# PERL5_PACKLIST_DIR "install*arch" directory under which packlist
# files are installed; defaults to
# ${PERL5_INSTALLVENDORARCH}.
@@ -19,6 +23,11 @@ _PERL5_PACKLIST_MK= # defined
.include "../../mk/bsd.prefs.mk"
+.if !empty(PERL5_USE_PACKLIST:M[Yy][Ee][Ss])
+# XXX: still experimental, but many packages already work
+#PERL5_PACKLIST?= auto/${DISTNAME:C/-[0-9].*$//:C,-,/,g}/.packlist
+.endif
+
PERL5_PACKLIST_DESTDIR?= yes
.if defined(PERL5_PACKLIST)