2007-02-22 20:26:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2007/02/22 19:27:01 wiz Exp $
|
2004-10-11 18:51:54 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= whoson-2.03
|
2006-02-20 00:08:48 +01:00
|
|
|
PKGREVISION= 2
|
2004-10-11 18:51:54 +02:00
|
|
|
CATEGORIES= net security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=whoson/}
|
|
|
|
|
|
|
|
MAINTAINER= abs@NetBSD.org
|
2006-10-04 23:53:15 +02:00
|
|
|
HOMEPAGE= http://whoson.sourceforge.net/
|
2004-10-11 18:51:54 +02:00
|
|
|
COMMENT= Check if (dynamic) IP address is connected
|
|
|
|
|
|
|
|
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
|
2006-02-20 00:08:48 +01:00
|
|
|
OWN_DIRS+= ${WHOSOND_CHROOT}
|
2007-02-22 20:26:05 +01:00
|
|
|
EXDIR= ${PREFIX}/share/examples/whoson
|
|
|
|
CONF_FILES= ${EXDIR}/whoson.conf ${PKG_SYSCONFDIR}/whoson.conf
|
2004-10-11 18:51:54 +02:00
|
|
|
|
|
|
|
# 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_DIR} ${EXDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/whoson.conf ${EXDIR}/whoson.conf
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|