Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2017 09:00:27 +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: r455569 - head/comms/ebook2cwgui
Message-ID:  <201712050900.vB590Rip099904@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec  5 09:00:27 2017
New Revision: 455569
URL: https://svnweb.freebsd.org/changeset/ports/455569

Log:
  - Pet portlint
  - Add LICENSE
  - Unsilence installation commands
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/comms/ebook2cwgui/Makefile

Modified: head/comms/ebook2cwgui/Makefile
==============================================================================
--- head/comms/ebook2cwgui/Makefile	Tue Dec  5 09:00:23 2017	(r455568)
+++ head/comms/ebook2cwgui/Makefile	Tue Dec  5 09:00:27 2017	(r455569)
@@ -7,14 +7,19 @@ CATEGORIES=	comms hamradio
 MASTER_SITES=	http://fkurz.net/ham/ebook4cw/
 
 MAINTAINER=	hamradio@FreeBSD.org
-COMMENT=	gui front end for ebooks2cw
+COMMENT=	Gui front end for ebooks2cw
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 RUN_DEPENDS=	ebook2cw:comms/ebook2cw
 
-USE_WX=	2.8
+USE_WX=		2.8
 
 PORTDOCS=	*
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG:S,${PREFIX}/bin/,,}|g' \
 	     ${WRKSRC}/Makefile
@@ -23,11 +28,13 @@ post-patch:
 	     ${WRKSRC}/Makefile
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/ebook2cwgui ${STAGEDIR}${PREFIX}/bin/ebook2cwgui
-	@${INSTALL_DATA} ${WRKSRC}/ebook2cwgui.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/ebook2cwgui ${STAGEDIR}${PREFIX}/bin/ebook2cwgui
+	${INSTALL_DATA} ${WRKSRC}/ebook2cwgui.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in README COPYING ChangeLog
-	@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}/$f
+.for f in README ChangeLog
+	${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}/$f
 .endfor
 
 .include <bsd.port.mk>



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