pkgsrc/net/upclient/Makefile
hubertf 9b3ba13c68 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/
2002-05-07 22:25:02 +00:00

41 lines
1.3 KiB
Makefile

# $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"