openbsd-ports/games/scummvm-tools/Makefile

52 lines
1.4 KiB
Makefile
Raw Normal View History

2009-05-21 08:52:57 -04:00
# $OpenBSD: Makefile,v 1.13 2009/05/21 12:52:57 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-05-21 08:52:57 -04:00
DISTNAME= scummvm-tools-0.13.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
2009-05-21 08:52:57 -04:00
WANTLIB= c m ogg stdc++ vorbis vorbisenc 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
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} \
2006-07-08 00:14:30 -04:00
${WRKBUILD}/compress_{kyra,queen,saga,scumm_san,scumm_bun} \
2007-07-06 21:37:53 -04:00
${WRKBUILD}/compress_{scumm_sou,agos,sword1,sword2,touche} \
2009-05-21 08:52:57 -04:00
${WRKBUILD}/compress_tucker \
${WRKBUILD}/de{cine,kyra,scumm,sword2,gob} \
${WRKBUILD}/encode_dxa \
${WRKBUILD}/extract_{agos,cine,kyra,loom_tg16,mm_apple,mm_c64} \
${WRKBUILD}/extract_{mm_nes,parallaction,scumm_mac,t7g_mac} \
${WRKBUILD}/extract_{zak_c64,gob_stk} \
2004-02-01 01:18:24 -05:00
${PREFIX}/bin
.include <bsd.port.mk>