summaryrefslogtreecommitdiff
path: root/pkgtools/url2pkg/Makefile
diff options
context:
space:
mode:
authorcjep <cjep>2003-07-25 09:24:59 +0000
committercjep <cjep>2003-07-25 09:24:59 +0000
commitfa3676c8a6f13bb61adef955cc5529557596cdef (patch)
treef5e5aa6637c36ddef58944296e6a5f64f034a6ec /pkgtools/url2pkg/Makefile
parent7b7df5f5e66bfd16c861e5deb356bea95ba2c3db (diff)
downloadpkgsrc-fa3676c8a6f13bb61adef955cc5529557596cdef.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"