summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-28 05:20:38 +0000
committerjlam <jlam>2001-11-28 05:20:38 +0000
commitd513679ef0f791b51bd887b07034cdb76ecbd611 (patch)
tree20efaf19b226759946c0fc08696a36130f712b06 /converters
parent838fe7fec3270652f11fb4e670c99b4c856f9d75 (diff)
downloadpkgsrc-d513679ef0f791b51bd887b07034cdb76ecbd611.tar.gz
Buildlinkify.
Diffstat (limited to 'converters')
-rw-r--r--converters/rpm2cpio/Makefile8
-rw-r--r--converters/txt2html/Makefile10
2 files changed, 11 insertions, 7 deletions
diff --git a/converters/rpm2cpio/Makefile b/converters/rpm2cpio/Makefile
index 5aee3569d8f..b078f189305 100644
--- a/converters/rpm2cpio/Makefile
+++ b/converters/rpm2cpio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/10/24 00:38:51 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/11/28 05:20:43 jlam Exp $
# FreeBSD Id: ports/misc/rpm2cpio/Makefile,v 1.2 1999/08/25 07:22:29 obrien Exp
DISTNAME= rpm2cpio
@@ -11,15 +11,17 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.iagora.com/~espel/index.html
COMMENT= Convert .rpm files for extraction with cpio, needs just perl
+USE_BUILDLINK_ONLY= YES
+
DIST_SUBDIR= ${PKGNAME}
-USE_PERL5= # defined
REPLACE_PERL= rpm2cpio
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} .
WRKSRC= ${WRKDIR}
-NO_BUILD= # defined
+NO_BUILD= YES
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin/rpm2cpio.pl
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/txt2html/Makefile b/converters/txt2html/Makefile
index cdc3fa75bca..7e353895b88 100644
--- a/converters/txt2html/Makefile
+++ b/converters/txt2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/04/16 17:21:45 zuntum Exp $
+# $NetBSD: Makefile,v 1.6 2001/11/28 05:20:43 jlam Exp $
DISTNAME= txt2html-1.28
CATEGORIES= converters www
@@ -8,12 +8,13 @@ MAINTAINER= wennmach@netbsd.org
HOMEPAGE= http://www.aigeek.com/txt2html/
COMMENT= Text to HTML converter
-NO_BUILD= # defined
-USE_PERL5= # defined
+USE_BUILDLINK_ONLY= YES
+NO_BUILD= YES
+REPLACE_PERL= txt2html.pl
do-configure:
${SED} -e "s:@PREFIX@:${PREFIX}:g" \
- ${WRKSRC}/txt2html.pl > ${WRKSRC}/txt2html
+ ${WRKSRC}/txt2html.pl > ${WRKSRC}/txt2html
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/txt2html ${PREFIX}/bin
@@ -23,4 +24,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/sample.html ${PREFIX}/share/txt2html
${INSTALL_DATA} ${WRKSRC}/sample.txt ${PREFIX}/share/txt2html
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"