summaryrefslogtreecommitdiff
path: root/graphics/fpc-rsvg/Makefile
blob: a252569f8278e2ced9405cb46461644ec7e07fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Created by: Christopher Key <cjk32@cam.ac.uk>
# $FreeBSD$

CATEGORIES=	graphics lang
PKGNAMESUFFIX=	-rsvg

MAINTAINER=	freebsd-fpc@FreeBSD.org
COMMENT=	Free Pascal interface to librsvg2 library

USE_FPC=	cairo fcl-base fcl-image fcl-res gtk2 pasjpeg rtl-objpas x11

MASTERDIR=	${.CURDIR}/../../lang/fpc
WRKUNITDIR=	${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//:S/^/lib/}
EXTRACTUNITDIR=	${WRKUNITDIR}

OPTIONS_DEFINE=	LIBRSVG2
LIBRSVG2_DESC=	Install librsvg2 library
OPTIONS_DEFAULT=	LIBRSVG2

LIBRSVG2_LIB_DEPENDS=	librsvg-2.so:${PORTSDIR}/graphics/librsvg2

.include "${MASTERDIR}/Makefile"