openbsd-ports/games/scummvm-tools/Makefile

53 lines
1.5 KiB
Makefile
Raw Normal View History

2009-12-09 16:55:01 -05:00
# $OpenBSD: Makefile,v 1.15 2009/12/09 21:55:01 jsg Exp $
2005-06-24 11:25:37 -04:00
# XXX hardcoded endian list
2004-02-01 01:18:24 -05:00
COMMENT= collection of various tools for scummvm
2009-12-09 16:55:01 -05:00
DISTNAME= scummvm-tools-1.0.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
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ogg stdc++ z
2004-02-01 01:18:24 -05:00
NO_REGRESS= Yes
USE_GMAKE= Yes
.if (!${MACHINE_ARCH} == "alpha" && !${MACHINE_ARCH} == "amd64" && \
2005-06-24 11:25:37 -04:00
!${MACHINE_ARCH} == "arm" && !${MACHINE_ARCH} == "i386" && \
!${MACHINE_ARCH} == "vax")
2004-02-01 01:18:24 -05:00
CFLAGS+= -DSCUMM_BIG_ENDIAN
CXXFLAGS+= -DSCUMM_BIG_ENDIAN
.endif
2009-05-21 08:52:57 -04:00
LIB_DEPENDS= FLAC::audio/flac \
png::graphics/png \
vorbis,vorbisenc::audio/libvorbis
2009-05-21 08:52:57 -04:00
2004-02-01 01:18:24 -05:00
RUN_DEPENDS= ::audio/lame \
2009-05-21 08:52:57 -04:00
::audio/vorbis-tools
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
${INSTALL_PROGRAM} \
2009-12-09 16:55:01 -05:00
${WRKBUILD}/compress_{agos,gob,kyra,queen,saga} \
${WRKBUILD}/compress_{scumm_bun,scumm_san,scumm_sou} \
${WRKBUILD}/compress_{sword1,sword2,tinsel,touche,tucker} \
2009-05-21 08:52:57 -04:00
${WRKBUILD}/de{cine,kyra,scumm,sword2,gob} \
${WRKBUILD}/encode_dxa \
2009-12-09 16:55:01 -05:00
${WRKBUILD}/extract_{agos,cine,cruise_pc,kyra,loom_tg16} \
${WRKBUILD}/extract_{mm_apple,mm_c64,mm_nes,parallaction} \
${WRKBUILD}/extract_{scumm_mac,t7g_mac,zak_c64,gob_stk} \
2004-02-01 01:18:24 -05:00
${PREFIX}/bin
.include <bsd.port.mk>