diff options
author | pav <pav@FreeBSD.org> | 2005-06-03 12:29:22 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-06-03 12:29:22 +0000 |
commit | 9b8eeff60d7538a687a62b5ded7e024c697b71a6 (patch) | |
tree | 3103c53ccf63a21beb41d15d6100e35a0c094842 | |
parent | 4600b54dca7f7e20c4abc5a08b9eae124313a140 (diff) | |
download | FreeBSD-ports-9b8eeff60d7538a687a62b5ded7e024c697b71a6.zip FreeBSD-ports-9b8eeff60d7538a687a62b5ded7e024c697b71a6.tar.gz |
- Unmark DEPRECATED, it seems to work
- Install useful examples
PR: ports/76293, ports/81708
Submitted by: Mike <mspam@ideaway.net>
-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 6575b7c..56f6442 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 46775f0..e6a343f 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%% |