aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-23 23:44:20 +0800
committerbapt <bapt@FreeBSD.org>2013-09-23 23:44:20 +0800
commit2ca393b500cfd8209ef6261e269a5b955846a3eb (patch)
tree126cc932cc11bbedfb7c24932bb5fbcb6bf2f6a3 /Mk
parentc34233ec65b4c8fd7b37bce5e675e5bc6c4d098d (diff)
downloadfreebsd-ports-gnome-2ca393b500cfd8209ef6261e269a5b955846a3eb.tar.gz
freebsd-ports-gnome-2ca393b500cfd8209ef6261e269a5b955846a3eb.tar.zst
freebsd-ports-gnome-2ca393b500cfd8209ef6261e269a5b955846a3eb.zip
Simplify notation of perl man page path in pkg-plist when staged
Submitted by: az
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/perl5.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 4daa29ebb015..8f69c14ac215 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -152,9 +152,11 @@ _INCLUDE_USES_PERL5_POST_MK= yes
PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \
PERL_VER=${PERL_VER} \
PERL_ARCH=${PERL_ARCH} \
- SITE_PERL=${SITE_PERL_REL} \
- PERL_MANDIR=lib/perl5/${PERL_VER}/man
+ SITE_PERL=${SITE_PERL_REL}
+.for sect in 1 2 3 4 5 6 7 8 9
+PLIST_SUB+= PERL5_MAN${sect}=lib/perl5/${PERL_VER}/man/man${sect}/
+.endfor
# handle perl5 specific manpages
.for sect in 1 2 3 4 5 6 7 8 9