3d8fd2bcc2
------------------- 2009-07-11 15:09 crosser * configure.in, rtconfig.c: fix segfault bug in config parser (Alexei Seleznyov <aseleznyov@parallels.com>) 2008-01-17 15:46 crosser * clnt_common.c: fix cycle over alternative servers (was infinite loop) 2006-11-26 15:35 crosser * configure.in: fix comment 2006-11-26 02:10 crosser * .cvsignore, Makefile.am, README, acconfig.h, configure.in, serv_common.c, whoson.3, whoson.8, whoson.conf, WHOSON/.cvsignore: cleanup from Greg Woods 2006-11-25 23:10 crosser * Makefile.am: use DESTDIR for default config installation
35 lines
963 B
Makefile
35 lines
963 B
Makefile
# $NetBSD: Makefile,v 1.12 2014/12/13 14:22:05 mef Exp $
|
|
#
|
|
|
|
DISTNAME= whoson-2.05
|
|
CATEGORIES= net security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=whoson/}
|
|
|
|
MAINTAINER= abs@NetBSD.org
|
|
HOMEPAGE= http://whoson.sourceforge.net/
|
|
COMMENT= Check if (dynamic) IP address is connected
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
WHOSOND_CHROOT?= ${VARBASE}/chroot/whosond
|
|
CONFIGURE_ARGS+= --with-config="${PKG_SYSCONFDIR}/whoson.conf"
|
|
|
|
RCD_SCRIPTS= whosond
|
|
OWN_DIRS+= ${WHOSOND_CHROOT}
|
|
EXDIR= ${PREFIX}/share/examples/whoson
|
|
CONF_FILES= ${EXDIR}/whoson.conf ${PKG_SYSCONFDIR}/whoson.conf
|
|
|
|
INSTALLATION_DIRS= ${EXDIR}
|
|
|
|
# Run this here as whoson's 'install' target will install if not present
|
|
pre-build:
|
|
${SED} 's:@@CHROOTDIR@@:${WHOSOND_CHROOT}:g' < ${FILESDIR}/whoson.conf \
|
|
> ${WRKSRC}/whoson.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/whoson.conf ${DESTDIR}${EXDIR}/whoson.conf
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|