Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2013 20:06:53 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        osa@FreeBSD.org
Subject:   ports/177269: [PATCH] graphics/libraw: Convert to OptionsNG
Message-ID:  <20130322190657.783BCE51@hub.freebsd.org>
Resent-Message-ID: <201303221910.r2MJA0B1027389@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177269
>Category:       ports
>Synopsis:       [PATCH] graphics/libraw: Convert to 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:   Fri Mar 22 19:10:00 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:

- Convert to OptionsNG

Port maintainer (osa@FreeBSD.org) is cc'd.

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- libraw-0.14.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/libraw/Makefile ./Makefile
--- /usr/ports/graphics/libraw/Makefile	2013-01-14 17:56:59.000000000 +0100
+++ ./Makefile	2013-03-22 16:59:47.000000000 +0100
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	raw images library
-# Date created:				26 Apr 2008
-# Whom:					Sergey A. Osokin <osa@FreeBSD.org>
-#
+# Created by: Sergey A. Osokin <osa@FreeBSD.org>
 # $FreeBSD: head/graphics/libraw/Makefile 300954 2012-07-16 16:06:57Z osa $
-#
 
 PORTNAME=	libraw
 PORTVERSION=	0.14.7
@@ -18,7 +14,7 @@
 LICENSE=	LGPL21 CDDL
 LICENSE_COMB=	dual
 
-LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg
 
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
@@ -103,12 +99,12 @@
 	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/libdata/pkgconfig
 .endfor
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
 .endif
 
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/samples/,} ${EXAMPLESDIR}
 .endif
--- libraw-0.14.7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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