svn commit: r408383 - head/graphics/s10sh

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Feb 7 11:56:28 UTC 2016


Author: amdmi3
Date: Sun Feb  7 11:56:26 2016
New Revision: 408383
URL: https://svnweb.freebsd.org/changeset/ports/408383

Log:
  - Add LICENSE
  - Switch to options helpers
  - Remove unused option

Modified:
  head/graphics/s10sh/Makefile

Modified: head/graphics/s10sh/Makefile
==============================================================================
--- head/graphics/s10sh/Makefile	Sun Feb  7 11:55:46 2016	(r408382)
+++ head/graphics/s10sh/Makefile	Sun Feb  7 11:56:26 2016	(r408383)
@@ -11,6 +11,9 @@ MASTER_SITES=	http://www.reynoldsnet.org
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	USB/serial userspace driver for the Canon PowerShot digital cameras
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		ncurses readline
 
 # Don't extract the libusb bundled with s10sh:
@@ -18,13 +21,15 @@ EXTRACT_AFTER_ARGS=	--exclude '*/libusb*
 
 MAKEFILE=	${FILESDIR}/Makefile.bsd
 
-PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	README
+PLIST_FILES=	bin/${PORTNAME}
 
-OPTIONS_DEFINE=	USB DOCS
+OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 


More information about the svn-ports-all mailing list