blob: a05d37255a0e7ee8ee39c532024d20b7d327f290 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# $NetBSD: Makefile,v 1.13 2007/01/07 09:14:08 rillig Exp $
DISTNAME= autoswc-1.5
CATEGORIES= pkgtools sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= jmmv@NetBSD.org
COMMENT= Generates system wide cache files for GNU autoconf
DEPENDS+= autoconf>=2.59:../../devel/autoconf
DEPENDS+= automake>=1.8.2:../../devel/automake
DEPENDS+= libtool-base>=1.5.2:../../devel/libtool-base
NO_CHECKSUM= YES
NO_CONFIGURE= YES
NO_MTREE= YES
WRKSRC= ${WRKDIR}
PKG_SYSCONFSUBDIR= autoswc
CACHEDIR= /var/db/autoswc
MKCONF= /etc/mk.conf
OWN_DIRS= ${CACHEDIR}
EVAL_PREFIX+= PREFIX.autoconf=autoconf
PREFIX.autoconf_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= PREFIX.automake=automake
PREFIX.automake_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= PREFIX.libtool=libtool
PREFIX.libtool_DEFAULT= ${LOCALBASE}
SUBST_CLASSES+= build
SUBST_MESSAGE.build= Building autoswc.
SUBST_STAGE.build= do-build
SUBST_FILES.build= autoswc
SUBST_FILES.build+= autoswc.8
SUBST_FILES.build+= autoswc.mk
SUBST_FILES.build+= config.site
SUBST_SED.build= -e 's|@ACLOCAL@|${PREFIX.automake}/bin/aclocal|g'
SUBST_SED.build+= -e 's|@AUTOCONF@|${PREFIX.autoconf}/bin/autoconf|g'
SUBST_SED.build+= -e 's|@AUTOMAKE@|${PREFIX.automake}/bin/automake|g'
SUBST_SED.build+= -e 's|@CACHEDIR@|${CACHEDIR}|g'
SUBST_SED.build+= -e 's|@LIBTOOLIZE@|${PREFIX.libtool}/bin/libtoolize|g'
SUBST_SED.build+= -e 's|@MACHINE_GNU_PLATFORM@|${MACHINE_GNU_PLATFORM}|g'
SUBST_SED.build+= -e 's|@MAKE@|${MAKE}|g'
SUBST_SED.build+= -e 's|@MKCONF@|${MKCONF}|g'
SUBST_SED.build+= -e 's|@PREFIX@|${PREFIX}|g'
SUBST_SED.build+= -e 's|@SH@|${SH}|g'
SUBST_SED.build+= -e 's|@SYSCONFDIR@|${PKG_SYSCONFDIR}|g'
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
do-extract:
${CP} ${FILESDIR}/autoswc.8 ${WRKSRC}
${CP} ${FILESDIR}/autoswc.mk ${WRKSRC}
${CP} ${FILESDIR}/autoswc.sh ${WRKSRC}/autoswc
${CP} ${FILESDIR}/config.site ${WRKSRC}
do-build:
@${DO_NADA}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/autoswc ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/autoswc.8 ${PREFIX}/${PKGMANDIR}/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/autoswc
${INSTALL_DATA} ${WRKSRC}/autoswc.mk ${PREFIX}/share/autoswc
${INSTALL_DATA} ${WRKSRC}/config.site ${PREFIX}/share/autoswc
${INSTALL_DATA} ${FILESDIR}/configure.ac ${PREFIX}/share/autoswc
.include "../../mk/bsd.pkg.mk"
|