From e0d693a695136a063843988de30c5ba670d0c3d5 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 2 Jun 2010 15:18:22 +0000 Subject: [PATCH] - Install additional header and shared library for upcoming netgen port PR: ports/147124 Submitted by: Stas Timokhin --- graphics/togl/Makefile | 9 ++++++--- graphics/togl/pkg-plist | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/graphics/togl/Makefile b/graphics/togl/Makefile index 5544daa33139..8318a5fd7ad5 100644 --- a/graphics/togl/Makefile +++ b/graphics/togl/Makefile @@ -7,7 +7,7 @@ PORTNAME= togl PORTVERSION= 1.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics tk MASTER_SITES= SF/${PORTNAME}/Togl/${PORTVERSION} DISTNAME= Togl-${PORTVERSION} @@ -29,6 +29,7 @@ CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include/tk8.4" \ CONFIGURE_ARGS= --with-tk=${LOCALBASE}/lib/tk8.4 \ --with-tcl=${LOCALBASE}/lib/tcl8.4 \ --with-tclinclude=${LOCALBASE}/include/tcl8.4 \ +USE_LDCONFIG= yes TOGL_INSTDIR= ${PREFIX}/lib/tk8.4/${DISTNAME} PLIST_SUB= TOGL_INSTDIR=${TOGL_INSTDIR:S,^${PREFIX}/,,} @@ -42,8 +43,10 @@ post-patch: do-install: @${MKDIR} ${TOGL_INSTDIR} - ${INSTALL_DATA} ${WRKSRC}/libTogl1.7.so ${TOGL_INSTDIR}/togl.so - ${INSTALL_DATA} ${WRKSRC}/togl.h ${WRKSRC}/pkgIndex.tcl ${TOGL_INSTDIR} + ${INSTALL_DATA} ${WRKSRC}/libTogl1.7.so ${TOGL_INSTDIR}/libTogl1.7.so + ${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so ${TOGL_INSTDIR}/libtogl.so.1 + ${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so ${PREFIX}/lib/libtogl.so.1 + ${INSTALL_DATA} ${WRKSRC}/togl.h ${WRKSRC}/togl_ws.h ${WRKSRC}/pkgIndex.tcl ${TOGL_INSTDIR} @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/Makefile ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/togl.c ${WRKSRC}/togl.h ${EXAMPLESDIR} diff --git a/graphics/togl/pkg-plist b/graphics/togl/pkg-plist index e6a343f0ca19..6d4b15fe8d87 100644 --- a/graphics/togl/pkg-plist +++ b/graphics/togl/pkg-plist @@ -1,5 +1,8 @@ -%%TOGL_INSTDIR%%/togl.so +%%TOGL_INSTDIR%%/libTogl1.7.so +%%TOGL_INSTDIR%%/libtogl.so.1 +lib/libtogl.so.1 %%TOGL_INSTDIR%%/togl.h +%%TOGL_INSTDIR%%/togl_ws.h %%TOGL_INSTDIR%%/pkgIndex.tcl @dirrm %%TOGL_INSTDIR%% %%EXAMPLESDIR%%/Makefile