File:  [cvs.NetBSD.org] / pkgsrc / net / whoson / Makefile
Revision 1.8: download - view: text, annotated - select for diffs
Thu Feb 22 19:27:01 2007 UTC (17 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

# $NetBSD: Makefile,v 1.8 2007/02/22 19:27:01 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"

CVSweb <webmaster@jp.NetBSD.org>