- Update to 2.0
- Introduce WITHOUT_BUILDFLAGS knob PR: ports/100319 Submitted by: maintainer
This commit is contained in:
parent
d2c76a2674
commit
90651fb2d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167849
2 changed files with 27 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue