2013-05-06 12:22:41 +02:00
|
|
|
# Created by: matusita@jp.FreeBSD.org
|
2000-07-27 07:40:55 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jwhois
|
2008-05-26 07:21:13 +02:00
|
|
|
PORTVERSION= 4.0
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 3
|
2000-07-27 07:40:55 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= jwhois
|
|
|
|
|
2012-04-03 02:11:56 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-29 03:59:16 +02:00
|
|
|
COMMENT= Improved WHOIS client capable of selecting server to query
|
2000-07-27 07:40:55 +02:00
|
|
|
|
2014-06-10 20:28:06 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2000-07-27 07:40:55 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-05-29 14:00:30 +02:00
|
|
|
USES= gettext gmake
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${PREFIX}/include
|
|
|
|
LDFLAGS+= -L${PREFIX}/lib
|
2004-04-15 15:21:02 +02:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/var/jwhois
|
2013-05-06 12:22:41 +02:00
|
|
|
|
2014-02-21 14:38:29 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
2014-07-29 03:59:16 +02:00
|
|
|
OPTIONS_SUB= yes
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2014-07-29 03:59:16 +02:00
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2000-07-27 07:40:55 +02:00
|
|
|
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2004-04-15 15:21:02 +02:00
|
|
|
INFO= jwhois
|
2000-07-27 07:40:55 +02:00
|
|
|
|
2005-03-08 13:41:26 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${FILESDIR}/jwhois.conf)
|
|
|
|
JWHOIS_CONF_SRC=${FILESDIR}/jwhois.conf
|
|
|
|
.else
|
|
|
|
JWHOIS_CONF_SRC=${WRKSRC}/example/jwhois.conf
|
|
|
|
.endif
|
|
|
|
|
2000-07-27 07:40:55 +02:00
|
|
|
post-install:
|
2014-06-10 20:28:06 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/var/jwhois
|
|
|
|
${INSTALL_DATA} ${JWHOIS_CONF_SRC} ${STAGEDIR}${PREFIX}/etc/jwhois.conf.sample
|
2000-07-27 07:40:55 +02:00
|
|
|
|
2005-03-08 13:41:26 +01:00
|
|
|
.include <bsd.port.post.mk>
|