# New ports collection makefile for: libgconf-java # Date created: 09 January 2004 # Whom: Joe Marcus Clarke # # $FreeBSD$ # PORTNAME= libgconf-java PORTVERSION= 2.6.0 PORTREVISION= 2 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.6 DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Java wrapper for GConf BUILD_DEPENDS= ${LOCALBASE}/share/java/classes/gtk${GTK_API_VERSION}-${GTK_JAVA_VERSION}.jar:${PORTSDIR}/x11-toolkits/libgtk-java RUN_DEPENDS= ${LOCALBASE}/share/java/classes/gtk${GTK_API_VERSION}-${GTK_JAVA_VERSION}.jar:${PORTSDIR}/x11-toolkits/libgtk-java USE_BZIP2= yes USE_XLIB= yes USE_GMAKE= yes GNU_CONFIGURE= yes USE_JAVA= yes JAVA_VERSION= 1.2+ JAVA_OS= native USE_GNOME= gnomehack gconf2 USE_REINPLACE= yes CONFIGURE_ARGS= --without-gcj-compile \ --with-java-prefix=${JAVA_HOME} CONFIGURE_ENV= DB2="/dev/null" GCONF_API_VERSION= 2.6 GTK_API_VERSION= 2.4 VERSION= 2.6.0 GTK_JAVA_VERSION= 2.4.0 PLIST_SUB= GCONF_API_VERSION=${GCONF_API_VERSION} \ PORTVERSION=${VERSION} PKGMESSAGE= ${WRKDIR}/pkg-message post-patch: @${REINPLACE_CMD} -e 's|^GTKJAR=.*|GTKJAR=${LOCALBASE}/share/java/classes/gtk${GTK_API_VERSION}-${GTK_JAVA_VERSION}.jar|' \ ${WRKSRC}/configure do-install: ${MKDIR} ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/lib/libgconfjava${GCONF_API_VERSION}.so.${VERSION} \ ${PREFIX}/lib ${LN} -sf ${PREFIX}/lib/libgconfjava${GCONF_API_VERSION}.so.${VERSION} ${PREFIX}/lib/libgconfjava${GCONF_API_VERSION}.so ${MKDIR} ${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/lib/gconf${GCONF_API_VERSION}-${VERSION}.jar \ ${JAVAJARDIR} ${LN} -sf ${JAVAJARDIR}/gconf${GCONF_API_VERSION}-${VERSION}.jar \ ${JAVAJARDIR}/gconf${GCONF_API_VERSION}.jar post-install: @${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; \ s|%%PREFIX%%|${PREFIX}|g ; \ s|%%GCONF_API_VERSION%%|${GCONF_API_VERSION}|g' \ < ${PKGDIR}/pkg-message > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} .include