summaryrefslogtreecommitdiff
path: root/converters/rpm2cpio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/rpm2cpio/Makefile')
-rw-r--r--converters/rpm2cpio/Makefile8
1 files changed, 5 insertions, 3 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"