openbsd-ports/games/scummvm-tools/Makefile

59 lines
1.6 KiB
Makefile
Raw Normal View History

2011-11-12 07:59:58 -05:00
# $OpenBSD: Makefile,v 1.20 2011/11/12 13:02:05 jsg Exp $
2004-02-01 01:18:24 -05:00
COMMENT= collection of various tools for scummvm
2011-11-12 07:59:58 -05:00
DISTNAME= scummvm-tools-1.4.0
2004-02-01 01:18:24 -05:00
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scummvm/}
HOMEPAGE= http://scummvm.sourceforge.net/
2004-11-28 06:56:57 -05:00
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
2004-02-01 01:18:24 -05:00
# GPLv2+
2004-02-01 01:18:24 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2011-05-29 10:05:15 -04:00
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
2004-02-01 01:18:24 -05:00
NO_REGRESS= Yes
USE_GMAKE= Yes
2010-11-16 06:23:25 -05:00
LIB_DEPENDS= audio/flac \
graphics/png \
2011-05-29 10:05:15 -04:00
audio/libvorbis \
audio/libmad \
x11/wxWidgets
2009-05-21 08:52:57 -04:00
2010-11-16 06:23:25 -05:00
RUN_DEPENDS= audio/lame \
audio/vorbis-tools
2004-02-01 01:18:24 -05:00
2011-05-29 10:05:15 -04:00
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
2011-05-29 10:05:15 -04:00
2004-02-01 01:18:24 -05:00
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scummvm-tools
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/scummvm-tools
2011-05-29 10:05:15 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/scummvm-tools
${INSTALL_DATA} ${WRKSRC}/gui/media/{logo.jpg,detaillogo.jpg,tile.gif} \
${PREFIX}/share/scummvm-tools
${INSTALL_PROGRAM} \
2011-05-29 10:05:15 -04:00
${WRKBUILD}/scummvm-tools \
${WRKBUILD}/scummvm-tools-cli \
${WRKBUILD}/de{cine,kyra,scumm,sword2,gob,riven} \
${WRKBUILD}/extract_mohawk \
${WRKBUILD}/construct_mohawk \
${WRKBUILD}/gob_loadcalc \
2004-02-01 01:18:24 -05:00
${PREFIX}/bin
.include <bsd.port.mk>