pkgsrc/net/gkrellm-multiping/Makefile

31 lines
863 B
Makefile

# $NetBSD: Makefile,v 1.27 2012/03/03 00:13:44 wiz Exp $
#
DISTNAME= gkrellm-multiping-2.0.8
PKGREVISION= 16
CATEGORIES= net
MASTER_SITES= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/index.html
COMMENT= Pings several machines and prints out stats
PKG_DESTDIR_SUPPORT= user-destdir
SPECIAL_PERMS+= ${PREFIX}/lib/gkrellm2/plugins/pinger ${SETUID_ROOT_PERMS}
USE_TOOLS+= pkg-config
PTHREAD_OPTS+= require
PTHREAD_AUTO_VARS= yes
INSTALLATION_DIRS= lib/gkrellm2/plugins
post-patch:
${SED} -e s,@@PREFIX@@,${PREFIX}, ${WRKSRC}/multiping.c > ${WRKSRC}/multiping.c.sed
${CP} ${WRKSRC}/multiping.c.sed ${WRKSRC}/multiping.c
.include "../../sysutils/gkrellm/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"