blob: 0a850fc586d6e7210b7e9d4aa6292f9950c55af5 (
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
|
# $NetBSD: Makefile,v 1.35 2005/04/11 21:47:04 tv Exp $
DISTNAME= createbuildlink-3.8
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
DISTFILES= # Nothing
MAINTAINER= rh@NetBSD.org
COMMENT= Shell script to help creating buildlink3.mk files
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
USE_LANGUAGES= # empty
NO_CHECKSUM= yes
NO_BUILD= yes
EXTRACT_CMD= ${ECHO}
SCRIPT= ${DISTNAME:C/-.*$//}
SCRIPTS= ${SCRIPT} substplistbasedirs
INSTALLATION_DIRS= bin man/man8
do-configure:
.for scr in ${SCRIPTS}
${SED} -e 's|@PKGVERSION@|${PKGVERSION}|' \
-e 's|@MAKE@|${MAKE}|' \
< ${FILESDIR}/${scr} > ${WRKSRC}/${scr}
.endfor
do-install:
.for scr in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/${scr} ${PREFIX}/bin/${scr}
.endfor
${INSTALL_MAN} ${FILESDIR}/${SCRIPT}.8 ${PREFIX}/man/man8
.include "../../mk/bsd.pkg.mk"
|