diff options
-rw-r--r-- | x11-toolkits/libgtk-java/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/libgtk-java/pkg-plist | 1 |
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 |