Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 11:43:26 +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: r408375 - head/graphics/png2ico
Message-ID:  <201602071143.u17BhQcu041684@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb  7 11:43:26 2016
New Revision: 408375
URL: https://svnweb.freebsd.org/changeset/ports/408375

Log:
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/graphics/png2ico/Makefile

Modified: head/graphics/png2ico/Makefile
==============================================================================
--- head/graphics/png2ico/Makefile	Sun Feb  7 11:40:20 2016	(r408374)
+++ head/graphics/png2ico/Makefile	Sun Feb  7 11:43:26 2016	(r408375)
@@ -11,7 +11,8 @@ DISTNAME=	${PORTNAME}-src-${PORTVERSION:
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Converts PNG files to Windows icon resource files
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2 # only
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
 
@@ -23,6 +24,8 @@ LDFLAGS+=	$$(libpng-config --ldflags)
 PORTDOCS=	bmp.txt
 PLIST_FILES=	bin/png2ico man/man1/png2ico.1.gz
 
+OPTIONS_DEFINE=	DOCS
+
 do-build:
 	(cd ${WRKSRC} && ${CXX} ${CXXFLAGS} ${CPPFLAGS} -o png2ico \
 		png2ico.cpp ${LDFLAGS})
@@ -30,6 +33,8 @@ do-build:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/png2ico ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/doc/png2ico.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
 



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