Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 12:16:55 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382298 - in head/games/construo: . files
Message-ID:  <201503261216.t2QCGtmK036977@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Mar 26 12:16:54 2015
New Revision: 382298
URL: https://svnweb.freebsd.org/changeset/ports/382298
QAT: https://qat.redports.org/buildarchive/r382298/

Log:
  - Update to 0.2.3
  - Switch to new github home
  - Add LICENSE
  - Simplify

Deleted:
  head/games/construo/files/
Modified:
  head/games/construo/Makefile
  head/games/construo/distinfo

Modified: head/games/construo/Makefile
==============================================================================
--- head/games/construo/Makefile	Thu Mar 26 11:36:34 2015	(r382297)
+++ head/games/construo/Makefile	Thu Mar 26 12:16:54 2015	(r382298)
@@ -2,24 +2,32 @@
 # $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" \
@@ -41,16 +49,12 @@ 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:

Modified: head/games/construo/distinfo
==============================================================================
--- head/games/construo/distinfo	Thu Mar 26 11:36:34 2015	(r382297)
+++ head/games/construo/distinfo	Thu Mar 26 12:16:54 2015	(r382298)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503261216.t2QCGtmK036977>