diff options
author | marcus <marcus@FreeBSD.org> | 2005-06-07 23:59:37 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-06-07 23:59:37 +0800 |
commit | 71696afe5006743093dc0f73ea33c07aab1524b5 (patch) | |
tree | b29c563c533b00c131a8bf99b46d3ddb3f42bd57 /x11-toolkits/libgtk-java/Makefile | |
parent | 45311e1d154c4244cb5ed1accb20ec76fd88c481 (diff) | |
download | freebsd-ports-gnome-71696afe5006743093dc0f73ea33c07aab1524b5.tar.gz freebsd-ports-gnome-71696afe5006743093dc0f73ea33c07aab1524b5.tar.zst freebsd-ports-gnome-71696afe5006743093dc0f73ea33c07aab1524b5.zip |
Update to 2.6.2.
PR: 81632
Submitted by: Panagiotis Astithas <past@ebs.gr>
Diffstat (limited to 'x11-toolkits/libgtk-java/Makefile')
-rw-r--r-- | x11-toolkits/libgtk-java/Makefile | 54 |
1 files changed, 32 insertions, 22 deletions
diff --git a/x11-toolkits/libgtk-java/Makefile b/x11-toolkits/libgtk-java/Makefile index 3ca04fd5600a..98dc5c4c020b 100644 --- a/x11-toolkits/libgtk-java/Makefile +++ b/x11-toolkits/libgtk-java/Makefile @@ -6,49 +6,59 @@ # PORTNAME= libgtk-java -PORTVERSION= 2.4.0 -PORTREVISION= 2 +PORTVERSION= 2.6.2 CATEGORIES= x11-toolkits java MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.4 +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.6 DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Java wrapper for Gtk+, Pango, Atk, and Glib -BROKEN= Does not build - USE_BZIP2= yes USE_XLIB= yes USE_GMAKE= yes -GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +USE_LIBTOOL_VER=15 USE_JAVA= yes JAVA_VERSION= 1.2+ JAVA_OS= native USE_GNOME= gnomehack gtk20 -CONFIGURE_ARGS= --without-gcj-compile \ - --with-java-prefix=${JAVA_HOME} -CONFIGURE_ENV= DB2="/dev/null" - -GTK_API_VERSION= 2.4 -VERSION= 2.4.0 -PLIST_SUB= GTK_API_VERSION=${GTK_API_VERSION} \ - PORTVERSION=${VERSION} - +CONFIGURE_ARGS= --without-gcj-compile +CONFIGURE_ENV= CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd" +GTK_API_VERSION= 2.6 +PLIST_SUB= GTK_API_VERSION=${GTK_API_VERSION} PORTNAME=${PORTNAME} PKGMESSAGE= ${WRKDIR}/pkg-message do-install: ${MKDIR} ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/gtk/lib/libgtkjava${GTK_API_VERSION}.so.${VERSION} \ - ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libgtkjava${GTK_API_VERSION}.so.${VERSION} ${PREFIX}/lib/libgtkjava${GTK_API_VERSION}.so + ${INSTALL_DATA} ${WRKSRC}/.libs/libgtkjni-${GTK_API_VERSION}.so \ + ${PREFIX}/lib/libgtkjni-${GTK_API_VERSION}.so.1 + ${LN} -sf ${PREFIX}/lib/libgtkjni-${GTK_API_VERSION}.so.1 \ + ${PREFIX}/lib/libgtkjni-${GTK_API_VERSION}.so + ${MKDIR} ${PREFIX}/libdata/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/gtk2-java.pc ${PREFIX}/libdata/pkgconfig + ${MKDIR} ${PREFIX}/include/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/src/jni/jg_jnu.h ${PREFIX}/include/${PORTNAME} ${MKDIR} ${JAVAJARDIR} - ${INSTALL_DATA} ${WRKSRC}/gtk/lib/gtk${GTK_API_VERSION}-${VERSION}.jar \ - ${JAVAJARDIR} - ${LN} -sf ${JAVAJARDIR}/gtk${GTK_API_VERSION}-${VERSION}.jar \ - ${JAVAJARDIR}/gtk${GTK_API_VERSION}.jar + ${INSTALL_DATA} ${WRKSRC}/gtk${GTK_API_VERSION}.jar ${JAVAJARDIR} + ${MKDIR} ${PREFIX}/share/${PORTNAME}/macros + ${INSTALL_DATA} ${WRKSRC}/macros/* ${PREFIX}/share/${PORTNAME}/macros 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} + ${INSTALL_DATA} ${WRKSRC}/THANKS ${DOCSDIR} + ${MKDIR} ${DOCSDIR}/api + cd ${WRKSRC}/doc/api && ${FIND} . | ${CPIO} -pdmu ${DOCSDIR}/api + ${MKDIR} ${DOCSDIR}/examples + cd ${WRKSRC}/doc/examples && ${FIND} . \ + | ${CPIO} -pdmu ${DOCSDIR}/examples +.endif @${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; \ s|%%PREFIX%%|${PREFIX}|g ; \ s|%%GTK_API_VERSION%%|${GTK_API_VERSION}|g' \ |