summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libgtk-java/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-01-06 03:13:19 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-01-06 03:13:19 +0800
commit038a06ce384fe998abe83fddab7233316239233f (patch)
treea15c02142c9739f8f932a6c06ea7fa73c8103809 /x11-toolkits/libgtk-java/Makefile
parent7416241cfecdabb21d65d375dc5068c3264b8cd3 (diff)
downloadmarcuscom-ports-038a06ce384fe998abe83fddab7233316239233f.tar
marcuscom-ports-038a06ce384fe998abe83fddab7233316239233f.tar.gz
marcuscom-ports-038a06ce384fe998abe83fddab7233316239233f.tar.bz2
marcuscom-ports-038a06ce384fe998abe83fddab7233316239233f.tar.lz
marcuscom-ports-038a06ce384fe998abe83fddab7233316239233f.tar.xz
marcuscom-ports-038a06ce384fe998abe83fddab7233316239233f.tar.zst
marcuscom-ports-038a06ce384fe998abe83fddab7233316239233f.zip
Update to 2.3.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1595 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/libgtk-java/Makefile')
-rw-r--r--x11-toolkits/libgtk-java/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/x11-toolkits/libgtk-java/Makefile b/x11-toolkits/libgtk-java/Makefile
index e9cb9e4e4..db431b8fd 100644
--- a/x11-toolkits/libgtk-java/Makefile
+++ b/x11-toolkits/libgtk-java/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libgtk-java
-PORTVERSION= 2.3.1
-PORTREVISION= 1
+PORTVERSION= 2.3.2
CATEGORIES= x11-toolkits java
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.3
@@ -26,7 +25,8 @@ CONFIGURE_ARGS= --without-gcj-compile \
--with-java-prefix=${JAVA_HOME}
GTK_API_VERSION= 2.3
-API_VERSION= 2.5
+PLIST_SUB= GTK_API_VERSION=${GTK_API_VERSION} \
+ PORTVERSION=${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -34,7 +34,7 @@ do-install:
${MKDIR} ${PREFIX}/lib
${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
+ ${LN} -sf ${PREFIX}/lib/libgtkjava${GTK_API_VERSION}.so.${PORTVERSION} ${PREFIX}/lib/libgtkjava${GTK_API_VERSION}.so
${MKDIR} ${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/gtk/lib/gtk${GTK_API_VERSION}-${PORTVERSION}.jar \
${JAVAJARDIR}
@@ -42,8 +42,7 @@ do-install:
post-install:
@${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; \
s|%%PREFIX%%|${PREFIX}|g ; \
- s|%%GTK_API_VERSION%%|${GTK_API_VERSION}|g ; \
- s|%%PORTVERSION%%|${API_VERSION}|g' \
+ s|%%GTK_API_VERSION%%|${GTK_API_VERSION}|g' \
< ${PKGDIR}/pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}