summaryrefslogtreecommitdiff
path: root/sysutils/sysrc/Makefile
blob: 06953567f8c278562fd66076f477fda94738a4f6 (plain) (blame)
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
# Created by: Devin Teske <dteske@FreeBSD.org>
# $FreeBSD$

PORTNAME=	sysrc
PORTVERSION=	5.2
CATEGORIES=	sysutils
MASTER_SITES=	http://druidbsd.sourceforge.net/download/

MAINTAINER=	dteske@FreeBSD.org
COMMENT=	Utility to get or set rc.conf(5) values

LICENSE=	BSD

NO_BUILD=	yes

MAN8=		${PORTNAME}.8

PLIST_FILES=	sbin/${PORTNAME}                   \
		share/${PORTNAME}/common.subr      \
		share/${PORTNAME}/${PORTNAME}.subr \
		libexec/${PORTNAME}/include/messages.subr

PLIST_DIRS=	share/${PORTNAME}           \
		libexec/${PORTNAME}/include \
		libexec/${PORTNAME}

NO_STAGE=	yes
do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/
	${MKDIR} ${PREFIX}/share/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/common.subr ${PREFIX}/share/${PORTNAME}/
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.subr ${PREFIX}/share/${PORTNAME}/
	${MKDIR} ${PREFIX}/libexec/${PORTNAME}/include
	${INSTALL_DATA} ${WRKSRC}/messages.subr ${PREFIX}/libexec/${PORTNAME}/include/
	${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8/

.include <bsd.port.mk>