2020-04-13 01:59:41 +02:00
|
|
|
# $NetBSD: Makefile,v 1.68 2020/04/12 23:59:42 joerg Exp $
|
1999-10-05 16:17:15 +02:00
|
|
|
#
|
|
|
|
|
2009-01-09 17:20:20 +01:00
|
|
|
DISTNAME= jwhois-4.0
|
2012-10-23 22:49:38 +02:00
|
|
|
PKGREVISION= 2
|
2000-08-12 08:29:12 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=jwhois/}
|
1999-10-05 16:17:15 +02:00
|
|
|
|
2020-04-13 01:59:41 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-19 00:30:43 +01:00
|
|
|
HOMEPAGE= https://www.gnu.org/software/jwhois/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Configurable WHOIS client
|
2009-05-19 10:59:00 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
2009-01-09 17:20:20 +01:00
|
|
|
|
2012-10-23 22:49:38 +02:00
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
|
2003-01-10 08:39:46 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2003-01-28 23:03:00 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2009-01-09 17:20:20 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2004-12-29 16:21:50 +01:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/db
|
2000-08-12 08:29:12 +02:00
|
|
|
|
2004-01-27 15:14:35 +01:00
|
|
|
LIBS.SunOS+= -lnsl -lsocket
|
|
|
|
|
2005-10-03 23:18:55 +02:00
|
|
|
.include "options.mk"
|
2004-05-02 20:01:15 +02:00
|
|
|
|
2003-02-15 06:18:09 +01:00
|
|
|
EGDIR= ${PREFIX}/share/examples/jwhois
|
|
|
|
CONF_FILES= ${EGDIR}/jwhois.conf.default \
|
|
|
|
${PKG_SYSCONFDIR}/jwhois.conf
|
2009-01-09 17:20:20 +01:00
|
|
|
INFO_FILES= YES
|
2006-04-06 05:20:54 +02:00
|
|
|
|
2012-10-23 22:49:38 +02:00
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_STAGE.paths= pre-install
|
|
|
|
SUBST_FILES.paths= example/jwhois.conf
|
|
|
|
SUBST_VARS.paths= PREFIX
|
|
|
|
|
2006-04-06 05:20:54 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2009-01-09 17:20:20 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
|
2005-01-29 19:10:05 +01:00
|
|
|
|
2010-02-11 22:43:39 +01:00
|
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
|
|
|
|
1999-10-05 16:17:15 +02:00
|
|
|
post-install:
|
2003-02-15 06:18:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf \
|
2010-02-11 22:43:39 +01:00
|
|
|
${DESTDIR}${EGDIR}/jwhois.conf.default
|
1999-10-05 16:17:15 +02:00
|
|
|
|
2009-01-09 17:20:20 +01:00
|
|
|
.include "../../devel/libidn/buildlink3.mk"
|
1999-10-05 16:17:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|