diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-29 16:35:57 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-29 16:35:57 +0800 |
commit | dd819562e76c835c91f9f68f8f9651070c4613b4 (patch) | |
tree | 3235f678a02cee7070caf94df41152d8d6f99ef5 /devel | |
parent | 168675a41e7533f3b2826c245230775cf6c7835b (diff) | |
download | marcuscom-ports-dd819562e76c835c91f9f68f8f9651070c4613b4.tar marcuscom-ports-dd819562e76c835c91f9f68f8f9651070c4613b4.tar.gz marcuscom-ports-dd819562e76c835c91f9f68f8f9651070c4613b4.tar.bz2 marcuscom-ports-dd819562e76c835c91f9f68f8f9651070c4613b4.tar.lz marcuscom-ports-dd819562e76c835c91f9f68f8f9651070c4613b4.tar.xz marcuscom-ports-dd819562e76c835c91f9f68f8f9651070c4613b4.tar.zst marcuscom-ports-dd819562e76c835c91f9f68f8f9651070c4613b4.zip |
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
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libgconf-java/Makefile | 4 | ||||
-rw-r--r-- | devel/libgconf-java/pkg-message | 2 | ||||
-rw-r--r-- | 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 |