summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-01-04 04:48:52 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-01-04 04:48:52 +0800
commit742859edbafa442e7522fcf3e32c6b8ea1655587 (patch)
tree686f14fa5899ee5dcdbd9cb2ad1288ec73b7607b /x11-toolkits
parentd3e64b57d0290f77bf9118710e4d94f9f44a69c6 (diff)
downloadmarcuscom-ports-742859edbafa442e7522fcf3e32c6b8ea1655587.tar
marcuscom-ports-742859edbafa442e7522fcf3e32c6b8ea1655587.tar.gz
marcuscom-ports-742859edbafa442e7522fcf3e32c6b8ea1655587.tar.bz2
marcuscom-ports-742859edbafa442e7522fcf3e32c6b8ea1655587.tar.lz
marcuscom-ports-742859edbafa442e7522fcf3e32c6b8ea1655587.tar.xz
marcuscom-ports-742859edbafa442e7522fcf3e32c6b8ea1655587.tar.zst
marcuscom-ports-742859edbafa442e7522fcf3e32c6b8ea1655587.zip
Create a symlink so the native GTK+ components can be loaded.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1589 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/libgtk-java/Makefile9
-rw-r--r--x11-toolkits/libgtk-java/pkg-plist1
2 files changed, 7 insertions, 3 deletions
diff --git a/x11-toolkits/libgtk-java/Makefile b/x11-toolkits/libgtk-java/Makefile
index 1f615a27e..8c27f0a41 100644
--- a/x11-toolkits/libgtk-java/Makefile
+++ b/x11-toolkits/libgtk-java/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libgtk-java
PORTVERSION= 2.3.1
+PORTREVISION= 1
CATEGORIES= x11-toolkits java
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.3
@@ -24,14 +25,16 @@ USE_GNOME= gnomehack gtk20
CONFIGURE_ARGS= --without-gcj-compile \
--with-java-prefix=${JAVA_HOME}
-API_VERSION= 2.3
+GTK_API_VERSION= 2.3
+API_VERSION= 2.5
do-install:
${MKDIR} ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/gtk/lib/libgtkjava${API_VERSION}.so.${PORTVERSION} \
+ ${INSTALL_DATA} ${WRKSRC}/gtk/lib/libgtkjava${GTK_API_VERSION}.so.${PORTVERSION} \
${PREFIX}/lib
+ ${LN} -s ${PREFIX}/lib/libgtkjava${GTK_API_VERSION}.so.${PORTVERSION} ${PREFIX}/lib/libgtkjava${API_VERSION}.so
${MKDIR} ${JAVAJARDIR}
- ${INSTALL_DATA} ${WRKSRC}/gtk/lib/gtk${API_VERSION}-${PORTVERSION}.jar \
+ ${INSTALL_DATA} ${WRKSRC}/gtk/lib/gtk${GTK_API_VERSION}-${PORTVERSION}.jar \
${JAVAJARDIR}
.include <bsd.port.mk>
diff --git a/x11-toolkits/libgtk-java/pkg-plist b/x11-toolkits/libgtk-java/pkg-plist
index 4454e0ee2..b265d1c3c 100644
--- a/x11-toolkits/libgtk-java/pkg-plist
+++ b/x11-toolkits/libgtk-java/pkg-plist
@@ -1,2 +1,3 @@
lib/libgtkjava2.3.so.2.3.1
+lib/libgtkjava2.5.so
share/java/classes/gtk2.3-2.3.1.jar