# $NetBSD: Makefile,v 1.62 2009/05/19 08:59:27 wiz Exp $ # DISTNAME= jwhois-4.0 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GNU:=jwhois/} MAINTAINER= shattered@NetBSD.org HOMEPAGE= http://www.gnu.org/software/jwhois/ COMMENT= Configurable WHOIS client LICENSE= gnu-gpl-v3 USE_PKGLOCALEDIR= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --localstatedir=${VARBASE}/db LIBS.SunOS+= -lnsl -lsocket .include "options.mk" EGDIR= ${PREFIX}/share/examples/jwhois CONF_FILES= ${EGDIR}/jwhois.conf.default \ ${PKG_SYSCONFDIR}/jwhois.conf INFO_FILES= YES .include "../../devel/gettext-lib/buildlink3.mk" CONFIGURE_ARGS+= --with-libintl-prefix=${BUILDLINK_PREFIX.gettext} post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf \ ${EGDIR}/jwhois.conf.default .include "../../devel/libidn/buildlink3.mk" .include "../../mk/bsd.pkg.mk"