freebsd-ports/net/whois/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

37 lines
819 B
Makefile

# New ports collection makefile for: whois
# Date created: 02 Oct 2003
# Whom: Filippo Natali <filippo@widestore.net>
#
# $FreeBSD$
#
PORTNAME= whois
PORTVERSION= 5.0.11
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
USE_GMAKE= yes
USE_ICONV= yes
USE_PERL5_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ARGS= OPTS=""
MAN1= mwhois.1 mkpasswd.1
PLIST_FILES= bin/mwhois bin/mkpasswd
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
.include <bsd.port.mk>