3fda09c32f
- honour CXX/CXXFLAGS in scummvm-tools, as done in scummvm already - sync WANTLIB in scummvm - use a more specific license marker ok jsg@
59 lines
1.6 KiB
Makefile
59 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.19 2011/05/29 20:41:50 sthen Exp $
|
|
|
|
COMMENT= collection of various tools for scummvm
|
|
DISTNAME= scummvm-tools-1.3.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scummvm/}
|
|
|
|
HOMEPAGE= http://scummvm.sourceforge.net/
|
|
|
|
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c m ogg stdc++ z FLAC mad png pthread vorbis \
|
|
vorbisenc vorbisfile \
|
|
wx_base_net wx_base wx_base_odbc wx_base_xml \
|
|
wx_gtk2_adv wx_gtk2_aui wx_gtk2_core \
|
|
wx_gtk2_dbgrid wx_gtk2_html wx_gtk2_qa \
|
|
wx_gtk2_richtext wx_gtk2_xrc
|
|
|
|
NO_REGRESS= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
LIB_DEPENDS= audio/flac \
|
|
graphics/png \
|
|
audio/libvorbis \
|
|
audio/libmad \
|
|
x11/wxWidgets
|
|
|
|
RUN_DEPENDS= audio/lame \
|
|
audio/vorbis-tools
|
|
|
|
CONFIGURE_STYLE=simple
|
|
CONFIGURE_ARGS+=--disable-boost
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
MAKE_ENV= CXXFLAGS="${CXXFLAGS}" CXX="${CXX}" VERBOSE_BUILD=1
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scummvm-tools
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/scummvm-tools
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/scummvm-tools
|
|
${INSTALL_DATA} ${WRKSRC}/gui/media/{logo.jpg,detaillogo.jpg,tile.gif} \
|
|
${PREFIX}/share/scummvm-tools
|
|
${INSTALL_PROGRAM} \
|
|
${WRKBUILD}/scummvm-tools \
|
|
${WRKBUILD}/scummvm-tools-cli \
|
|
${WRKBUILD}/de{cine,kyra,scumm,sword2,gob,riven} \
|
|
${WRKBUILD}/extract_mohawk \
|
|
${WRKBUILD}/construct_mohawk \
|
|
${WRKBUILD}/gob_loadcalc \
|
|
${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|