From dd819562e76c835c91f9f68f8f9651070c4613b4 Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 29 Feb 2004 08:35:57 +0000 Subject: Install a jar file symlink so that users don't have to keep changing their code everytime a new version is released. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1930 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/libgconf-java/Makefile | 4 +++- devel/libgconf-java/pkg-message | 2 +- devel/libgconf-java/pkg-plist | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/devel/libgconf-java/Makefile b/devel/libgconf-java/Makefile index dc57f934b..d5f606d18 100644 --- a/devel/libgconf-java/Makefile +++ b/devel/libgconf-java/Makefile @@ -7,6 +7,7 @@ PORTNAME= libgconf-java PORTVERSION= 2.5.5 +PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5 @@ -49,11 +50,12 @@ do-install: ${MKDIR} ${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/lib/gconf${GCONF_API_VERSION}-${PORTVERSION}.jar \ ${JAVAJARDIR} + ${LN} -sf ${JAVAJARDIR}/gconf${GCONF_API_VERSION}-${PORTVERSION}.jar \ + ${JAVAJARDIR}/gconf${GCONF_API_VERSION}.jar post-install: @${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; \ s|%%PREFIX%%|${PREFIX}|g ; \ - s|%%PORTVERSION%%|${PORTVERSION}|g ; \ s|%%GCONF_API_VERSION%%|${GCONF_API_VERSION}|g' \ < ${PKGDIR}/pkg-message > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} diff --git a/devel/libgconf-java/pkg-message b/devel/libgconf-java/pkg-message index b18dca053..651dad538 100644 --- a/devel/libgconf-java/pkg-message +++ b/devel/libgconf-java/pkg-message @@ -2,6 +2,6 @@ Libgconf-java was successfully installed. In order to build and run GTK+ Java applications, you must add the following to your CLASSPATH: -%%JAVAJARDIR%%/gconf%%GCONF_API_VERSION%%-%%PORTVERSION%%.jar +%%JAVAJARDIR%%/gconf%%GCONF_API_VERSION%%.jar ************************************************************************ diff --git a/devel/libgconf-java/pkg-plist b/devel/libgconf-java/pkg-plist index edb73eb45..bd5a55f13 100644 --- a/devel/libgconf-java/pkg-plist +++ b/devel/libgconf-java/pkg-plist @@ -1,3 +1,4 @@ lib/libgconfjava%%GCONF_API_VERSION%%.so lib/libgconfjava%%GCONF_API_VERSION%%.so.%%PORTVERSION%% share/java/classes/gconf%%GCONF_API_VERSION%%-%%PORTVERSION%%.jar +share/java/classes/gconf%%GCONF_API_VERSION%%.jar -- cgit v1.2.3