version 1.1, 2011/11/13 21:44:30 |
version 1.2, 2013/06/12 16:01:39 |
|
|
# $OpenBSD$ |
# $OpenBSD$ |
VMEM_WARNING = Yes |
VMEM_WARNING = Yes |
#BROKEN = CGameHandler.cpp:5226: error: no matching function for call to 'CCreature::getRandomAmount(int ()()) const' |
#BROKEN = /usr/local/lib/gcc/x86_64-unknown-openbsd5.3/4.6.4/../../../../include/c++/4.6.4/bits/stl_list.h:113:71: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = ILogTarget, _Dp = std::default_delete<ILogTarget>, std::unique_ptr<_Tp, _Dp> = std::unique_ptr<ILogTarget>]' |
|
SHARED_ONLY = Yes |
|
|
COMMENT = rewrite of the HoMM3 engine |
COMMENT = rewrite of the HoMM3 engine |
|
|
DISTNAME = vcmi-0.86 |
DISTNAME = vcmi-0.93 |
|
|
SHARED_LIBS = vcmi 0.0 # 0.0 |
SHARED_LIBS = vcmi 0.0 # 0.0 |
|
|
|
|
|
|
HOMEPAGE = http://forum.vcmi.eu/portal.php |
HOMEPAGE = http://forum.vcmi.eu/portal.php |
|
|
#MAINTAINER = ??? |
MAINTAINER = Kirill Bychkov <kirby@openbsd.org> |
|
|
# GPLv2 |
# GPLv2 |
PERMIT_PACKAGE_CDROM = Yes |
PERMIT_PACKAGE_CDROM = Yes |
PERMIT_PACKAGE_FTP = Yes |
|
PERMIT_DISTFILES_CDROM =Yes |
|
PERMIT_DISTFILES_FTP = Yes |
|
|
|
WANTLIB = c freetype m pthread sndio stdc++ usbhid z |
WANTLIB = c freetype m pthread sndio stdc++ usbhid z |
|
|
MASTER_SITES = http://www.linklevel.net/distfiles/ |
MASTER_SITES = http://download.vcmi.eu/ |
|
|
#MODULES = ??? |
MODULES = devel/cmake gcc4 |
|
MODGCC4_ARCHS = * |
|
MODGCC4_LANGS += c++ |
#BUILD_DEPENDS = ??? |
#BUILD_DEPENDS = ??? |
#RUN_DEPENDS = ??? |
RUN_DEPENDS = devel/desktop-file-utils |
LIB_DEPENDS = audio/libvorbis \ |
LIB_DEPENDS = audio/libvorbis \ |
devel/boost \ |
devel/boost \ |
devel/sdl-image \ |
devel/sdl-image \ |
|
|
graphics/png \ |
graphics/png \ |
multimedia/libtheora |
multimedia/libtheora |
|
|
USE_GMAKE = Yes |
#USE_LIBTOOL = gnu |
USE_LIBTOOL = gnu |
CONFIGURE_ARGS += -DCMAKE_CXX_FLAGS=-pthread |
CONFIGURE_STYLE = gnu |
# --with-boost-iostreams=mt \ |
CONFIGURE_ARGS += --disable-debug \ |
# --with-boost-filesystem=mt \ |
--with-boost-iostreams=mt \ |
# --with-boost-thread=mt \ |
--with-boost-filesystem=mt \ |
# --with-boost-system=mt \ |
--with-boost-thread=mt \ |
# ${CONFIGURE_SHARED} |
--with-boost-system=mt \ |
#CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ |
${CONFIGURE_SHARED} |
# LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread" |
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ |
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread" |
|
|
|
NO_REGRESS = Yes |
NO_TEST = Yes |
|
|
#pre-patch: |
#pre-patch: |
# @perl -i -pe 's/\r$$//' ${WRKSRC}/lib/Interprocess.h |
# @perl -i -pe 's/\r$$//' ${WRKSRC}/lib/Interprocess.h |
pre-configure: |
|
@perl -pi -e s'|-lpthread|-pthread|g' ${WRKSRC}/lib/Makefile.in |
|
|
|
.include <bsd.port.mk> |
.include <bsd.port.mk> |