1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/net/jwhois/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

45 lines
915 B
Makefile

# Created by: matusita@jp.FreeBSD.org
# $FreeBSD$
PORTNAME= jwhois
PORTVERSION= 4.0
PORTREVISION= 6
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: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>