summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-07-26 20:02:23 +0000
committerjlam <jlam@pkgsrc.org>2005-07-26 20:02:23 +0000
commit7aa57dd443f1539198f8974127fb8272f441b877 (patch)
treeb35c3ac60743c8076c293c69bee38e390c4e3abd
parent4e9386339e3268946d2b6fc70d9e144461d1dcb7 (diff)
downloadpkgsrc-7aa57dd443f1539198f8974127fb8272f441b877.tar.gz
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.
-rw-r--r--audio/disc-cover/Makefile7
-rw-r--r--mail/demime/Makefile6
2 files changed, 5 insertions, 8 deletions
diff --git a/audio/disc-cover/Makefile b/audio/disc-cover/Makefile
index 94af37d9447..6100bfe8c1e 100644
--- a/audio/disc-cover/Makefile
+++ b/audio/disc-cover/Makefile
@@ -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 @@ COMMENT= Generation of CD covers
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 @@ DCTMPL= ${PREFIX}/share/disc-cover/templates
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 --git a/mail/demime/Makefile b/mail/demime/Makefile
index dcf53037a5d..042f82bc4f1 100644
--- a/mail/demime/Makefile
+++ b/mail/demime/Makefile
@@ -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 @@ DEPENDS+= p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree
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