openbsd-ports/games/scummvm-tools/Makefile
2011-05-29 14:05:15 +00:00

57 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2011/05/29 14:05:15 jsg 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>
# GPL
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"
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>