aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-11 03:43:18 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-11 03:43:18 +0800
commit831cd21d05987f297543a097962f87131a949247 (patch)
tree6eed6553cef84826e1f46776f1092e111009b913
parent767d9b2d4fd49386cb1abdef76dc3fc3637aabf7 (diff)
downloadfreebsd-ports-gnome-831cd21d05987f297543a097962f87131a949247.tar.gz
freebsd-ports-gnome-831cd21d05987f297543a097962f87131a949247.tar.zst
freebsd-ports-gnome-831cd21d05987f297543a097962f87131a949247.zip
Move the cairo programming reference to the cairo-reference port.
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/cairo-reference/Makefile5
-rw-r--r--graphics/cairo/Makefile8
-rw-r--r--graphics/cairo/pkg-plist49
4 files changed, 13 insertions, 50 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index d3c456a9534f..db6fe6503389 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -38,6 +38,7 @@
SUBDIR += cadubi
SUBDIR += cairo
SUBDIR += cairo-java
+ SUBDIR += cairo-reference
SUBDIR += cairomm
SUBDIR += cal3d
SUBDIR += cal3d-devel
diff --git a/graphics/cairo-reference/Makefile b/graphics/cairo-reference/Makefile
new file mode 100644
index 000000000000..a31558e31e28
--- /dev/null
+++ b/graphics/cairo-reference/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+REFERENCE_SRC= ${WRKSRC}/doc/public
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index 31bbf3d38fae..a5c5ea925eb2 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -16,6 +16,10 @@ MASTER_SITE_SUBDIR= ahze
MAINTAINER= gnome@FreeBSD.org
COMMENT= Vector graphics library with cross-device output support
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
png.5:${PORTSDIR}/graphics/png \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
@@ -23,7 +27,7 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \
--enable-pdf \
--enable-ps
-USE_GNOME= gnometarget gnomehack ltverhack
+USE_GNOME= gnometarget gnomehack ltverhack referencehack
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
@@ -61,3 +65,5 @@ post-patch:
${WRKSRC}/test/Makefile.in
.include <bsd.port.post.mk>
+
+.endif
diff --git a/graphics/cairo/pkg-plist b/graphics/cairo/pkg-plist
index a5eeaf081da2..e9445b2f0728 100644
--- a/graphics/cairo/pkg-plist
+++ b/graphics/cairo/pkg-plist
@@ -11,53 +11,4 @@ lib/libcairo.la
lib/libcairo.so
lib/libcairo.so.2
libdata/pkgconfig/cairo.pc
-%%DOCSDIR%%/cairo/Drawing.html
-%%DOCSDIR%%/cairo/Fonts.html
-%%DOCSDIR%%/cairo/Support.html
-%%DOCSDIR%%/cairo/Surfaces.html
-%%DOCSDIR%%/cairo/bindings-errors.html
-%%DOCSDIR%%/cairo/bindings-fonts.html
-%%DOCSDIR%%/cairo/bindings-memory.html
-%%DOCSDIR%%/cairo/bindings-overloading.html
-%%DOCSDIR%%/cairo/bindings-path.html
-%%DOCSDIR%%/cairo/bindings-patterns.html
-%%DOCSDIR%%/cairo/bindings-return-values.html
-%%DOCSDIR%%/cairo/bindings-streams.html
-%%DOCSDIR%%/cairo/bindings-surfaces.html
-%%DOCSDIR%%/cairo/cairo-Error-handling.html
-%%DOCSDIR%%/cairo/cairo-Font-Options.html
-%%DOCSDIR%%/cairo/cairo-FreeType-Fonts.html
-%%DOCSDIR%%/cairo/cairo-Glitz-Surfaces.html
-%%DOCSDIR%%/cairo/cairo-Image-Surfaces.html
-%%DOCSDIR%%/cairo/cairo-PDF-Surfaces.html
-%%DOCSDIR%%/cairo/cairo-PNG-Support.html
-%%DOCSDIR%%/cairo/cairo-Paths.html
-%%DOCSDIR%%/cairo/cairo-Patterns.html
-%%DOCSDIR%%/cairo/cairo-PostScript-Surfaces.html
-%%DOCSDIR%%/cairo/cairo-Scaled-Fonts.html
-%%DOCSDIR%%/cairo/cairo-Text.html
-%%DOCSDIR%%/cairo/cairo-Transformations.html
-%%DOCSDIR%%/cairo/cairo-Types.html
-%%DOCSDIR%%/cairo/cairo-Version-Information.html
-%%DOCSDIR%%/cairo/cairo-Win32-Fonts.html
-%%DOCSDIR%%/cairo/cairo-Win32-Surfaces.html
-%%DOCSDIR%%/cairo/cairo-XLib-Surfaces.html
-%%DOCSDIR%%/cairo/cairo-cairo-font-face-t.html
-%%DOCSDIR%%/cairo/cairo-cairo-matrix-t.html
-%%DOCSDIR%%/cairo/cairo-cairo-surface-t.html
-%%DOCSDIR%%/cairo/cairo-cairo-t.html
-%%DOCSDIR%%/cairo/cairo.devhelp
-%%DOCSDIR%%/cairo/home.png
-%%DOCSDIR%%/cairo/index.html
-%%DOCSDIR%%/cairo/index.sgml
-%%DOCSDIR%%/cairo/ix01.html
-%%DOCSDIR%%/cairo/language-bindings.html
-%%DOCSDIR%%/cairo/left.png
-%%DOCSDIR%%/cairo/pt01.html
-%%DOCSDIR%%/cairo/pt02.html
-%%DOCSDIR%%/cairo/right.png
-%%DOCSDIR%%/cairo/style.css
-%%DOCSDIR%%/cairo/up.png
-@dirrm %%DOCSDIR%%/cairo
-@dirrm %%DOCSDIR%%
@dirrm include/cairo