diff options
Diffstat (limited to 'x11-toolkits/libgtk-java/Makefile')
-rw-r--r-- | x11-toolkits/libgtk-java/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-toolkits/libgtk-java/Makefile b/x11-toolkits/libgtk-java/Makefile index 8c27f0a41..e9cb9e4e4 100644 --- a/x11-toolkits/libgtk-java/Makefile +++ b/x11-toolkits/libgtk-java/Makefile @@ -28,6 +28,8 @@ CONFIGURE_ARGS= --without-gcj-compile \ GTK_API_VERSION= 2.3 API_VERSION= 2.5 +PKGMESSAGE= ${WRKDIR}/pkg-message + do-install: ${MKDIR} ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/gtk/lib/libgtkjava${GTK_API_VERSION}.so.${PORTVERSION} \ @@ -37,4 +39,12 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/gtk/lib/gtk${GTK_API_VERSION}-${PORTVERSION}.jar \ ${JAVAJARDIR} +post-install: + @${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; \ + s|%%PREFIX%%|${PREFIX}|g ; \ + s|%%GTK_API_VERSION%%|${GTK_API_VERSION}|g ; \ + s|%%PORTVERSION%%|${API_VERSION}|g' \ + < ${PKGDIR}/pkg-message > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} + .include <bsd.port.mk> |