2d8b4560a3
without IPv6 connectivity. Patch taken from Debian bug report 542148. Also delint.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.66 2012/10/23 20:49:38 shattered Exp $
|
|
#
|
|
|
|
DISTNAME= jwhois-4.0
|
|
PKGREVISION= 2
|
|
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
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
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
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-install
|
|
SUBST_FILES.paths= example/jwhois.conf
|
|
SUBST_VARS.paths= PREFIX
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
|
|
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf \
|
|
${DESTDIR}${EGDIR}/jwhois.conf.default
|
|
|
|
.include "../../devel/libidn/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|