blob: 432977f8d96badb56e74a08f7966d0580cfe0e1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"
|