mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Update to version 0.2p2
PR: ports/67980 Submitted by: maintainer
This commit is contained in:
parent
92ff64a2b2
commit
563090eca9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111594
3 changed files with 14 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= uptimec
|
||||
PORTVERSION= 0.2
|
||||
PORTVERSION= 0.2p2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.mrEriksson.net/downloads/ \
|
||||
ftp://ftp.mrEriksson.net/pub/uptimec/
|
||||
|
@ -17,14 +17,17 @@ COMMENT= Client for Uptime Project
|
|||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
USE_GMAKE= yes
|
||||
USE_RC_SUBR= yes
|
||||
|
||||
PLIST_FILES= sbin/uptimec etc/uptimecrc.sample etc/rc.d/uptimec.sh
|
||||
PORTDOCS= README COPYING ChangeLog INSTALL protocol.txt
|
||||
|
||||
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/uptimec ${PREFIX}/sbin
|
||||
${INSTALL_DATA} ${MASTERDIR}/files/uptimecrc.sample ${PREFIX}/etc
|
||||
${INSTALL_SCRIPT} ${MASTERDIR}/files/uptimec.sh ${PREFIX}/etc/rc.d
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/uptimec.sh ${PREFIX}/etc/rc.d
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
|
@ -32,6 +35,10 @@ do-install:
|
|||
.endfor
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
${FILESDIR}/uptimec.sh > ${WRKSRC}/uptimec.sh
|
||||
|
||||
post-install:
|
||||
@${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${PKGMESSAGE}
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (uptimec-0.2.tar.gz) = 42289c40bf7dc8e1110bc70ed8d664f7
|
||||
SIZE (uptimec-0.2.tar.gz) = 73195
|
||||
MD5 (uptimec-0.2p2.tar.gz) = 944d05c4c227c3cd2d1eae4d6e4d532a
|
||||
SIZE (uptimec-0.2p2.tar.gz) = 81879
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
#uptimec_enable="NO"
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=uptimec
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command=/usr/local/sbin/uptimec
|
||||
required_files=/usr/local/etc/uptimecrc
|
||||
command=%%PREFIX%%/sbin/uptimec
|
||||
required_files=%%PREFIX%%/etc/uptimecrc
|
||||
|
||||
# default to enable
|
||||
uptimec_enable=${uptimec_enable:-"YES"}
|
||||
|
|
Loading…
Add table
Reference in a new issue