freebsd-ports/net/whois/Makefile
Martin Wilke 688ee240d1 - Update to 4.7.34
PR:		136247
Submitted by:	Lapo Luchini <lapo@lapo.it> (maintainer)
2009-07-04 19:29:35 +00:00

55 lines
1.2 KiB
Makefile

# New ports collection makefile for: whois
# Date created: 02 Oct 2003
# Whom: Filippo Natali <filippo@widestore.net>
#
# $FreeBSD$
#
PORTNAME= whois
PORTVERSION= 4.7.34
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lapo@lapo.it
COMMENT= Marco d\'Itri whois client
USE_GMAKE= yes
USE_ICONV= yes
USE_PERL5_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
#LDFLAGS+= -L/usr/local/lib
#CFLAGS+= -I/usr/local/include
MAKE_ENV= LDFLAGS="${LDFLAGS}"
MAKE_ARGS= OPTS=""
MAN1= mwhois.1 mkpasswd.1
PLIST_FILES= bin/mwhois bin/mkpasswd
#.if !defined(WITHOUT_NLS)
#USE_GETTEXT= yes
#LDFLAGS+= -lintl
#PLIST_SUB+= NLS=""
#.else
#PLIST_SUB+= NLS="@comment "
#NO_PO= yes
#.endif
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/po/Makefile
# @if [ -n "${NO_PO}" ]; \
# then ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/have_nls-patch; \
# fi
#post-install:
# @if [ ! -n "${NO_PO}" ]; \
# then cd ${WRKSRC}/po && ${MAKE} install; \
# fi
.include <bsd.port.mk>