diff options
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/bsdadminscripts/Makefile | 47 | ||||
-rw-r--r-- | sysutils/bsdadminscripts/distinfo | 4 | ||||
-rw-r--r-- | sysutils/bsdadminscripts/pkg-descr | 8 |
4 files changed, 60 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index cf7a92f516d0..cba3122a4f68 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -49,6 +49,7 @@ SUBDIR += blimitd SUBDIR += boxbackup SUBDIR += bpm + SUBDIR += bsdadminscripts SUBDIR += bsdsar SUBDIR += bubblemon-dockapp SUBDIR += bubblemon2 diff --git a/sysutils/bsdadminscripts/Makefile b/sysutils/bsdadminscripts/Makefile new file mode 100644 index 000000000000..3d478b9150e7 --- /dev/null +++ b/sysutils/bsdadminscripts/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: bsdadminscripts +# Date created: 15 May 2006 +# Whom: Dominic Fandrey <lon_kamikaze@gmx.de> +# +# $FreeBSD$ +# + +PORTNAME= bsdadminscripts +PORTVERSION= 1.0 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lon_kamikaze@gmx.de +COMMENT= A small collection of administration scripts + +NO_BUILD= yes + +RC_SCRIPTS= start stop restart status onestart onestop onerestart onestatus +PORT_SCRIPTS= config build clean fetch package + +.if !defined(WITHOUT_RCSTART) +PLIST_FILES+= ${RC_SCRIPTS:S,^,sbin/rc,} +.endif + +.if !defined(WITHOUT_PORTCONFIG) +RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade +PLIST_FILES+= ${PORT_SCRIPTS:S,^,sbin/port,} +.endif + +do-install: +.if !defined(WITHOUT_RCSTART) + @${ECHO_MSG} "===> Installing rcstart." + @${INSTALL} ${WRKSRC}/rcstart ${PREFIX}/sbin/ +.for _link in ${RC_SCRIPTS:Nstart} + @${LN} ${PREFIX}/sbin/rcstart ${PREFIX}/sbin/rc${_link} +.endfor +.endif +.if !defined(WITHOUT_PORTCONFIG) + @${ECHO_MSG} "===> Installing portconfig." + @${INSTALL} ${WRKSRC}/portconfig ${PREFIX}/sbin/ +.for _link in ${PORT_SCRIPTS:Nconfig} + @${LN} ${PREFIX}/sbin/portconfig ${PREFIX}/sbin/port${_link} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/sysutils/bsdadminscripts/distinfo b/sysutils/bsdadminscripts/distinfo new file mode 100644 index 000000000000..985d699594d3 --- /dev/null +++ b/sysutils/bsdadminscripts/distinfo @@ -0,0 +1,4 @@ +MD5 (bsdadminscripts-1.0.tar.gz) = 120954c5470373cf5bfdac029dbd9c64 +SHA256 (bsdadminscripts-1.0.tar.gz) = +c66d3003e17c2db8bd713c16999bb1b3676c9fcb76376fae989df345dea0aa08 +SIZE (bsdadminscripts-1.0.tar.gz) = 4248 diff --git a/sysutils/bsdadminscripts/pkg-descr b/sysutils/bsdadminscripts/pkg-descr new file mode 100644 index 000000000000..ff63b5e2ada7 --- /dev/null +++ b/sysutils/bsdadminscripts/pkg-descr @@ -0,0 +1,8 @@ +This is a collection of administration scripts. At the moment it +consists of a script to control rc.d scripts at runtime and a +script that adds functionality to portupgrade. + +WWW: http://sourceforge.net/projects/bsdadminscripts/ + +- Kamikaze +lon_kamikaze@gmx.de |