From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 13 17:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9E94E63C for ; Wed, 13 Mar 2013 17:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7B3A29B6 for ; Wed, 13 Mar 2013 17:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2DHe1s9014581 for ; Wed, 13 Mar 2013 17:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2DHe1c8014580; Wed, 13 Mar 2013 17:40:01 GMT (envelope-from gnats) Resent-Date: Wed, 13 Mar 2013 17:40:01 GMT Resent-Message-Id: <201303131740.r2DHe1c8014580@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nemysis Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C81C2E6 for ; Wed, 13 Mar 2013 17:31:57 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mx1.freebsd.org (Postfix) with ESMTP id 445FA953 for ; Wed, 13 Mar 2013 17:31:56 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.19]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0Lqod2-1UtpFZ2hnO-00eJGX for ; Wed, 13 Mar 2013 18:31:55 +0100 Received: (qmail invoked by alias); 13 Mar 2013 17:31:54 -0000 Received: from 38-21.104-92.cust.bluewin.ch (EHLO something.email.com) [92.104.21.38] by mail.gmx.net (mp019) with SMTP; 13 Mar 2013 18:31:54 +0100 Received: by something.email.com (sSMTP sendmail emulation); Wed, 13 Mar 2013 18:31:53 +0100 Message-Id: <20130313173157.C81C2E6@hub.freebsd.org> Date: Wed, 13 Mar 2013 18:31:53 +0100 From: nemysis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/176922: [PATCH] graphics/tiff2png: OptionsNG X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 17:40:01 -0000 >Number: 176922 >Category: ports >Synopsis: [PATCH] graphics/tiff2png: OptionsNG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 13 17:40:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 >Description: Makefile changed: Port is now safe with NOPORTDOCS=yes in /etc/make.conf +OPTIONS_DEFINE= DOCS +.include +PLIST_FILES+= %%DOCSDIR%%/README +PLIST_DIRS+= %%DOCSDIR%% Changed and refined: do-install: Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: portlint -A looks usual. port test: clean >Fix: --- tiff2png-0.91_5,1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/tiff2png/Makefile ./Makefile --- /usr/ports/graphics/tiff2png/Makefile 2013-01-14 17:57:01.000000000 +0100 +++ ./Makefile 2013-03-13 18:26:51.000000000 +0100 @@ -1,13 +1,9 @@ -# New ports collection makefile for: tiff2png -# Date created: Tue 04 Jul 2000 -# Whom: will -# +# Created by: will # $FreeBSD: head/graphics/tiff2png/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= tiff2png PORTVERSION= 0.91 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF/png-mng/${PORTNAME}/${PORTVERSION} @@ -15,8 +11,8 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Converts TIFF images to PNG format -LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ - jpeg.11:${PORTSDIR}/graphics/jpeg \ +LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \ + jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png MAKEFILE= Makefile.unx @@ -30,11 +26,18 @@ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm +OPTIONS_DEFINE= DOCS + +.include + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tiff2png ${PREFIX}/bin -.if !defined(NOPORTDOCS) + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +PLIST_FILES+= %%DOCSDIR%%/README +PLIST_DIRS+= %%DOCSDIR%% .endif .include --- tiff2png-0.91_5,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: