diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-15 05:32:04 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-15 05:32:04 +0000 |
commit | e50e8ac3cf7a808e1853c1df9a7eddd23a8809b8 (patch) | |
tree | 6a51cf5a7334c832f7718d6f72e36fb48783e92d /lang/perl5 | |
parent | f35fbb3d17b912418716250048b69626cc2d1537 (diff) | |
download | pkgsrc-e50e8ac3cf7a808e1853c1df9a7eddd23a8809b8.tar.gz |
Added a new variable PERL5_USE_PACKLIST that decides whether the Perl
packlist is used to generate the pkgsrc PLIST. This is the case for most
of the Perl modules, so the default value is "yes".
Currently, there is no change in functionality. After some further
testing, the default will be that a Perl module provides a packlist and
needs to say if it doesn't.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/packlist.mk | 11 |
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) |