diff options
Diffstat (limited to 'pkgtools/distfetch/Makefile')
-rw-r--r-- | pkgtools/distfetch/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgtools/distfetch/Makefile b/pkgtools/distfetch/Makefile new file mode 100644 index 00000000000..432977f8d96 --- /dev/null +++ b/pkgtools/distfetch/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/09/30 08:37:13 martti Exp $ + +DISTNAME= distfetch-20020930 +CATEGORIES= pkgtools +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= martti@netbsd.org +HOMEPAGE= http://www.pkgsrc.org/ +COMMENT= Script to fetch only required distribution files + +EXTRACT_ONLY= # defined +WRKSRC= ${WRKDIR} +NO_CHECKSUM= # defined +NO_PATCH= # defined +NO_CONFIGURE= # defined + +.include "../../mk/bsd.prefs.mk" + +do-build: +.for i in distfetch distfetch.1 distfetch.conf + ${SED} "s+__PREFIX__+${PREFIX}+g" < ${FILESDIR}/${i} > ${WRKSRC}/${i} +.endfor + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/distfetch ${PREFIX}/bin/distfetch + ${INSTALL_MAN} ${WRKSRC}/distfetch.1 ${PREFIX}/man/man1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/distfetch + ${INSTALL_DATA} ${WRKSRC}/distfetch.conf \ + ${PREFIX}/share/examples/distfetch/distfetch.conf + +.include "../../mk/bsd.pkg.mk" + |