1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/net/gwhois/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= gwhois
PORTVERSION= 20120626
CATEGORIES= net
MASTER_SITES= http://julijane.de/gwhois/
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Flexible whois client and proxy
LICENSE= GPLv2
RUN_DEPENDS= p5-libwww>=5.805:www/p5-libwww \
p5-Net-LibIDN>=0:dns/p5-Net-LibIDN \
lynx:www/lynx \
curl:ftp/curl
2014-06-23 09:32:16 +00:00
USES= perl5 shebangfix
USE_PERL5= run
2014-06-23 09:32:16 +00:00
SHEBANG_FILES= gwhois
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
NO_BUILD= yes
NO_ARCH= yes
2014-06-23 09:32:16 +00:00
PLIST_FILES= bin/${PORTNAME} man/man1/gwhois.1.gz %%DATADIR%%/pattern
PORTDOCS= TODO README.RIPE
2014-07-04 21:44:04 +00:00
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/etc/gwhois|${DATADIR}|g'\
${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1
do-install:
2014-07-04 21:44:04 +00:00
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/pattern ${STAGEDIR}${DATADIR}
do-install-DOCS-on:
2014-07-04 21:44:04 +00:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>