Bug 177170 - [PATCH] graphics/linux-adobesvg: Convert to OptionsNG
Summary: [PATCH] graphics/linux-adobesvg: Convert to OptionsNG
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-21 01:10 UTC by nemysis
Modified: 2013-03-21 21:20 UTC (History)
1 user (show)

See Also:


Attachments
linux-adobesvg-3.01.x88.patch (1.32 KB, patch)
2013-03-21 01:10 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-03-21 01:10: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-21 01:10:09 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 21:12:30 UTC
Author: beech
Date: Thu Mar 21 21:12:17 2013
New Revision: 314877
URL: http://svnweb.freebsd.org/changeset/ports/314877

Log:
  - Makefile tweaks
  - Convert to OptionsNG
  - Shorten header
  
  PR:		ports/177170
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/graphics/linux-adobesvg/Makefile   (contents, props changed)

Modified: head/graphics/linux-adobesvg/Makefile
==============================================================================
--- head/graphics/linux-adobesvg/Makefile	Thu Mar 21 21:07:09 2013	(r314876)
+++ head/graphics/linux-adobesvg/Makefile	Thu Mar 21 21:12:17 2013	(r314877)
@@ -5,8 +5,7 @@ PORTNAME=	linux-adobesvg
 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@FreeBSD.org
 COMMENT=	The Adobe SVG browser plugin (Linux version)
@@ -14,10 +13,13 @@ COMMENT=	The Adobe SVG browser plugin (L
 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,12 +28,16 @@ PLIST_FILES=	${SHLIB_FILES:S|^|lib/linux
 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
 
 .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 21:12:38 UTC
State Changed
From-To: open->closed

Committed, Thanks!