diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-31 18:58:10 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-31 18:58:10 +0800 |
commit | b02973557ad9304a7391a331b758437e8bb771a2 (patch) | |
tree | a90debb2bb24d9a51cce186767a421c85e128081 | |
parent | 7c50cb72420f01956ec3e565630edfb88faac93d (diff) | |
download | freebsd-ports-gnome-b02973557ad9304a7391a331b758437e8bb771a2.tar.gz freebsd-ports-gnome-b02973557ad9304a7391a331b758437e8bb771a2.tar.zst freebsd-ports-gnome-b02973557ad9304a7391a331b758437e8bb771a2.zip |
- Add LICENSE
- Add NO_ARCH
- Silence patching
- Switch to options helpers
-rw-r--r-- | net/gwhois/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net/gwhois/Makefile b/net/gwhois/Makefile index c25e40fa07b1..906214f1a387 100644 --- a/net/gwhois/Makefile +++ b/net/gwhois/Makefile @@ -10,23 +10,27 @@ DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Flexible whois client and proxy +LICENSE= GPLv2 + RUN_DEPENDS= p5-libwww>=5.805:${PORTSDIR}/www/p5-libwww \ p5-Net-LibIDN>=0:${PORTSDIR}/dns/p5-Net-LibIDN \ lynx:${PORTSDIR}/www/lynx \ curl:${PORTSDIR}/ftp/curl -NO_BUILD= yes USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= gwhois WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} +NO_BUILD= yes +NO_ARCH= yes + PLIST_FILES= bin/${PORTNAME} man/man1/gwhois.1.gz %%DATADIR%%/pattern PORTDOCS= TODO README.RIPE OPTIONS_DEFINE= DOCS post-patch: - ${REINPLACE_CMD} -e 's|/etc/gwhois|${DATADIR}|g'\ + @${REINPLACE_CMD} -e 's|/etc/gwhois|${DATADIR}|g'\ ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1 do-install: @@ -34,6 +38,8 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/pattern ${STAGEDIR}${DATADIR} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |