1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

- Update to 0.2p5

PR:		ports/79753
Submitted by:	Ports Fury
This commit is contained in:
Pav Lucistnik 2005-04-10 17:17:12 +00:00
parent f1cae17194
commit f1e25b8d3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132907
4 changed files with 17 additions and 20 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= uptimec
PORTVERSION= 0.2p2
PORTVERSION= 0.2p5
CATEGORIES= sysutils
MASTER_SITES= http://www.mrEriksson.net/downloads/ \
ftp://ftp.mrEriksson.net/pub/uptimec/
@ -14,32 +14,29 @@ MASTER_SITES= http://www.mrEriksson.net/downloads/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Client for Uptime Project
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_RC_SUBR= yes
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= sbin/uptimec etc/uptimecrc.sample etc/rc.d/uptimec.sh
PORTDOCS= README COPYING ChangeLog INSTALL protocol.txt
PORTDOCS= README ChangeLog INSTALL protocol.txt
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
SUB_FILES= pkg-message uptimec.sh
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uptimec ${PREFIX}/sbin
${INSTALL_DATA} ${MASTERDIR}/files/uptimecrc.sample ${PREFIX}/etc
${INSTALL_SCRIPT} ${WRKSRC}/uptimec.sh ${PREFIX}/etc/rc.d
${INSTALL_PROGRAM} ${WRKSRC}/uptimec ${PREFIX}/sbin
${INSTALL_DATA} ${FILESDIR}/uptimecrc.sample ${PREFIX}/etc
${INSTALL_SCRIPT} ${WRKDIR}/uptimec.sh ${PREFIX}/etc/rc.d
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.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}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (uptimec-0.2p2.tar.gz) = 944d05c4c227c3cd2d1eae4d6e4d532a
SIZE (uptimec-0.2p2.tar.gz) = 81879
MD5 (uptimec-0.2p5.tar.gz) = 621b5c4c421d5d1ce892cb730ca3d359
SIZE (uptimec-0.2p5.tar.gz) = 82940