Bug 177119

Summary: [PATCH] graphics/png2ico: Convert to OptionsNG
Product: Ports & Packages Reporter: nemysis <nemysis>
Component: Individual Port(s)Assignee: Beech Rintoul <beech>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
png2ico-2002.12.08_5.patch none

Description nemysis 2013-03-19 19:50:00 UTC
Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-19 19:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-21 19:08:22 UTC
Author: beech
Date: Thu Mar 21 19:08:10 2013
New Revision: 314864
URL: http://svnweb.freebsd.org/changeset/ports/314864

Log:
  - Convert to OptionsNG
  - Add license
  
  PR:		ports/177119
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/graphics/png2ico/Makefile

Modified: head/graphics/png2ico/Makefile
==============================================================================
--- head/graphics/png2ico/Makefile	Thu Mar 21 19:01:04 2013	(r314863)
+++ head/graphics/png2ico/Makefile	Thu Mar 21 19:08:10 2013	(r314864)
@@ -11,6 +11,8 @@ DISTNAME=	${PORTNAME}-src-${PORTVERSION:
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Converts PNG files to Windows icon resource files
 
+LICENSE=	GPLv2
+
 LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
 
 MAN1=		png2ico.1
@@ -19,12 +21,15 @@ PORTDOCS=	bmp.txt
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/png2ico.1 ${PREFIX}/man/man1/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/bmp.txt ${DOCSDIR}/
+	${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
+
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Beech Rintoul freebsd_committer freebsd_triage 2013-03-21 19:08:40 UTC
State Changed
From-To: open->closed

Committed, Thanks!