From owner-svn-ports-head@FreeBSD.ORG Thu Mar 21 21:12:18 2013 Return-Path: Delivered-To: svn-ports-head@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 62006DD8; Thu, 21 Mar 2013 21:12:18 +0000 (UTC) (envelope-from beech@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 52D40B03; Thu, 21 Mar 2013 21:12:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2LLCIaK030457; Thu, 21 Mar 2013 21:12:18 GMT (envelope-from beech@svn.freebsd.org) Received: (from beech@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2LLCIab030456; Thu, 21 Mar 2013 21:12:18 GMT (envelope-from beech@svn.freebsd.org) Message-Id: <201303212112.r2LLCIab030456@svn.freebsd.org> From: Beech Rintoul Date: Thu, 21 Mar 2013 21:12:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314877 - head/graphics/linux-adobesvg X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 21:12:18 -0000 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 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 + 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 +