![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / net / nocol / Makefile (download)
Revision 1.24, Sat Mar 4 21:30:21 2006 UTC (17 years, 9 months ago) by jlam
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. |
# $NetBSD: Makefile,v 1.24 2006/03/04 21:30:21 jlam Exp $ # DISTNAME= nocol-4.3.1 PKGREVISION= 3 CATEGORIES= net MASTER_SITES= http://www.netplex-tech.com/software/nocol/downloads/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.netplex-tech.com/software/nocol/ COMMENT= Extensible network and system monitoring utility BROKEN_IN= pkgsrc-2005Q4 HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ./Configure CONFIGURE_ARGS+= < ${WRKSRC}/answers USE_TOOLS+= perl:run mkdirhier USE_LIBTOOL= yes LIBTOOL_OVERRIDE= ${WRKSRC}/cmu-snmp/snmp/libtool \ ${WRKSRC}/cmu-snmp/snmpapps/libtool INSTALL_TARGET= install root post-patch: @(hostname=`/bin/hostname`; \ dir=""; \ for d in /usr/bin /usr/sbin `${ECHO} $$PATH | ${TR} ':' ' '`; do \ if [ -x $$d/host ]; then \ dir=$$d; \ break; \ fi \ done; \ if [ "X$$dir" = "X" ]; then \ ${ECHO} "host program not found"; \ exit 1; \ fi; \ fqdn=`$$dir/host $$hostname | ${AWK} '{ print $$1; exit }'`; \ ${SED} -e 's|@prefix@|${PREFIX}|g' -e "s|@FQDN@|$$fqdn|g" \ ${FILESDIR}/answers > ${WRKSRC}/answers) pre-configure: @${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/cmu-snmp/snmp @${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/cmu-snmp/snmpapps @${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/cmu-snmp/snmp @${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/cmu-snmp/snmpapps post-install: # Ensure webnocol audio and images files are available if needed # ${INSTALL_DATA_DIR} ${PREFIX}/share/nocol/gifs for f in critical.wav error.wav warning.wav ; do \ ${INSTALL_DATA} ${WRKSRC}/webnocol/$$f ${PREFIX}/share/nocol; \ done for f in bluesq.gif critical.jpg empty.gif error.jpg \ greensq.gif help.jpg info.jpg redsq.gif warning.jpg \ yellowsq.gif ; do \ ${INSTALL_DATA} ${WRKSRC}/webnocol/gifs/$$f \ ${PREFIX}/share/nocol/gifs; \ done .include "../../mk/bsd.pkg.mk"