2007-07-06 21:37:53 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2007/07/07 01:39:47 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"
|
2007-07-06 21:37:53 -04:00
|
|
|
DISTNAME= scummvm-tools-0.10.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
|
2004-11-28 17:41:14 -05:00
|
|
|
WANTLIB= c m stdc++ z
|
2004-02-01 01:18:24 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2004-10-01 14:07:26 -04:00
|
|
|
.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-10-01 14:07:26 -04:00
|
|
|
|
2004-02-01 01:18:24 -05:00
|
|
|
CFLAGS+= -DSCUMM_BIG_ENDIAN
|
|
|
|
CXXFLAGS+= -DSCUMM_BIG_ENDIAN
|
|
|
|
.endif
|
|
|
|
|
|
|
|
RUN_DEPENDS= ::audio/lame \
|
2004-09-29 21:34:52 -04:00
|
|
|
::audio/vorbis-tools \
|
|
|
|
::audio/flac
|
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
|
2004-09-29 21:34:52 -04:00
|
|
|
${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} \
|
2005-11-03 05:17:10 -05:00
|
|
|
${WRKBUILD}/de{kyra,scumm,sword2} \
|
2007-07-06 21:37:53 -04:00
|
|
|
${WRKBUILD/extract_{agos,kyra,loom_tg16,mm_apple,mm_c64} \
|
|
|
|
${WRKBUILD}/extract_{mm_nes,scumm_mac,zak_c64} \
|
2004-02-01 01:18:24 -05:00
|
|
|
${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|