summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-04-10 05:31:01 +0000
committerjlam <jlam@pkgsrc.org>2006-04-10 05:31:01 +0000
commit44744eee7bbeb38acbba65a7d90aaac220198132 (patch)
tree2689edf3d7fe5773a01d1ff576e34390f23b1885 /x11
parent58140d4125ccd4f511169253515ce2b03aec34ac (diff)
downloadpkgsrc-44744eee7bbeb38acbba65a7d90aaac220198132.tar.gz
Generate and install ".3" manpages instead of ".3pm". This fixes
PR pkg/32673.
Diffstat (limited to 'x11')
-rw-r--r--x11/p5-gtk/Makefile.subpackage8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/p5-gtk/Makefile.subpackage b/x11/p5-gtk/Makefile.subpackage
index 1f6112bf54a..3f1eb01b87f 100644
--- a/x11/p5-gtk/Makefile.subpackage
+++ b/x11/p5-gtk/Makefile.subpackage
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.subpackage,v 1.9 2005/07/16 19:10:41 jlam Exp $
+# $NetBSD: Makefile.subpackage,v 1.10 2006/04/10 05:31:01 jlam Exp $
#
# makefile fragment for p5-gtk sub-packages. you need to
# set SUBPACKAGE before including this.
@@ -12,6 +12,12 @@ DEPENDS+= p5-gtk-[0-9]*:../../x11/p5-gtk
WRKSRC= ${WRKDIR}/${DISTNAME}/${SUBPACKAGE}
+# Change Makefile.PL to generate .3 manpages instead .3pm.
+SUBST_CLASSES+= 3pm
+SUBST_STAGE.3pm= pre-configure
+SUBST_FILES.3pm= Makefile.PL
+SUBST_SED.3pm= -e "s,\.3pm,\.3,g"
+
post-patch:
cd ${GTKDIR} && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
cd ${GTKDIR} && ${SETENV} ${MAKE_ENV} \