blob: 2df71b2b653dec0f18ff34dad84bdc3f321f60e1 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.3 2002/01/07 12:39:24 seb Exp $
DISTNAME= pkgcvsupdate-0.3
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= seb@netbsd.org
HOMEPAGE= ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt
COMMENT= Tool to ease updating package source files from CVS
EXTRACT_ONLY= # empty
WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
NO_PATCH= yes
NO_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILD_DEPENDS+= groff-[0-9]*:../../textproc/groff
NROFF= gnroff
DIFF?= gdiff
.else
NROFF= nroff
DIFF?= diff
.endif
do-build:
${SED} \
-e 's|@AWK@|${AWK}|g' \
-e 's|@BASENAME@|${BASENAME}|g' \
-e 's|@DIRNAME@|${DIRNAME}|g' \
-e 's|@GREP@|${GREP}|g' \
-e 's|@LS@|${LS}|g' \
-e 's|@MAKE@|${MAKE}|g' \
-e 's|@SED@|${SED}|g' \
-e 's|@TEST@|${TEST}|g' \
< ${FILESDIR}/pkgcvsupdate.sh \
> ${WRKSRC}/pkgcvsupdate
${NROFF} -mandoc ${FILESDIR}/pkgcvsupdate.1 >${WRKSRC}/pkgcvsupdate.0
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pkgcvsupdate ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pkgcvsupdate.0 ${DESTDIR}${PREFIX}/man/cat1
${INSTALL_MAN} ${FILESDIR}/pkgcvsupdate.1 ${DESTDIR}${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"
|