summaryrefslogtreecommitdiff
path: root/pkgtools/url2pkg/Makefile
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2003-07-25 09:24:59 +0000
committercjep <cjep@pkgsrc.org>2003-07-25 09:24:59 +0000
commite1bd9b7063cd9f3ea604851ac18e705de3a5750f (patch)
treef5e5aa6637c36ddef58944296e6a5f64f034a6ec /pkgtools/url2pkg/Makefile
parentcae28fac07141e549a414a23874c1056d67210c2 (diff)
downloadpkgsrc-e1bd9b7063cd9f3ea604851ac18e705de3a5750f.tar.gz
Respect ${MAKE} so that this works out of the box on non-NetBSD.
Diffstat (limited to 'pkgtools/url2pkg/Makefile')
-rw-r--r--pkgtools/url2pkg/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile
index 2f4861478ab..8d1b9b7f2a2 100644
--- a/pkgtools/url2pkg/Makefile
+++ b/pkgtools/url2pkg/Makefile
@@ -1,22 +1,26 @@
-# $NetBSD: Makefile,v 1.27 2003/07/17 22:52:19 grant Exp $
+# $NetBSD: Makefile,v 1.28 2003/07/25 09:24:59 cjep Exp $
#
-DISTNAME= url2pkg-1.23
+DISTNAME= url2pkg-1.24
WRKSRC= ${WRKDIR}
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
DISTFILES= # Nothing
MAINTAINER= hubertf@NetBSD.org
+HOMEPAGE= # Nothing
COMMENT= Tool to automate initial steps in building a package
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
-NO_BUILD= yes
EXTRACT_CMD= ${ECHO}
+do-build:
+ ${SED} -e 's|@MAKE@|${MAKE}|g' \
+ < ${FILESDIR}/url2pkg > ${WRKSRC}/url2pkg
+
do-install:
- ${INSTALL_SCRIPT} ${FILESDIR}/${DISTNAME:C/-.*$//} ${PREFIX}/bin/${DISTNAME:C/-.*$//}
- ${INSTALL_MAN} ${FILESDIR}/${DISTNAME:C/-.*$//}.8 ${PREFIX}/man/man8
+ ${INSTALL_SCRIPT} ${WRKSRC}/url2pkg ${PREFIX}/bin/url2pkg
+ ${INSTALL_MAN} ${FILESDIR}/url2pkg.8 ${PREFIX}/man/man8
.include "../../mk/bsd.pkg.mk"