summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam>2006-04-10 05:31:01 +0000
committerjlam <jlam>2006-04-10 05:31:01 +0000
commit1f852a3f7e79963443ea4b3f35dd4a43159874e5 (patch)
tree2689edf3d7fe5773a01d1ff576e34390f23b1885 /x11
parenta3f4d1fc3ad606ff4c32d4c89940018c5afb5667 (diff)
downloadpkgsrc-1f852a3f7e79963443ea4b3f35dd4a43159874e5.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} \