blob: dd3ef2e58734234df981cb482a6a17f71403d152 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Created by: matusita@jp.FreeBSD.org
# $FreeBSD$
PORTNAME= jwhois
PORTVERSION= 4.0
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= Improved WHOIS client capable of selecting server to query
LICENSE= GPLv3
LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn
GNU_CONFIGURE= yes
USES= gettext gmake iconv
CPPFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
CONFIGURE_ARGS= --localstatedir=${PREFIX}/var/jwhois
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_OFF= --disable-nls --without-libiconv-prefix
INSTALL_TARGET= install-strip
INFO= jwhois
.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
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/var/jwhois
${INSTALL_DATA} ${JWHOIS_CONF_SRC} ${STAGEDIR}${PREFIX}/etc/jwhois.conf.sample
.include <bsd.port.post.mk>
|