9637f7852e
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.31 2020/01/26 17:31:57 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= upclient-4.2.1.23
|
|
PKGREVISION= 4
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://uptimes.atomicvoid.net/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://uptimes.hostingwired.com/
|
|
COMMENT= Keeps track of your server uptime, and compares it to other hosts
|
|
|
|
BUILD_TARGET.DragonFly= dragonfly
|
|
BUILD_TARGET.SunOS= solaris
|
|
BUILD_TARGET.*= bsd
|
|
|
|
EGDIR= ${PREFIX}/share/examples/upclient
|
|
CONF_FILES= ${EGDIR}/upclient.conf ${PKG_SYSCONFDIR}/upclient.conf
|
|
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
|
|
|
|
RCD_SCRIPTS= upclient
|
|
|
|
BUILD_DIRS= src
|
|
|
|
INSTALLATION_DIRS= bin share/doc/upclient ${EGDIR}
|
|
|
|
pre-configure:
|
|
${MV} ${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/upchk.bak
|
|
${SED} \
|
|
-e 's|@PREFIX@|${PREFIX}|g' \
|
|
>${WRKSRC}/scripts/upchk <${WRKSRC}/scripts/upchk.bak
|
|
|
|
do-install:
|
|
${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}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|