diff options
-rw-r--r-- | graphics/togl/Makefile | 21 | ||||
-rw-r--r-- | graphics/togl/pkg-plist | 25 |
2 files changed, 36 insertions, 10 deletions
diff --git a/graphics/togl/Makefile b/graphics/togl/Makefile index 6575b7cbf1d2..56f64429b26a 100644 --- a/graphics/togl/Makefile +++ b/graphics/togl/Makefile @@ -7,7 +7,7 @@ PORTNAME= togl PORTVERSION= 1.6 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics tk84 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,14 +16,12 @@ DISTNAME= Togl-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A Tk OpenGL widget -EXPIRATION_DATE=2005-07-01 -DEPRECATED= Resulting application unusable, cf. PR ports/76293 - LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 \ tcl84.1:${PORTSDIR}/lang/tcl84 USE_GMAKE= yes USE_GL= yes +USE_REINPLACE= yes MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" @@ -34,10 +32,23 @@ PLIST_SUB= TOGL_INSTDIR=${TOGL_INSTDIR:S,^${PREFIX}/,,} PORTDOCS= * .endif +post-patch: + @${REINPLACE_CMD} -e 's|wish |wish8.4 |' ${WRKSRC}/*.tcl + do-install: @${MKDIR} ${TOGL_INSTDIR} - ${INSTALL_DATA} ${WRKSRC}/*.so ${TOGL_INSTDIR} + ${INSTALL_DATA} ${WRKSRC}/togl.so ${TOGL_INSTDIR} ${INSTALL_DATA} ${WRKSRC}/togl.h ${WRKSRC}/pkgIndex.tcl ${TOGL_INSTDIR} + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/Makefile ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/togl.c ${WRKSRC}/togl.h ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/double.c ${WRKSRC}/double.tcl ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/gears.c ${WRKSRC}/gears.tcl ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/index.c ${WRKSRC}/index.tcl ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/overlay.c ${WRKSRC}/overlay.tcl ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/stereo.c ${WRKSRC}/stereo.tcl ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/texture.c ${WRKSRC}/texture.tcl ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/image.c ${WRKSRC}/image.h ${WRKSRC}/ben.rgb ${WRKSRC}/tree2.rgba ${EXAMPLESDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Togl.html ${DOCSDIR} diff --git a/graphics/togl/pkg-plist b/graphics/togl/pkg-plist index 46775f0d7cdc..e6a343f0ca19 100644 --- a/graphics/togl/pkg-plist +++ b/graphics/togl/pkg-plist @@ -1,9 +1,24 @@ -%%TOGL_INSTDIR%%/double.so -%%TOGL_INSTDIR%%/gears.so -%%TOGL_INSTDIR%%/index.so -%%TOGL_INSTDIR%%/overlay.so -%%TOGL_INSTDIR%%/texture.so %%TOGL_INSTDIR%%/togl.so %%TOGL_INSTDIR%%/togl.h %%TOGL_INSTDIR%%/pkgIndex.tcl @dirrm %%TOGL_INSTDIR%% +%%EXAMPLESDIR%%/Makefile +%%EXAMPLESDIR%%/togl.c +%%EXAMPLESDIR%%/togl.h +%%EXAMPLESDIR%%/image.h +%%EXAMPLESDIR%%/image.c +%%EXAMPLESDIR%%/ben.rgb +%%EXAMPLESDIR%%/tree2.rgba +%%EXAMPLESDIR%%/double.tcl +%%EXAMPLESDIR%%/double.c +%%EXAMPLESDIR%%/gears.tcl +%%EXAMPLESDIR%%/gears.c +%%EXAMPLESDIR%%/index.tcl +%%EXAMPLESDIR%%/index.c +%%EXAMPLESDIR%%/overlay.tcl +%%EXAMPLESDIR%%/overlay.c +%%EXAMPLESDIR%%/stereo.tcl +%%EXAMPLESDIR%%/stereo.c +%%EXAMPLESDIR%%/texture.tcl +%%EXAMPLESDIR%%/texture.c +@dirrm %%EXAMPLESDIR%% |