Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2015 10:58:10 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404926 - head/net/gwhois
Message-ID:  <201512311058.tBVAwAA8066292@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Dec 31 10:58:10 2015
New Revision: 404926
URL: https://svnweb.freebsd.org/changeset/ports/404926

Log:
  - Add LICENSE
  - Add NO_ARCH
  - Silence patching
  - Switch to options helpers

Modified:
  head/net/gwhois/Makefile

Modified: head/net/gwhois/Makefile
==============================================================================
--- head/net/gwhois/Makefile	Thu Dec 31 10:58:05 2015	(r404925)
+++ head/net/gwhois/Makefile	Thu Dec 31 10:58:10 2015	(r404926)
@@ -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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512311058.tBVAwAA8066292>