blob: 53b537c4a4620e7ee128b597e9f7af592e5502bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.7 2006/10/04 21:53:18 wiz Exp $
#
DISTNAME= whoson-2.03
PKGREVISION= 2
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
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
# 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"
|