ports/177269: [PATCH] graphics/libraw: Convert to OptionsNG
nemysis
nemysis at gmx.ch
Fri Mar 22 19:10:01 UTC 2013
>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 at 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 at FreeBSD.org>
-#
+# Created by: Sergey A. Osokin <osa at 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:
More information about the freebsd-ports-bugs
mailing list