1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/sysutils/rcadm/Makefile
Adam Weinberger ca3afb71b0 Add sysutils/rcadm.
Utility to administer the rc.conf system configuration file.

rcadm features:
* listing current settings
* enabling/disabling services
* setting and getting arbitrary variables

WWW: https://github.com/skoef/rcadm

PR:		179017
Submitted by:	Reinier@flash.skoef.net
2014-08-21 18:51:34 +00:00

26 lines
467 B
Makefile

# $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>