aboutsummaryrefslogtreecommitdiff
path: root/misc/upclient/Makefile
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2001-01-05 03:37:07 +0000
committerJames E. Housley <jeh@FreeBSD.org>2001-01-05 03:37:07 +0000
commit9efa8d4a6c744fc8f65de387a6c6e117e37134c5 (patch)
tree807e3cb9ad5c24e6f906c1465a868a9add5e952b /misc/upclient/Makefile
parent0ac9c6b641102d92275ada9dcbafee3e607f4682 (diff)
downloadports-9efa8d4a6c744fc8f65de387a6c6e117e37134c5.tar.gz
ports-9efa8d4a6c744fc8f65de387a6c6e117e37134c5.zip
Notes
Diffstat (limited to 'misc/upclient/Makefile')
-rw-r--r--misc/upclient/Makefile23
1 files changed, 16 insertions, 7 deletions
diff --git a/misc/upclient/Makefile b/misc/upclient/Makefile
index f8e7554697ae..d8b33ce91f9e 100644
--- a/misc/upclient/Makefile
+++ b/misc/upclient/Makefile
@@ -6,18 +6,27 @@
#
PORTNAME= upclient
-PORTVERSION= 3.04
+PORTVERSION= 4.2.1.19
CATEGORIES= misc
-MASTER_SITES= http://uptime.hexon.cx/download/
+MASTER_SITES= ftp://ftp.uptimes.net/pub/uptimes/ \
+ http://www.uptimes.net/download/ \
+ http://uptimes.atomicvoid.net/
-MAINTAINER= kbyanc@posi.net
-
-BROKEN= Client is outdated and new client cannot be reasonably ported
+MAINTAINER= clefevre@citeweb.net
ALL_TARGET= bsd
-INSTALL_TARGET= bsd install CP=$(CP)
+BUILD_WRKSRC= ${WRKSRC}/src
+
+post-patch:
+ @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/scripts/upchk
+
+do-install:
+ @${INSTALL_SCRIPT} ${FILESDIR}/upclient.sh ${PREFIX}/etc/rc.d/upclient.sh
+ @${INSTALL_DATA} -m 600 ${WRKSRC}/upclient.conf ${PREFIX}/etc/upclient.conf.sample
+ @${INSTALL_SCRIPT} ${WRKSRC}/scripts/upchk ${PREFIX}/sbin/upchk
+ @${INSTALL_PROGRAM} -g kmem -m 2555 ${WRKSRC}/src/upclient ${PREFIX}/sbin/upclient
post-install:
- ${CAT} ${PKGMESSAGE} | ${SED} 's:/usr/local:${PREFIX}:g'
+ @${CAT} ${PKGMESSAGE} | ${SED} 's:/usr/local:${PREFIX}:g'
.include <bsd.port.mk>