diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-29 16:40:25 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-29 16:40:25 +0800 |
commit | f166103879506d2e29984e410cb6b4cb346734fa (patch) | |
tree | 91b216adece7582e75c70581c20e58a0c60d34c8 /devel/libglade-java | |
parent | dd819562e76c835c91f9f68f8f9651070c4613b4 (diff) | |
download | marcuscom-ports-f166103879506d2e29984e410cb6b4cb346734fa.tar marcuscom-ports-f166103879506d2e29984e410cb6b4cb346734fa.tar.gz marcuscom-ports-f166103879506d2e29984e410cb6b4cb346734fa.tar.bz2 marcuscom-ports-f166103879506d2e29984e410cb6b4cb346734fa.tar.lz marcuscom-ports-f166103879506d2e29984e410cb6b4cb346734fa.tar.xz marcuscom-ports-f166103879506d2e29984e410cb6b4cb346734fa.tar.zst marcuscom-ports-f166103879506d2e29984e410cb6b4cb346734fa.zip |
* Install the correct library file
* Create a jar file symlink so users don't have to change their code each
time a new release comes out
* Add some other minor plist fixes
* Do some more substituting so that the correct library can be found
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1931 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libglade-java')
-rw-r--r-- | devel/libglade-java/Makefile | 9 | ||||
-rw-r--r-- | devel/libglade-java/pkg-message | 2 | ||||
-rw-r--r-- | devel/libglade-java/pkg-plist | 3 |
3 files changed, 9 insertions, 5 deletions
diff --git a/devel/libglade-java/Makefile b/devel/libglade-java/Makefile index 63a336bf5..915a4b7e1 100644 --- a/devel/libglade-java/Makefile +++ b/devel/libglade-java/Makefile @@ -7,6 +7,7 @@ PORTNAME= libglade-java PORTVERSION= 2.3.5 +PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.3 @@ -48,21 +49,23 @@ post-patch: @${REINPLACE_CMD} -e 's|@gtkapiversion@|${GTK_API_VERSION}|g ; \ s|@apiversion@|${GLADE_API_VERSION}|g ; \ s|@version@|${PORTVERSION}|g' \ - ${WRKSRC}/src/Makefile.in + ${WRKSRC}/src/Makefile.in \ + ${WRKSRC}/java/org/gnu/glade/LibGlade.java.in do-install: ${MKDIR} ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/lib/libgladejava${GLADE_API_VERSION}.so.${PORTVERSION} \ ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libgladejava${GLADE_API_VERSION}.so.${PORTVERSION} ${PREFIX}/lib/libgconfjava${GLADE_API_VERSION}.so + ${LN} -sf ${PREFIX}/lib/libgladejava${GLADE_API_VERSION}.so.${PORTVERSION} ${PREFIX}/lib/libgladejava${GLADE_API_VERSION}.so ${MKDIR} ${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/lib/glade${GLADE_API_VERSION}-${PORTVERSION}.jar \ ${JAVAJARDIR} + ${LN} -sf ${JAVAJARDIR}/lib/glade${GLADE_API_VERSION}-${PORTVERSION}.jar \ + ${JAVAJARDIR}/glade${GLADE_API_VERSION}.jar post-install: @${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; \ s|%%PREFIX%%|${PREFIX}|g ; \ - s|%%PORTVERSION%%|${PORTVERSION}|g ; \ s|%%GLADE_API_VERSION%%|${GLADE_API_VERSION}|g' \ < ${PKGDIR}/pkg-message > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} diff --git a/devel/libglade-java/pkg-message b/devel/libglade-java/pkg-message index c4a9ab87a..f5534e4a6 100644 --- a/devel/libglade-java/pkg-message +++ b/devel/libglade-java/pkg-message @@ -2,6 +2,6 @@ Libglade-java was successfully installed. In order to build and run GTK+ Java applications, you must add the following to your CLASSPATH: -%%JAVAJARDIR%%/glade%%GLADE_API_VERSION%%-%%PORTVERSION%%.jar +%%JAVAJARDIR%%/glade%%GLADE_API_VERSION%%.jar ************************************************************************ diff --git a/devel/libglade-java/pkg-plist b/devel/libglade-java/pkg-plist index 4ea6796fe..38de64e9b 100644 --- a/devel/libglade-java/pkg-plist +++ b/devel/libglade-java/pkg-plist @@ -1,3 +1,4 @@ -lib/libgconfjava%%GLADE_API_VERSION%%.so +lib/libgladejava%%GLADE_API_VERSION%%.so lib/libgladejava%%GLADE_API_VERSION%%.so.%%PORTVERSION%% share/java/classes/glade2.3-%%PORTVERSION%%.jar +share/java/classes/glade%%GLADE_API_VERSION%%.jar |