freebsd-ports/graphics/linux-adobesvg/Makefile
Boris Samorodov 0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00

41 lines
1.1 KiB
Makefile

# 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= ports@FreeBSD.org
COMMENT= The Adobe SVG browser plugin (Linux version)
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
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>