svn commit: r408327 - head/graphics/unpaper

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Feb 6 23:20:06 UTC 2016


Author: amdmi3
Date: Sat Feb  6 23:20:05 2016
New Revision: 408327
URL: https://svnweb.freebsd.org/changeset/ports/408327

Log:
  - Add LICENSE
  - Switch to options helpers

Deleted:
  head/graphics/unpaper/pkg-plist
Modified:
  head/graphics/unpaper/Makefile

Modified: head/graphics/unpaper/Makefile
==============================================================================
--- head/graphics/unpaper/Makefile	Sat Feb  6 23:20:00 2016	(r408326)
+++ head/graphics/unpaper/Makefile	Sat Feb  6 23:20:05 2016	(r408327)
@@ -9,6 +9,12 @@ MASTER_SITES=	https://www.flameeyes.eu/f
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Post-processing tool for scanned sheets of paper
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+PORTDOCS=	*
+PLIST_FILES=	bin/${PORTNAME}
+
 OPTIONS_DEFINE=	DOCS
 
 do-build:
@@ -17,7 +23,9 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGELOG README ${STAGEDIR}${DOCSDIR}
 	@cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
 


More information about the svn-ports-all mailing list