Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 12:14:56 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339346 - head/emulators/catapult
Message-ID:  <201401101214.s0ACEuF7085638@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Fri Jan 10 12:14:56 2014
New Revision: 339346
URL: http://svnweb.freebsd.org/changeset/ports/339346

Log:
  - Update to 0.10.0
    This version requires WX 2.8+ and a modern C++0x compiler
  - Adopt port

Modified:
  head/emulators/catapult/Makefile
  head/emulators/catapult/distinfo

Modified: head/emulators/catapult/Makefile
==============================================================================
--- head/emulators/catapult/Makefile	Fri Jan 10 12:13:56 2014	(r339345)
+++ head/emulators/catapult/Makefile	Fri Jan 10 12:14:56 2014	(r339346)
@@ -2,13 +2,12 @@
 # $FreeBSD$
 
 PORTNAME=	catapult
-PORTVERSION=	0.9.1
-PORTREVISION=	4
+PORTVERSION=	0.10.0
 CATEGORIES=	emulators
 MASTER_SITES=	SF/openmsx/openmsx/${PORTVERSION}
 DISTNAME=	openmsx-${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	johans@FreeBSD.org
 COMMENT=	GUI for openMSX
 
 LICENSE=	GPLv2
@@ -19,8 +18,10 @@ RUN_DEPENDS=	openmsx:${PORTSDIR}/emulato
 OPTIONS_DEFINE=	DEBUG DOCS
 
 USES=		gmake pkgconfig
+USE_GCC=	4.6+
+USE_CXXSTD=	gnu++0x
 USE_GNOME=	gtk20 libxml2
-USE_WX=		2.6+
+USE_WX=		2.8+
 USE_PYTHON_BUILD=yes
 MAKEFILE=	GNUmakefile
 MAKE_ARGS=	INSTALL_BASE="${STAGEDIR}${PREFIX}" \
@@ -47,10 +48,12 @@ post-extract:
 	${CP} ${WRKSRC}/build/platform-freebsd.mk \
 		${WRKSRC}/build/platform-dragonfly.mk
 
+.include <bsd.port.pre.mk>
+
 post-patch:
 	@${REINPLACE_CMD} 's|$$(INSTALL_BASE)|${DATADIR}|' \
 		${WRKSRC}/build/info2code.mk
-	@${REINPLACE_CMD} '/--no-strict-aliasing/s|^CXXFLAGS|#CXXFLAGS| ; \
+	@${REINPLACE_CMD} '/-Wno-literal/s|^CXXFLAGS|#CXXFLAGS| ; \
 		 /--cxx/s|^CXX|#CXX| ; \
 		 /COMPILE=/s|g++|$$(CXX)| ; \
 		 s|@$$(CXX)|$$(CXX)|' ${WRKSRC}/build/main.mk
@@ -63,14 +66,16 @@ post-patch:
 	@${ECHO_CMD} > ${WRKSRC}/build/flavour-portbld.mk
 	@${ECHO_CMD} 'CXXFLAGS+=${CXXFLAGS}' \
 		>> ${WRKSRC}/build/flavour-portbld.mk
+	@${ECHO_CMD} 'LINK_FLAGS+=${LDFLAGS}' \
+		>> ${WRKSRC}/build/flavour-portbld.mk
 	@${ECHO_CMD} 'CATAPULT_STRIP:=${CATAPULT_STRIP}' \
 		>> ${WRKSRC}/build/flavour-portbld.mk
 
 post-install:
-	${MKDIR} ${STAGEDIR}${DATADIR}/resources/icons
-	${INSTALL_DATA} ${WRKSRC}/src/catapult.xpm \
+	@${MKDIR} ${STAGEDIR}${DATADIR}/resources/icons
+	@${INSTALL_DATA} ${WRKSRC}/src/catapult.xpm \
 		${STAGEDIR}${DATADIR}/resources/icons
-	(cd ${WRKSRC}/desktop && ${INSTALL_DATA} openMSX-Catapult.desktop \
-		${STAGEDIR}${DESKTOPDIR})
+	@cd ${WRKSRC}/desktop && ${INSTALL_DATA} openMSX-Catapult.desktop \
+		${STAGEDIR}${DESKTOPDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/emulators/catapult/distinfo
==============================================================================
--- head/emulators/catapult/distinfo	Fri Jan 10 12:13:56 2014	(r339345)
+++ head/emulators/catapult/distinfo	Fri Jan 10 12:14:56 2014	(r339346)
@@ -1,2 +1,2 @@
-SHA256 (openmsx-catapult-0.9.1.tar.gz) = 856e46c6246e941f397d963b43bae44a942772c6b9a98a90f28f6286812ad9f5
-SIZE (openmsx-catapult-0.9.1.tar.gz) = 1284353
+SHA256 (openmsx-catapult-0.10.0.tar.gz) = a8f4ca60ea46f39102146221c506b1f2ad1a0a4bae792bbcdb9f7cfacb6975d5
+SIZE (openmsx-catapult-0.10.0.tar.gz) = 1275962



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