summaryrefslogtreecommitdiff
path: root/sysutils/sysrc/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-08-26 02:54:49 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-08-26 02:54:49 +0000
commit6232debd314c1d324093a0c7d6167e35dfe535c8 (patch)
tree634c945ddc0187195e59ca00e46dea192f13bcd6 /sysutils/sysrc/Makefile
parent- Upgrade to 0.08. (diff)
- Update to 5.0
- Add LICENSE Changelog: * Modularize PR: ports/171050 Submitted by: dteske (maintainer) Approved by: eadler (mentor)
Diffstat (limited to 'sysutils/sysrc/Makefile')
-rw-r--r--sysutils/sysrc/Makefile21
1 files changed, 18 insertions, 3 deletions
diff --git a/sysutils/sysrc/Makefile b/sysutils/sysrc/Makefile
index 4031999b30a9..9adfc28b3142 100644
--- a/sysutils/sysrc/Makefile
+++ b/sysutils/sysrc/Makefile
@@ -1,25 +1,40 @@
# New ports collection makefile for: sysrc
# Date created: 28 December 2011
-# Whom: Devin Teske <dteske@vicor.com>
+# Whom: Devin Teske <dteske@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sysrc
-PORTVERSION= 4.1
+PORTVERSION= 5.0
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
-PLIST_FILES= sbin/${PORTNAME}
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}
+
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>