openbsd-ports/games/scummvm-tools/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

2005-11-03 05:17:10 -05:00
# $OpenBSD: Makefile,v 1.8 2005/11/03 10:17:10 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"
2005-11-03 05:17:10 -05:00
DISTNAME= scummvm-tools-0.8.0
PKGNAME= ${DISTNAME}
WRKDIST= ${WRKDIR}/${DISTNAME:S/scummvm-//}
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
.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
RUN_DEPENDS= ::audio/lame \
::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
${INSTALL_PROGRAM} \
2005-11-03 05:17:10 -05:00
${WRKBUILD}/compress_{queen,san,scumm_bun,scumm_sou} \
${WRKBUILD}/compress_{simon,sword1,sword2} \
${WRKBUILD}/de{kyra,scumm,sword2} \
${WRKBUILD/extract_{mm_nes,scumm_mac,zak_c64} \
2004-02-01 01:18:24 -05:00
${PREFIX}/bin
.include <bsd.port.mk>