aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rcadm/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-21 18:51:34 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-21 18:51:34 +0000
commitca3afb71b0d0572ad6063b848a0076c3199c1f1d (patch)
tree600890f0d30a55707186bfe397b26479038d4f78 /sysutils/rcadm/Makefile
parent5d24089a652310afffb63ef07695eba24300f1ed (diff)
downloadports-ca3afb71b0d0572ad6063b848a0076c3199c1f1d.tar.gz
ports-ca3afb71b0d0572ad6063b848a0076c3199c1f1d.zip
Notes
Diffstat (limited to 'sysutils/rcadm/Makefile')
-rw-r--r--sysutils/rcadm/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sysutils/rcadm/Makefile b/sysutils/rcadm/Makefile
new file mode 100644
index 000000000000..1cc71c9120af
--- /dev/null
+++ b/sysutils/rcadm/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= rcadm
+PORTVERSION= 0.1
+CATEGORIES= sysutils
+
+MAINTAINER= reinier@skoef.nl
+COMMENT= Utility for adminstrating rc.conf
+
+USE_GITHUB= yes
+GH_ACCOUNT= skoef
+GH_COMMIT= 7a1bf44
+GH_TAGNAME= ${GH_COMMIT}
+
+PLIST_FILES= sbin/${PORTNAME}
+
+do-build:
+.for file in ${PORTNAME}
+ ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/${file}
+.endfor
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+
+.include <bsd.port.mk>