aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/bsdadminscripts/Makefile25
-rw-r--r--sysutils/bsdadminscripts/distinfo6
2 files changed, 27 insertions, 4 deletions
diff --git a/sysutils/bsdadminscripts/Makefile b/sysutils/bsdadminscripts/Makefile
index b9b51c6f7b4e..453a7da47cb9 100644
--- a/sysutils/bsdadminscripts/Makefile
+++ b/sysutils/bsdadminscripts/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bsdadminscripts
-PORTVERSION= 1.1
+PORTVERSION= 2.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,17 +15,29 @@ MAINTAINER= lon_kamikaze@gmx.de
COMMENT= A small collection of administration scripts
NO_BUILD= yes
+MANCOMPRESSED= no
+
+MAN8= bsdadminscripts.8
RC_SCRIPTS= start stop restart status onestart onestop onerestart onestatus
PORT_SCRIPTS= config build clean fetch package
+BUILDFLAGS_FILES= buildflags.mk buildflags.sh buildflags.conf
.if !defined(WITHOUT_RCSTART)
PLIST_FILES+= ${RC_SCRIPTS:S,^,sbin/rc,}
+MAN8+= rcstart.8
.endif
.if !defined(WITHOUT_PORTCONFIG)
RUN_DEPENDS+= portupgrade:${PORTSDIR}/sysutils/portupgrade
PLIST_FILES+= ${PORT_SCRIPTS:S,^,sbin/port,}
+MAN8+= portconfig.8
+.endif
+
+.if !defined(WITHOUT_BUILDFLAGS)
+PLIST_FILES+= ${BUILDFLAGS_FILES:S,^,share/$(PORTNAME)/,}
+PLIST_DIRS+= share/${PORTNAME}
+MAN8+= buildflags.mk.8 buildflags.conf.8
.endif
do-install:
@@ -43,5 +55,16 @@ do-install:
@${LN} ${PREFIX}/sbin/portconfig ${PREFIX}/sbin/port${_link}
.endfor
.endif
+.if !defined(WITHOUT_BUILDFLAGS)
+ @${ECHO_MSG} "===> Installing buildflags."
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}
+ @${INSTALL} ${WRKSRC}/buildflags.mk ${PREFIX}/share/${PORTNAME}/
+ @${INSTALL} ${WRKSRC}/buildflags.conf ${PREFIX}/share/${PORTNAME}/
+ @${INSTALL} ${WRKSRC}/buildflags.sh ${PREFIX}/share/${PORTNAME}/
+.endif
+ @${ECHO_MSG} "===> Installing man pages."
+.for _manpage in ${MAN8}
+ @${INSTALL} ${WRKSRC}/${_manpage} ${PREFIX}/man/man8/
+.endfor
.include <bsd.port.mk>
diff --git a/sysutils/bsdadminscripts/distinfo b/sysutils/bsdadminscripts/distinfo
index 32545d1fa98f..35cb84d821ab 100644
--- a/sysutils/bsdadminscripts/distinfo
+++ b/sysutils/bsdadminscripts/distinfo
@@ -1,3 +1,3 @@
-MD5 (bsdadminscripts-1.1.tar.gz) = 290a3ccfbe9839f268323ba1432d59b9
-SHA256 (bsdadminscripts-1.1.tar.gz) = 9df6adbd0d65acb723ad629068ea91119b15c30f2c255379130af437dca83339
-SIZE (bsdadminscripts-1.1.tar.gz) = 4446
+MD5 (bsdadminscripts-2.0.tar.gz) = 75fa6458f0e00a2e2529d385a36625bf
+SHA256 (bsdadminscripts-2.0.tar.gz) = 1058826079d4d078d9a0ed44791cf20f28a50b33d9eaae249ae6d23382b51104
+SIZE (bsdadminscripts-2.0.tar.gz) = 8371