pkgsrc/net/upclient/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

49 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2006/03/04 21:30:25 jlam Exp $
#
DISTNAME= upclient-4.2.1.23
PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= http://uptimes.atomicvoid.net/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://uptimes.hostingwired.com/
COMMENT= Keeps track of your server uptime, and compares it to other hosts
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly"
BUILD_TARGET= dragonfly
.else
BUILD_TARGET= bsd
.endif
EGDIR= ${PREFIX}/share/examples/upclient
CONF_FILES= ${EGDIR}/upclient.conf ${PKG_SYSCONFDIR}/upclient.conf
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
RCD_SCRIPTS= upclient
BUILD_DIRS= ${WRKSRC}/src
INSTALLATION_DIRS= bin
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 ${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_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/conf/upclient.conf ${EGDIR}
.include "../../mk/bsd.pkg.mk"