summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-14 20:47:28 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-14 20:47:28 +0800
commite29630f4495d2d89ac59a4d17483691211f8e988 (patch)
tree9d9a78ddd9b08a9e2347bbc78fa7c54c610ca678
parent36f62517b04996d663bfe304f6d9fa9df4028941 (diff)
downloadmarcuscom-ports-e29630f4495d2d89ac59a4d17483691211f8e988.tar
marcuscom-ports-e29630f4495d2d89ac59a4d17483691211f8e988.tar.gz
marcuscom-ports-e29630f4495d2d89ac59a4d17483691211f8e988.tar.bz2
marcuscom-ports-e29630f4495d2d89ac59a4d17483691211f8e988.tar.lz
marcuscom-ports-e29630f4495d2d89ac59a4d17483691211f8e988.tar.xz
marcuscom-ports-e29630f4495d2d89ac59a4d17483691211f8e988.tar.zst
marcuscom-ports-e29630f4495d2d89ac59a4d17483691211f8e988.zip
- Update to 1.0.5
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7300 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--graphics/cairo-java/Makefile69
-rw-r--r--graphics/cairo-java/distinfo3
-rw-r--r--graphics/cairo-java/files/patch-cairo-java.pc.in8
-rw-r--r--graphics/cairo-java/files/patch-configure11
-rw-r--r--graphics/cairo-java/pkg-descr8
-rw-r--r--graphics/cairo-java/pkg-message7
-rw-r--r--graphics/cairo-java/pkg-plist65
7 files changed, 171 insertions, 0 deletions
diff --git a/graphics/cairo-java/Makefile b/graphics/cairo-java/Makefile
new file mode 100644
index 000000000..de4ddff72
--- /dev/null
+++ b/graphics/cairo-java/Makefile
@@ -0,0 +1,69 @@
+# New ports collection makefile for: cairo-java
+# Date created: 26 Oct 2005
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/graphics/cairo-java/Makefile,v 1.2 2005/10/29 22:06:06 marcus Exp $
+#
+
+PORTNAME= cairo-java
+PORTVERSION= 1.0.5
+CATEGORIES= graphics java
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Java wrapper for the cairo graphics package
+
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
+ glibjni-${GLIB_API_VERSION}.1:${PORTSDIR}/devel/glib-java
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.2+
+JAVA_OS= native
+USE_GCC= 3.4+
+USE_GNOME= gnomehack gnometarget
+CONFIGURE_ARGS= --without-gcj-compile
+CONFIGURE_ENV= CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd"
+CAIRO_API_VERSION= 1.0
+GLIB_API_VERSION= 0.2
+PLIST_SUB= CAIRO_API_VERSION=${CAIRO_API_VERSION} PORTNAME=${PORTNAME}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+# jikes related
+CONFIGURE_ENV+= BOOTCLASSPATH=${JAVA_CLASSES}
+MAKE_ENV+= BOOTCLASSPATH=${JAVA_CLASSES}
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/.libs/libcairojni-${CAIRO_API_VERSION}.so \
+ ${PREFIX}/lib/libcairojni-${CAIRO_API_VERSION}.so.1
+ ${LN} -sf ${PREFIX}/lib/libcairojni-${CAIRO_API_VERSION}.so.1 \
+ ${PREFIX}/lib/libcairojni-${CAIRO_API_VERSION}.so
+ ${MKDIR} ${PREFIX}/libdata/pkgconfig
+ ${INSTALL_DATA} ${WRKSRC}/cairo-java.pc ${PREFIX}/libdata/pkgconfig
+ ${MKDIR} ${JAVAJARDIR}
+ ${INSTALL_DATA} ${WRKSRC}/cairo${CAIRO_API_VERSION}.jar ${JAVAJARDIR}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}/api
+ cd ${WRKSRC}/doc/api && ${FIND} . | ${CPIO} -pdmu ${DOCSDIR}/api
+ ${TOUCH} ${DOCSDIR}/api/packages.html
+.endif
+ @${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; \
+ s|%%PREFIX%%|${PREFIX}|g ; \
+ s|%%CAIRO_API_VERSION%%|${CAIRO_API_VERSION}|g' \
+ < ${PKGDIR}/pkg-message > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/graphics/cairo-java/distinfo b/graphics/cairo-java/distinfo
new file mode 100644
index 000000000..0a8275cd4
--- /dev/null
+++ b/graphics/cairo-java/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/cairo-java-1.0.5.tar.bz2) = 2e532ab7d4afe681cfec3b70132d7a80
+SHA256 (gnome2/cairo-java-1.0.5.tar.bz2) = dbe9ace5ce65e434628c4b10c6a3b21110a699c8fabce1fc35b8e2f17ceac7e9
+SIZE (gnome2/cairo-java-1.0.5.tar.bz2) = 256184
diff --git a/graphics/cairo-java/files/patch-cairo-java.pc.in b/graphics/cairo-java/files/patch-cairo-java.pc.in
new file mode 100644
index 000000000..e6d5d6f4f
--- /dev/null
+++ b/graphics/cairo-java/files/patch-cairo-java.pc.in
@@ -0,0 +1,8 @@
+--- cairo-java.pc.in.orig Tue Mar 28 23:56:09 2006
++++ cairo-java.pc.in Tue Mar 28 23:56:26 2006
+@@ -11,4 +11,4 @@ Requires: cairo glib-java
+ api_version=@apiversion@
+ classpath=@INSTALLED_CLASSPATH@
+ jnilibs=-L@libdir@ -lcairojni
+-Libs: -L@libdir@ -lcairojava
++Libs: -L@libdir@ -lcairojava-@apiversion@
diff --git a/graphics/cairo-java/files/patch-configure b/graphics/cairo-java/files/patch-configure
new file mode 100644
index 000000000..637cd4ac2
--- /dev/null
+++ b/graphics/cairo-java/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Wed Oct 26 20:57:49 2005
++++ configure Wed Oct 26 20:58:13 2005
+@@ -20032,7 +20032,7 @@
+
+ apiversion="1.0"
+
+-INSTALLED_CLASSPATH=\${prefix}/share/java/cairo${apiversion}-${VERSION}.jar
++INSTALLED_CLASSPATH=\${prefix}/share/java/classes/cairo${apiversion}.jar
+ INSTALLED_JNI_DIR=\${prefix}/lib/
+
+
diff --git a/graphics/cairo-java/pkg-descr b/graphics/cairo-java/pkg-descr
new file mode 100644
index 000000000..abc1cdd10
--- /dev/null
+++ b/graphics/cairo-java/pkg-descr
@@ -0,0 +1,8 @@
+Java-GNOME is a set of Java bindings for GNOME and GTK libraries,
+so GNOME applications can be written in Java. It is implemented
+as a JNI layer that delegates the Java calls out to the underlying
+C library.
+
+-- Java-GNOME README
+
+WWW: http://java-gnome.sourceforge.net/
diff --git a/graphics/cairo-java/pkg-message b/graphics/cairo-java/pkg-message
new file mode 100644
index 000000000..3d8bbd512
--- /dev/null
+++ b/graphics/cairo-java/pkg-message
@@ -0,0 +1,7 @@
+************************************************************************
+Libgtk-java was successfully installed. In order to build and run cairo
+Java applications, you must add the following to your CLASSPATH:
+
+%%JAVAJARDIR%%/cairo%%CAIRO_API_VERSION%%.jar
+
+************************************************************************
diff --git a/graphics/cairo-java/pkg-plist b/graphics/cairo-java/pkg-plist
new file mode 100644
index 000000000..ac16ab757
--- /dev/null
+++ b/graphics/cairo-java/pkg-plist
@@ -0,0 +1,65 @@
+lib/libcairojni-%%CAIRO_API_VERSION%%.so
+lib/libcairojni-%%CAIRO_API_VERSION%%.so.1
+libdata/pkgconfig/%%PORTNAME%%.pc
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/api/allclasses-frame.html
+%%PORTDOCS%%%%DOCSDIR%%/api/allclasses-noframe.html
+%%PORTDOCS%%%%DOCSDIR%%/api/constant-values.html
+%%PORTDOCS%%%%DOCSDIR%%/api/deprecated-list.html
+%%PORTDOCS%%%%DOCSDIR%%/api/help-doc.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index-all.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Antialias.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/CairoException.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Config.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Content.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Context.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Extend.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/FillRule.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Filter.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/FontExtents.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/FontFace.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/FontOptions.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/FontSlant.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/FontWeight.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Format.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Glyph.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Gradient.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/HintMetrics.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/HintStyle.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/ImageSurface.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/LineCap.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/LineJoin.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/LinearGradient.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Matrix.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Operator.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/PDFSurface.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Pattern.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Point.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/RadialGradient.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Rectangle.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/ScaledFont.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Status.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/SubpixelOrder.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/Surface.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/SurfacePattern.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/TextExtents.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/package-frame.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/package-summary.html
+%%PORTDOCS%%%%DOCSDIR%%/api/org/freedesktop/cairo/package-tree.html
+%%PORTDOCS%%%%DOCSDIR%%/api/overview-tree.html
+%%PORTDOCS%%%%DOCSDIR%%/api/package-list
+%%PORTDOCS%%%%DOCSDIR%%/api/packages.html
+%%PORTDOCS%%%%DOCSDIR%%/api/resources/inherit.gif
+%%PORTDOCS%%%%DOCSDIR%%/api/serialized-form.html
+%%PORTDOCS%%%%DOCSDIR%%/api/stylesheet.css
+share/java/classes/cairo%%CAIRO_API_VERSION%%.jar
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/api/resources
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/api/org/freedesktop/cairo
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/api/org/freedesktop
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/api/org
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/api
+%%PORTDOCS%%@dirrm %%DOCSDIR%%