freebsd-ports/net/whois/Makefile

54 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: whois
# Date created: 02 Oct 2003
# Whom: Filippo Natali <filippo@widestore.net>
#
# $FreeBSD$
#
PORTNAME= whois
2009-04-25 00:21:10 +02:00
PORTVERSION= 4.7.33
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
2008-08-20 09:38:52 +02:00
MAINTAINER= miwi@FreeBSD.org
2008-08-22 11:34:14 +02:00
COMMENT= Marco d\'Itri whois client
USE_GMAKE= yes
USE_ICONV= yes
USE_PERL5_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
2008-12-24 20:27:24 +01:00
#LDFLAGS+= -L/usr/local/lib
#CFLAGS+= -I/usr/local/include
2008-08-22 11:34:14 +02:00
2003-10-13 15:54:40 +02:00
MAKE_ENV= LDFLAGS="${LDFLAGS}"
MAKE_ARGS= OPTS=""
2003-10-13 15:54:40 +02:00
2008-08-22 11:34:14 +02:00
MAN1= whois.1 mkpasswd.1
2008-12-24 20:27:24 +01:00
#.if !defined(WITHOUT_NLS)
#USE_GETTEXT= yes
#LDFLAGS+= -lintl
#PLIST_SUB+= NLS=""
#.else
#PLIST_SUB+= NLS="@comment "
#NO_PO= yes
#.endif
post-patch:
2008-08-22 11:34:14 +02:00
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g ; \
2003-10-13 15:54:40 +02:00
s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/po/Makefile
2008-12-24 20:27:24 +01:00
# @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>