diff options
author | hubertf <hubertf@pkgsrc.org> | 2002-05-07 22:25:02 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2002-05-07 22:25:02 +0000 |
commit | 9b3ba13c68b294045d8e19de0944c0825781fe53 (patch) | |
tree | e3eac5fe419d5c50169c8296a7834ee1f9a6f0a7 /net/upclient/Makefile | |
parent | 6c365d797a9dea8a62bb648705b2161e634eb043 (diff) | |
download | pkgsrc-9b3ba13c68b294045d8e19de0944c0825781fe53.tar.gz |
Re-Added upclient-4.2.1.23: Keeps track of your server uptime
Upclient is a program that keeps track of your server
uptime, and lets you compare it with the uptime of other
(similar) hosts. It consists of two parts, a client- and a
serverpart. The client runs on your server and sends the
uptime every few minutes to the server. The server
collects all data in a table on this site.
Package re-added after the service formerly offered by uptimes.net
is now again online as http://www.wonko.com/
Diffstat (limited to 'net/upclient/Makefile')
-rw-r--r-- | net/upclient/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net/upclient/Makefile b/net/upclient/Makefile new file mode 100644 index 00000000000..bcdf2dedd5f --- /dev/null +++ b/net/upclient/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.11 2002/05/07 22:25:03 hubertf Exp $ +# + +DISTNAME= upclient-4.2.1.23 +PKGREVISION= 1 +CATEGORIES= net +MASTER_SITES= http://uptimes.atomicvoid.net/files/ + +MAINTAINER= hubertf@netbsd.org +HOMEPAGE= http://uptimes.wonko.com/ +COMMENT= Keeps track of your server uptime, and compares it to other hosts + +ALL_TARGET= bsd + +post-patch: + ${MV} ${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/upchk.bak + ${SED} \ + -e 's|@PREFIX@|${PREFIX}|g' \ + >${WRKSRC}/scripts/upchk <${WRKSRC}/scripts/upchk.bak + +do-build: + cd ${WRKSRC}/src && ${MAKE} ${ALL_TARGET} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/upclient ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/HISTORY ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/conf/upclient.conf ${PREFIX}/etc + ${SED} \ + -e 's|@PREFIX@|${PREFIX}|g' \ + -e 's|@INSTALL@|${INSTALL}|g' \ + -e 's|@SU@|${SU}|g' \ + ${FILESDIR}/upclient.sh >${PREFIX}/etc/rc.d/upclient + ${CHMOD} +x ${PREFIX}/etc/rc.d/upclient + +.include "../../mk/bsd.pkg.mk" |