- Update to 2.7.8 - Fix docs - Fix examples, use executable Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports) How-To-Repeat: Is this good how examples are installed? Must be +x, can't use COPYTREE_SHARE. Can't use USES= pathfix because this must be changed, and isn't in Uses/pathfix.mk ${WRKSRC}/lib/x11/Makefile.x11.in Build log https://redports.org/buildarchive/20130409183500-16351/
Responsible Changed From-To: freebsd-ports-bugs->beech beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
Author: miwi Date: Sat Jun 8 02:27:06 2013 New Revision: 320230 URL: http://svnweb.freebsd.org/changeset/ports/320230 Log: - Update to 2.7.8 - Fix docs - Fix examples, use executable PR: 178846 Submitted by: maintainer Modified: head/graphics/glfw/Makefile head/graphics/glfw/distinfo Modified: head/graphics/glfw/Makefile ============================================================================== --- head/graphics/glfw/Makefile Fri Jun 7 23:49:53 2013 (r320229) +++ head/graphics/glfw/Makefile Sat Jun 8 02:27:06 2013 (r320230) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= glfw -PORTVERSION= 2.7.7 +PORTVERSION= 2.7.8 CATEGORIES= graphics MASTER_SITES= SF @@ -22,7 +22,7 @@ INSTALL_TARGET= x11-install USE_XORG= x11 xau xcb xdamage xdmcp xext xfixes xrandr xrender xxf86vm USE_GL= glu USE_LDCONFIG= yes -MAKE_JOBS_UNSAFE=yes +MAKE_JOBS_UNSAFE= yes PLIST_FILES= include/GL/glfw.h \ lib/libglfw.a \ @@ -30,8 +30,25 @@ PLIST_FILES= include/GL/glfw.h \ lib/libglfw.so.0 \ libdata/pkgconfig/libglfw.pc -PORTDOCS= *.pdf -PORTEXAMPLES= Makefile.x11.in *.c *.tga +PORTDOCS= * + +DOCSRCDIR1= ${WRKSRC} +DOC_FILES1= *.html + +DOCSRCDIR2= ${WRKSRC}/docs +DOCSDIR2= ${DOCSDIR}/docs +DOC_FILES2= *.pdf *.sty *.tex *.txt + +PORTEXAMPLES= * + +EXAMPLESSRCDIR1= ${WRKSRC}/examples +EXAMPLES_FILES1= boing gears heightmap listmodes mipmaps mtbench mthello \ + pong3d splitview triangle wave + +EXAMPLESSRCDIR2= ${WRKSRC}/tests +EXAMPLESDIR2= ${EXAMPLESDIR}/tests +EXAMPLES_FILES2= accuracy defaults dynamic events fsaa fsinput iconify \ + joysticks peter reopen tearing version .include <bsd.port.options.mk> @@ -52,15 +69,18 @@ post-install: ${LN} -sf ${PREFIX}/lib/libglfw.so.0 ${PREFIX}/lib/libglfw.so .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} + @${MKDIR} ${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} .endif .if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} -.for e in ${PORTEXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/examples/${e} ${EXAMPLESDIR} -.endfor + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR1}/|} ${EXAMPLESDIR} + ${INSTALL_DATA} ${EXAMPLESSRCDIR1}/*.tga ${EXAMPLESDIR} + @${MKDIR} ${EXAMPLESDIR2} + ${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR2}/|} ${EXAMPLESDIR2} .endif .include <bsd.port.mk> Modified: head/graphics/glfw/distinfo ============================================================================== --- head/graphics/glfw/distinfo Fri Jun 7 23:49:53 2013 (r320229) +++ head/graphics/glfw/distinfo Sat Jun 8 02:27:06 2013 (r320230) @@ -1,2 +1,2 @@ -SHA256 (glfw-2.7.7.tar.bz2) = 422e755979524a1da28e4addcae723b7132998ca15e89be41bf34964d9360aa2 -SIZE (glfw-2.7.7.tar.bz2) = 927805 +SHA256 (glfw-2.7.8.tar.bz2) = 86b570a405353ab17a54461ec8b4871f59df6a49897a09f48acfd4dee9a9848b +SIZE (glfw-2.7.8.tar.bz2) = 946926 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"