Index: head/games/construo/files/patch-config.hxx =================================================================== --- head/games/construo/files/patch-config.hxx (revision 382297) +++ head/games/construo/files/patch-config.hxx (nonexistent) @@ -1,10 +0,0 @@ ---- config.hxx.orig 2003-01-11 18:37:26.000000000 +0300 -+++ config.hxx 2013-09-13 20:20:18.512226481 +0400 -@@ -21,6 +21,7 @@ - #define CONFIG_HH - - #include -+#include // for getenv() - - class Config - { Property changes on: head/games/construo/files/patch-config.hxx ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/construo/Makefile =================================================================== --- head/games/construo/Makefile (revision 382297) +++ head/games/construo/Makefile (revision 382298) @@ -1,63 +1,67 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= construo -PORTVERSION= 0.2.2 -PORTREVISION= 7 +PORTVERSION= 0.2.3 CATEGORIES= games -MASTER_SITES= SAVANNAH/construo MAINTAINER= amdmi3@FreeBSD.org COMMENT= Fun construction toy +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= multi +LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING + +USE_GITHUB= yes +GH_ACCOUNT= Construo +GH_TAGNAME= v${PORTVERSION} + GNU_CONFIGURE= yes -USES= gmake +USES= autoreconf gmake USE_XORG= sm ice x11 xext xxf86vm USE_GL= gl glu +CONFIGURE_ARGS= --bindir="${PREFIX}/bin" \ + --datadir="${DATADIR}" CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS= --bindir=${PREFIX}/bin --datadir=${DATADIR} +LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}.x11 +PLIST_FILES= bin/${PORTNAME} \ + bin/${PORTNAME}.x11 PORTDATA= * DESKTOP_ENTRIES="Construo" \ "${COMMENT}" \ "" \ "${PORTNAME}" \ "Game;Simulation;" \ "" OPTIONS_DEFINE= GLUT OPTIONS_DEFAULT=GLUT GLUT_DESC= Use glut .include .if ${PORT_OPTIONS:MGLUT} USE_GL+= glut PLIST_FILES+= bin/${PORTNAME}.glut .endif post-patch: - @${REINPLACE_CMD} \ - -e 's|bindir = .*|bindir = @bindir@|' \ - -e '/^construo_glut_LDADD =/s/$$/ -lGLU -lGL/' \ - ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} 's|pkgdatadir = .*|pkgdatadir = @datadir@/examples|' ${WRKSRC}/examples/Makefile.in - @${REINPLACE_CMD} '/stream/!s/std:://' ${WRKSRC}/vector.cxx - @${REINPLACE_CMD} 's|^\(#define CONSTRUO_DATADIR DATADIR\).*|\1|' ${WRKSRC}/construo.hxx - @${REINPLACE_CMD} 's|.*glut_1_3_glutMainLoop = yes.*|if false; then|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/bindir=/ d' ${WRKSRC}/src/Makefile.am + @${REINPLACE_CMD} '/(freeglut-1.3/ s|glutMainLoop|disabled_&|' \ + ${WRKSRC}/configure.ac .if ! ${PORT_OPTIONS:MGLUT} - @${REINPLACE_CMD} 's|.*glut_glutMainLoop = yes.*|if false; then|' ${WRKSRC}/configure + @${REINPLACE_CMD} '/(glut/ s|glutMainLoop|disabled_&|' \ + ${WRKSRC}/configure.ac .endif post-install: .if ${PORT_OPTIONS:MGLUT} cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ${PORTNAME}.glut ${PORTNAME} .else cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ${PORTNAME}.x11 ${PORTNAME} .endif .include Index: head/games/construo/distinfo =================================================================== --- head/games/construo/distinfo (revision 382297) +++ head/games/construo/distinfo (revision 382298) @@ -1,2 +1,2 @@ -SHA256 (construo-0.2.2.tar.gz) = 93b1dc5c26aab42d886f102e501189982c28d390f8b573f8f4a42bad640ec630 -SIZE (construo-0.2.2.tar.gz) = 442626 +SHA256 (Construo-construo-0.2.3-v0.2.3_GH0.tar.gz) = bd41c5564440af2fcbdf6e3e6f9c7caf67a8f4fbf36307c46d1fe75b1e83fb32 +SIZE (Construo-construo-0.2.3-v0.2.3_GH0.tar.gz) = 423154