From 44744eee7bbeb38acbba65a7d90aaac220198132 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 10 Apr 2006 05:31:01 +0000 Subject: Generate and install ".3" manpages instead of ".3pm". This fixes PR pkg/32673. --- x11/p5-gtk/Makefile.subpackage | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'x11') 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} \ -- cgit v1.2.3