diff options
author | beech <beech@FreeBSD.org> | 2013-03-22 05:12:17 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2013-03-22 05:12:17 +0800 |
commit | 8d2b803b088f6402fdb27abcaa1a3f86b2247fcb (patch) | |
tree | 925f7ab0283f504c1d277abecb8768705ca0e06d /graphics | |
parent | d45803e08bf118cb760dd20ec0afe058ccd30649 (diff) | |
download | freebsd-ports-gnome-8d2b803b088f6402fdb27abcaa1a3f86b2247fcb.tar.gz freebsd-ports-gnome-8d2b803b088f6402fdb27abcaa1a3f86b2247fcb.tar.zst freebsd-ports-gnome-8d2b803b088f6402fdb27abcaa1a3f86b2247fcb.zip |
- Makefile tweaks
- Convert to OptionsNG
- Shorten header
PR: ports/177170
Submitted by: nemysis <nemysis@gmx.ch>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/linux-adobesvg/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/linux-adobesvg/Makefile b/graphics/linux-adobesvg/Makefile index 5f222607b236..97800a4623df 100644 --- a/graphics/linux-adobesvg/Makefile +++ b/graphics/linux-adobesvg/Makefile @@ -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 (Linux version) 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-adobesvg/|} 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> + |