diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-02-06 23:17:26 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-02-06 23:17:26 +0000 |
commit | d20a301338359a4e92c11049224662a0c6da4ce1 (patch) | |
tree | 15e6e4be3952d596cc5ddb53a4abe3a6804544f4 /graphics/togl | |
parent | 0016f88fa9f8c8a1d974c14a890f087e740740ab (diff) | |
download | ports-d20a301338359a4e92c11049224662a0c6da4ce1.tar.gz ports-d20a301338359a4e92c11049224662a0c6da4ce1.zip |
Notes
Diffstat (limited to 'graphics/togl')
-rw-r--r-- | graphics/togl/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/graphics/togl/Makefile b/graphics/togl/Makefile index e32d7da69d8a..c3ee69ffcf61 100644 --- a/graphics/togl/Makefile +++ b/graphics/togl/Makefile @@ -14,11 +14,11 @@ COMMENT= Tk OpenGL widget LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES+= gmake tk +USES= gmake tk USE_XORG= x11 xt xmu USE_GL= gl GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-tk=${TK_LIBDIR} \ +CONFIGURE_ARGS= --with-tk=${TK_LIBDIR} \ --with-tcl=${TCL_LIBDIR} \ --with-tclinclude=${TCL_INCLUDEDIR} USE_LDCONFIG= yes @@ -28,12 +28,10 @@ TOGL_INSTDIR= ${PREFIX}/lib/${DISTNAME} CPPFLAGS+= -I${TK_INCLUDEDIR} LDFLAGS+= -L${TK_LIBDIR} -PLIST_SUB+= TK_VER=${TK_VER} +PLIST_SUB= TK_VER=${TK_VER} OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|wish |${WISH:T} |' ${WRKSRC}/*.tcl @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/g' \ @@ -48,11 +46,12 @@ do-install: ${LN} -s libTogl1.7.so ${STAGEDIR}${TOGL_INSTDIR}/libtogl.so.1 ${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so ${STAGEDIR}${PREFIX}/lib/libtogl.so ${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so ${STAGEDIR}${PREFIX}/lib/libtogl.so.1 -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Togl.html ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/Makefile ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/ben.rgb ${STAGEDIR}${EXAMPLESDIR} @@ -65,6 +64,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/texture.c ${WRKSRC}/texture.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/togl.c ${WRKSRC}/togl.h ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tree2.rgba ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> |