ports/177170: [PATCH] graphics/linux-adobesvg: Convert to OptionsNG
nemysis
nemysis at gmx.ch
Thu Mar 21 01:10:00 UTC 2013
>Number: 177170
>Category: ports
>Synopsis: [PATCH] graphics/linux-adobesvg: 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: Thu Mar 21 01: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:
Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- linux-adobesvg-3.01.x88.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/linux-adobesvg/Makefile ./Makefile
--- /usr/ports/graphics/linux-adobesvg/Makefile 2013-03-18 23:43:03.000000000 +0100
+++ ./Makefile 2013-03-21 02:05:07.000000000 +0100
@@ -5,8 +5,7 @@
DISTVERSION= 3.01x88
CATEGORIES= graphics www linux
MASTER_SITES= http://download.adobe.com/pub/adobe/magic/svgviewer/linux/3.x/${DISTVERSION}/en/
-DISTNAME= adobesvg-${DISTVERSION:C|x.*$||}
-DISTFILES= adobesvg-${DISTVERSION}-linux-i386${EXTRACT_SUFX}
+DISTNAME= adobesvg-${DISTVERSION}-linux-i386
MAINTAINER= ports at FreeBSD.org
COMMENT= The Adobe SVG browser plugin (Linux version)
@@ -14,10 +13,13 @@
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
+USE_LDCONFIG= yes
RESTRICTED= Redistribution prohibited
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/adobesvg-${PORTVERSION:S/.x88//}
+
LIBDIR= ${PREFIX}/lib/linux-adobesvg
SHLIBS= ACE AGM BIB CoolType NPSVG3 SVGCore
SHLIB_FILES= ${SHLIBS:S|^|lib|:S|$|.so|}
@@ -26,10 +28,13 @@
PLIST_DIRS= ${LIBDIR:S|^${PREFIX}/||}
PORTDOCS= LICENSE.txt ReadMe.html SVGHelp.html
+.include <bsd.port.options.mk>
+
do-install:
${MKDIR} ${LIBDIR}
${INSTALL_PROGRAM} ${SHLIB_FILES:S|^|${WRKSRC}/|} ${LIBDIR}
-.if !defined(NOPORTDOCS)
+
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
--- linux-adobesvg-3.01.x88.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list