aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/fpc-rsvg/Makefile23
-rw-r--r--graphics/fpc-rsvg/pkg-plist9
3 files changed, 33 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 5dd5511480c4..ce082dd0b404 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -194,6 +194,7 @@
SUBDIR += fpc-opengl
SUBDIR += fpc-pasjpeg
SUBDIR += fpc-proj4
+ SUBDIR += fpc-rsvg
SUBDIR += fpc-svgalib
SUBDIR += fracplanet
SUBDIR += fractorama
diff --git a/graphics/fpc-rsvg/Makefile b/graphics/fpc-rsvg/Makefile
new file mode 100644
index 000000000000..6bbc766d3ac4
--- /dev/null
+++ b/graphics/fpc-rsvg/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: fpc-rsvg
+# Date created: 2010-04-22
+# Whom: Christopher Key <cjk32@cam.ac.uk>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+CATEGORIES= graphics lang
+PKGNAMESUFFIX= -rsvg
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Free Pascal interface to librsvg2 library
+
+USE_FPC= gtk2
+
+MASTERDIR= ${.CURDIR}/../../lang/fpc
+WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//:S/^/lib/}
+EXTRACTUNITDIR+= ${WRKUNITDIR}
+
+OPTIONS= LIBRSVG2 "Install librsvg2 library" on
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/fpc-rsvg/pkg-plist b/graphics/fpc-rsvg/pkg-plist
new file mode 100644
index 000000000000..f66d10288457
--- /dev/null
+++ b/graphics/fpc-rsvg/pkg-plist
@@ -0,0 +1,9 @@
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rsvg/Package.fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rsvg/rsvg.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rsvg/rsvg.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rsvg/libprsvg.a
+@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rsvg
+@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
+@dirrmtry lib/fpc/%%PORTVERSION%%/units
+@dirrmtry lib/fpc/%%PORTVERSION%%
+@dirrmtry lib/fpc