aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2007-09-18 14:20:50 +0800
committeracm <acm@FreeBSD.org>2007-09-18 14:20:50 +0800
commit2277639a5e3ce677c8a9bf53bfc27ba266fcab62 (patch)
tree5623301c668fc558834c639b2e6d4344f7be37a0
parent51892b3aad6829304feb4cef8a292c5f06939151 (diff)
downloadfreebsd-ports-gnome-2277639a5e3ce677c8a9bf53bfc27ba266fcab62.tar.gz
freebsd-ports-gnome-2277639a5e3ce677c8a9bf53bfc27ba266fcab62.tar.zst
freebsd-ports-gnome-2277639a5e3ce677c8a9bf53bfc27ba266fcab62.zip
- New port : graphics/fpc-cairo
Free Pascal interface to cairo library
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/fpc-cairo/Makefile27
-rw-r--r--graphics/fpc-cairo/pkg-plist9
3 files changed, 37 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 15dd29b92db8..3cf84f64b075 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -139,6 +139,7 @@
SUBDIR += fnlib
SUBDIR += fotofix
SUBDIR += fortytwo
+ SUBDIR += fpc-cairo
SUBDIR += fpc-fpgtk
SUBDIR += fpc-ggi
SUBDIR += fpc-graph
diff --git a/graphics/fpc-cairo/Makefile b/graphics/fpc-cairo/Makefile
new file mode 100644
index 000000000000..494d39550eac
--- /dev/null
+++ b/graphics/fpc-cairo/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: fpc-cairo
+# Date created: 2006-09-11
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+CATEGORIES= graphics lang
+PKGNAMESUFFIX= -cairo
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Free Pascal interface to cairo library
+
+BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
+ fpcmake:${PORTSDIR}/lang/fpc-utils \
+ ${UNITSDIR}/fpc-image/Package.fpc:${PORTSDIR}/devel/fpc-fcl-image \
+ ${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11
+
+UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
+MASTERDIR= ${.CURDIR}/../../lang/fpc
+WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
+EXTRACTUNITDIR+= ${WRKUNITDIR}
+
+OPTIONS= LIBCAIRO "Install cairo vector graphics library" on
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/fpc-cairo/pkg-plist b/graphics/fpc-cairo/pkg-plist
new file mode 100644
index 000000000000..763df47d60c7
--- /dev/null
+++ b/graphics/fpc-cairo/pkg-plist
@@ -0,0 +1,9 @@
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/cairo/Package.fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/cairo/cairo.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/cairo/cairo.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/cairo/libpcairo.a
+@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/cairo
+@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
+@dirrmtry lib/fpc/%%PORTVERSION%%/units
+@dirrmtry lib/fpc/%%PORTVERSION%%
+@dirrmtry lib/fpc