aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/linux-adobesvg/Makefile
blob: cab770fe049032d1c7ad23a2fc0436120dbd1fa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    linux-adobesvg
# Date created:             18 Feb 2006
# Whom:                 Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#

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}

MAINTAINER= jylefort@FreeBSD.org
COMMENT=    The Adobe SVG browser plugin (Linux version)

ONLY_FOR_ARCHS= i386 amd64
USE_X_PREFIX=   yes
USE_LINUX=  yes

RESTRICTED= "Redistribution prohibited"
NO_BUILD=   yes

LIBDIR=     ${PREFIX}/lib/linux-adobesvg
SHLIBS=     ACE AGM BIB CoolType NPSVG3 SVGCore
SHLIB_FILES=    ${SHLIBS:S|^|lib|:S|$|.so|}

PLIST_FILES=    ${SHLIB_FILES:S|^|lib/linux-adobesvg/|}
PLIST_DIRS= ${LIBDIR:S|^${PREFIX}/||}
PORTDOCS=   LICENSE.txt ReadMe.html SVGHelp.html

do-install:
    ${MKDIR} ${LIBDIR}
    ${INSTALL_PROGRAM} ${SHLIB_FILES:S|^|${WRKSRC}/|} ${LIBDIR}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>