1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/net/whois/Makefile
Antoine Brodin 7d06e3b526 Mark a few unfetchable ports BROKEN
With hat:	portmgr
2014-04-27 14:38:18 +00:00

40 lines
858 B
Makefile

# Created by: Filippo Natali <filippo@widestore.net>
# $FreeBSD$
PORTNAME= whois
PORTVERSION= 5.0.23
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lapo@lapo.it
COMMENT= Marco d'Itri whois client
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= Unfetchable
USES= iconv gmake perl5
USE_XZ= yes
USE_PERL5= build
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ARGS= BASEDIR="${STAGEDIR}"
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e "s| pos||" -e "s| install-pos||" \
-e "s|-lintl||" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|# define ENABLE_NLS||" ${WRKSRC}/config.h
.endif
.include <bsd.port.mk>