blob: 93ccc9de1561c265d7e56ae013c4adc4dd7dd834 (
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
|
# New ports collection makefile for: rc_subr
# Date created: July 4, 2003
# Whom: hetzels@westbend.net
#
# $FreeBSD$
#
PORTNAME= rc_subr
PORTVERSION= 1.31
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= eik
MAINTAINER= clement@FreeBSD.org
COMMENT= Common startup and shutdown subroutines used by scripts
USE_BZIP2= yes
NO_BUILD= yes
USE_REINPLACE= yes
MAN8= rc.subr.8
PLIST_FILES= etc/rc.subr \
${EXAMPLESDIR:S,^${PREFIX}/,,}/README \
${EXAMPLESDIR:S,^${PREFIX}/,,}/example.sh
PLIST_DIRS= ${EXAMPLESDIR:S,^${PREFIX}/,,}
post-patch:
@${REINPLACE_CMD} -E \
-e 's, (/etc(/rc.subr| )), ${PREFIX}\1,g' \
${WRKSRC}/rc.subr.8
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/rc.subr ${PREFIX}/etc
@${INSTALL_MAN} ${WRKSRC}/rc.subr.8 ${MAN8PREFIX}/man/man8
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/example.sh ${EXAMPLESDIR}
.include <bsd.port.mk>
|