blob: e84b5eefdc173150d23e3be2731fbfa781d3972d (
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
|
# $NetBSD: Makefile,v 1.12 2005/09/28 20:52:25 rillig Exp $
#
DISTNAME= rc.subr-20041011
PKGREVISION= 1
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/
COMMENT= Portable NetBSD rc.subr implementation for pkgsrc
ONLY_FOR_PLATFORM= Darwin-*-* Interix-*-* Linux-*-* SunOS-*-*
NO_BUILD= yes
NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_MTREE= yes
USE_PKGINSTALL= YES
PLIST_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR:S/^\///}
CONF_FILES+= ${PREFIX}etc/rc.conf.example ${PREFIX}etc/rc.conf
INSTALLATION_DIRS= etc
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
do-install:
${INSTALL_DATA_DIR} ${RCD_SCRIPTS_DIR}
${INSTALL_DATA} ${WRKSRC}/rc.conf.example ${PREFIX}etc/rc.conf.example
${INSTALL_DATA} ${WRKSRC}/rc.subr ${PREFIX}etc/rc.subr
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/DAEMON ${RCD_SCRIPTS_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/LOGIN ${RCD_SCRIPTS_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/NETWORKING ${RCD_SCRIPTS_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/SERVERS ${RCD_SCRIPTS_DIR}
.include "../../mk/bsd.pkg.mk"
# if you change this, be sure to include a trailing /
PREFIX:= /
|