mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
7f3964690e
PR: ports/149733 Submitted by: Lapo Luchini <lapo at lapo dot it> (maintainer) Approved by: miwi (mentor)
39 lines
849 B
Makefile
39 lines
849 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.7
|
|
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_ENV= LDFLAGS="${LDFLAGS}"
|
|
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>
|