2012-11-01 23:43:18 +01:00
|
|
|
# Created by: alepulver
|
2007-02-28 06:31:30 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qmc2
|
2013-09-20 11:23:01 +02:00
|
|
|
PORTVERSION= 0.40
|
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
- 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
- Removed compatibility with K&R compilers, which was untestable due
to lack of such compilers.
- New functions
. mpc_log10
. mpc_mul_2si, mpc_div_2si
- Speed-ups
. mpc_fma
- Bug fixes
. mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions.
. mpc_mul, mpc_sqr and mpc_norm now return correct results even if
there are over- or underflows during the computation.
. mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected.
. mpc_fr_sub: Wrong return value for imaginary part is corrected.
Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.
Bump PORTREVISIONS of all dependent ports.
PR: 183141
Approved by: portmgr (bdrewery)
2013-10-26 02:52:33 +02:00
|
|
|
PORTREVISION= 1
|
2007-02-28 06:31:30 +01:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
2012-01-17 23:04:40 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-11-01 23:43:18 +01:00
|
|
|
COMMENT= Qt4 based UNIX MAME/MESS frontend
|
2008-04-09 04:02:24 +02:00
|
|
|
|
2012-03-13 16:52:52 +01:00
|
|
|
RUN_DEPENDS= mame:${PORTSDIR}/emulators/mame \
|
|
|
|
mess:${PORTSDIR}/emulators/mess
|
|
|
|
|
2012-06-17 22:19:01 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2012-03-13 16:52:52 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
2007-02-28 06:31:30 +01:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2013-02-05 10:10:32 +01:00
|
|
|
USE_XORG= xmu
|
2012-03-13 16:52:52 +01:00
|
|
|
USE_GL= glu
|
2013-02-05 10:10:32 +01:00
|
|
|
USE_QT4= gui opengl phonon qtestlib webkit xml \
|
|
|
|
moc_build qmake_build rcc_build uic_build
|
2012-03-13 16:52:52 +01:00
|
|
|
USE_SDL= sdl
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS= QTDIR="${QT_PREFIX}" QMAKE="${QMAKE}" \
|
|
|
|
SYSCONFDIR="${PREFIX}/etc" ARCH="${OPSYS}" \
|
|
|
|
CC_FLAGS="${CFLAGS}" CXX_FLAGS="${CXXFLAGS}" \
|
|
|
|
CC="${CC}" CXX="${CXX}" LINK="${CXX}"
|
2007-02-28 06:31:30 +01:00
|
|
|
|
2013-01-07 03:07:26 +01:00
|
|
|
DESKTOP_ENTRIES="QMC2 (MAME)" "MAME frontend" "${DATADIR}/img/mame.png" \
|
|
|
|
"${PORTNAME}-sdlmame" "Game;Emulator;Qt;" "true" \
|
|
|
|
"QMC2 (MESS)" "MESS frontend" "${DATADIR}/img/mess.png" \
|
|
|
|
"${PORTNAME}-sdlmess" "Game;Emulator;Qt;" "true"
|
2012-11-01 23:43:18 +01:00
|
|
|
|
2013-09-20 18:43:52 +02:00
|
|
|
NO_STAGE= yes
|
2012-06-17 22:19:01 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-03-13 16:52:52 +01:00
|
|
|
post-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}/qmc2-sdlmess
|
|
|
|
@(cd ${WRKSRC}/qmc2; ${COPYTREE_SHARE} . ../qmc2-sdlmess)
|
|
|
|
@${FIND} ${WRKSRC} -name "*.sh" | ${XARGS} ${CHMOD} ${BINMODE}
|
2009-03-18 03:24:02 +01:00
|
|
|
|
|
|
|
post-patch:
|
2012-03-13 16:52:52 +01:00
|
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
@(cd ${WRKSRC}/qmc2/inst; ${SED} -e 's|DATADIR|${PREFIX}/share|' \
|
|
|
|
< qmc2.ini.template > qmc2.ini)
|
2009-03-18 03:24:02 +01:00
|
|
|
|
|
|
|
do-install:
|
2012-03-13 16:52:52 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qmc2/qmc2-sdlmame ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qmc2-sdlmess/qmc2-sdlmess ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${ETCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/qmc2/inst/qmc2.ini ${ETCDIR}
|
|
|
|
@${MKDIR} ${DATADIR}/img
|
|
|
|
@(cd ${WRKSRC}/qmc2/data/img; ${COPYTREE_SHARE} . ${DATADIR}/img)
|
|
|
|
@${MKDIR} ${DATADIR}/lng
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/qmc2/data/lng/qmc2_*.qm ${DATADIR}/lng
|
|
|
|
@${MKDIR} ${DATADIR}/opt
|
|
|
|
@(cd ${WRKSRC}/qmc2/data/opt; ${COPYTREE_SHARE} . ${DATADIR}/opt)
|
2012-06-17 22:19:01 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2012-03-13 16:52:52 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}/html
|
|
|
|
@(cd ${WRKSRC}/qmc2/data/doc/html; ${COPYTREE_SHARE} . ${DOCSDIR}/html)
|
2009-03-18 03:24:02 +01:00
|
|
|
.endif
|
2007-02-28 06:31:30 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2012-03-13 16:52:52 +01:00
|
|
|
.include <bsd.port.mk>
|