41a7ba60f8
Changes include: 4.2.1.23, Released Sunday 17 June 2001, changes: Fixed compilation error in stats-sol.c 4.2.1.22, Released Saturday 16 June 2001, changes: Darwin / MacOS X support BeOS support Improved Irix support BSD idle-time-submit(tm) support New SendCPULevel option (BSD, Solaris & Irix only) Debian init.d script Alternative to the upchk script added Fixed compilating error when using the NR_LINUX_UPTIME_WRAPAROUNDS That's all folks!
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2001/06/20 14:30:47 nra Exp $
|
|
#
|
|
|
|
DISTNAME= upclient-4.2.1.23
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://uptimes.atomicvoid.net/files/ \
|
|
http://www.uptimes.net/download/ \
|
|
ftp://ftp.uptimes.net/pub/uptimes/
|
|
|
|
MAINTAINER= hubertf@netbsd.org
|
|
HOMEPAGE= http://www.uptimes.net/
|
|
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}/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"
|