mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update to 0.10.0
This version requires WX 2.8+ and a modern C++0x compiler - Adopt port
This commit is contained in:
parent
82a3f3c09d
commit
ed5c9ae59e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339346
@ -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}/emulators/openmsx
|
||||
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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user