diff options
Diffstat (limited to 'pkgtools/url2pkg')
-rw-r--r-- | pkgtools/url2pkg/Makefile | 14 | ||||
-rwxr-xr-x | pkgtools/url2pkg/files/url2pkg | 4 |
2 files changed, 11 insertions, 7 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" diff --git a/pkgtools/url2pkg/files/url2pkg b/pkgtools/url2pkg/files/url2pkg index ddba321431a..7d5ebb6172b 100755 --- a/pkgtools/url2pkg/files/url2pkg +++ b/pkgtools/url2pkg/files/url2pkg @@ -1,13 +1,13 @@ #!/bin/sh # -# $NetBSD: url2pkg,v 1.24 2003/04/23 09:18:30 rh Exp $ +# $NetBSD: url2pkg,v 1.25 2003/07/25 09:25:00 cjep Exp $ # # url2pkg # (c) 1999-2002 Hubert Feyrer <hubert@feyrer.de> # if [ "$MAKE" = "" ]; then - MAKE=make + MAKE=@MAKE@ fi if [ "$PKGEDITOR" != "" ]; then |