2020-01-26 18:30:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.31 2020/01/26 17:31:57 rillig Exp $
|
2002-05-08 00:25:02 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= upclient-4.2.1.23
|
2004-12-28 03:47:40 +01:00
|
|
|
PKGREVISION= 4
|
2002-05-08 00:25:02 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://uptimes.atomicvoid.net/files/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://uptimes.hostingwired.com/
|
2002-05-08 00:25:02 +02:00
|
|
|
COMMENT= Keeps track of your server uptime, and compares it to other hosts
|
|
|
|
|
2016-02-25 17:20:49 +01:00
|
|
|
BUILD_TARGET.DragonFly= dragonfly
|
|
|
|
BUILD_TARGET.SunOS= solaris
|
|
|
|
BUILD_TARGET.*= bsd
|
2002-05-08 00:25:02 +02:00
|
|
|
|
2003-07-02 20:22:42 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/upclient
|
|
|
|
CONF_FILES= ${EGDIR}/upclient.conf ${PKG_SYSCONFDIR}/upclient.conf
|
2005-03-07 10:41:45 +01:00
|
|
|
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
|
2003-07-02 20:22:42 +02:00
|
|
|
|
2003-07-30 19:56:42 +02:00
|
|
|
RCD_SCRIPTS= upclient
|
|
|
|
|
2013-04-06 17:46:33 +02:00
|
|
|
BUILD_DIRS= src
|
2003-07-02 20:22:42 +02:00
|
|
|
|
2010-02-11 23:57:40 +01:00
|
|
|
INSTALLATION_DIRS= bin share/doc/upclient ${EGDIR}
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2003-07-02 20:22:42 +02:00
|
|
|
pre-configure:
|
2002-05-08 00:25:02 +02:00
|
|
|
${MV} ${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/upchk.bak
|
|
|
|
${SED} \
|
|
|
|
-e 's|@PREFIX@|${PREFIX}|g' \
|
|
|
|
>${WRKSRC}/scripts/upchk <${WRKSRC}/scripts/upchk.bak
|
|
|
|
|
|
|
|
do-install:
|
2010-02-11 23:57:40 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/upclient ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${PREFIX}/share/doc/upclient
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/upclient
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/HISTORY ${DESTDIR}${PREFIX}/share/doc/upclient
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/upclient
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/FAQ ${DESTDIR}${PREFIX}/share/doc/upclient
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/doc/upclient
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/conf/upclient.conf ${DESTDIR}${EGDIR}
|
2002-05-08 00:25:02 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|