pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Use the "pod2man" tool to build man pages. This fixes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8172a5d7399
branches:  trunk
changeset: 497393:b8172a5d7399
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jul 26 20:02:23 2005 +0000

description:
Use the "pod2man" tool to build man pages.  This fixes brokenness
introduced after the perl5/buildlink3.mk file was no longer included
by the package Makefile, but we still referenced BUILDLINK_PREFIX.perl
to locate the pod2man script.  Noted by Matthias Drochner.

diffstat:

 audio/disc-cover/Makefile |  7 +++----
 mail/demime/Makefile      |  6 ++----
 2 files changed, 5 insertions(+), 8 deletions(-)

diffs (50 lines):

diff -r c8b8af45d90c -r b8172a5d7399 audio/disc-cover/Makefile
--- a/audio/disc-cover/Makefile Tue Jul 26 20:00:50 2005 +0000
+++ b/audio/disc-cover/Makefile Tue Jul 26 20:02:23 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/07/16 19:10:37 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2005/07/26 20:02:23 jlam Exp $
 #
 
 DISTNAME=      disc-cover-1.5.4
@@ -11,7 +11,7 @@
 
 DEPENDS+=      p5-Audio-CD>=0.05:../../audio/p5-Audio-CD
 
-USE_TOOLS+=            perl:run
+USE_TOOLS+=            perl:run pod2man
 REPLACE_PERL=          disc-cover
 
 DCTMPL=        ${PREFIX}/share/disc-cover/templates
@@ -19,8 +19,7 @@
 INSTALLATION_DIRS=     bin man/man1
 
 do-build:
-       cd ${WRKSRC} && ${BUILDLINK_PREFIX.perl}/bin/pod2man \
-               disc-cover > disc-cover.1
+       cd ${WRKSRC} && ${POD2MAN} disc-cover > disc-cover.1
        ${SED} "s|@DCTMPL@|${DCTMPL}|g" <${WRKSRC}/disc-cover \
                >${WRKDIR}/disc-cover
 
diff -r c8b8af45d90c -r b8172a5d7399 mail/demime/Makefile
--- a/mail/demime/Makefile      Tue Jul 26 20:00:50 2005 +0000
+++ b/mail/demime/Makefile      Tue Jul 26 20:02:23 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2005/07/16 19:10:39 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2005/07/26 20:02:23 jlam Exp $
 #
 
 DISTNAME=      demime-1.1d
@@ -20,11 +20,9 @@
 
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 NO_BUILD=      YES
-USE_TOOLS+=    perl:run
+USE_TOOLS+=    perl:run pod2man
 USE_PKGINSTALL=        YES
 
-POD2MAN?=      ${BUILDLINK_PREFIX.perl}/bin/pod2man
-
 EGDIR=         ${PREFIX}/share/examples
 CONF_FILES=    ${EGDIR}/demime_junkmail.cf ${PKG_SYSCONFDIR}/demime_junkmail.cf
 



Home | Main Index | Thread Index | Old Index