Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 09:00:37 +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: r456603 - head/converters/o3read
Message-ID:  <201712180900.vBI90b1q095575@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 18 09:00:37 2017
New Revision: 456603
URL: https://svnweb.freebsd.org/changeset/ports/456603

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

Modified:
  head/converters/o3read/Makefile

Modified: head/converters/o3read/Makefile
==============================================================================
--- head/converters/o3read/Makefile	Mon Dec 18 09:00:35 2017	(r456602)
+++ head/converters/o3read/Makefile	Mon Dec 18 09:00:37 2017	(r456603)
@@ -10,17 +10,24 @@ MASTER_SITES=	http://siag.nu/pub/o3read/ \
 MAINTAINER=	samm@os2.kiev.ua
 COMMENT=	Standalone converter for the OpenOffice.org writer and scalc formats
 
-PORTDOCS=	README COPYING ChangeLog
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
+PORTDOCS=	README ChangeLog
+
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/o3read ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/o3totxt ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/o3tohtml ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/utf8tolatin1 ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for FILE in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
 .endfor
 
 .include <bsd.port.mk>



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