openbsd-ports/games/scummvm-tools/Makefile
sthen 138e1a9486 there was no path to reach vorbis,vorbisenc (listed in WANTLIB) via
a dependency so building on a clean machine failed; move them to LIB_DEPENDS
and bump PKGNAME. ok jsg@
2009-08-07 13:01:52 +00:00

54 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2009/08/07 13:01:52 sthen Exp $
# XXX hardcoded endian list
COMMENT= collection of various tools for scummvm
DISTNAME= scummvm-tools-0.13.0
PKGNAME= ${DISTNAME}p0
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
NO_REGRESS= Yes
USE_GMAKE= Yes
.if (!${MACHINE_ARCH} == "alpha" && !${MACHINE_ARCH} == "amd64" && \
!${MACHINE_ARCH} == "arm" && !${MACHINE_ARCH} == "i386" && \
!${MACHINE_ARCH} == "vax")
CFLAGS+= -DSCUMM_BIG_ENDIAN
CXXFLAGS+= -DSCUMM_BIG_ENDIAN
.endif
LIB_DEPENDS= FLAC::audio/flac \
png::graphics/png \
vorbis,vorbisenc::audio/libvorbis
RUN_DEPENDS= ::audio/lame \
::audio/vorbis-tools
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scummvm-tools
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/scummvm-tools
${INSTALL_PROGRAM} \
${WRKBUILD}/compress_{kyra,queen,saga,scumm_san,scumm_bun} \
${WRKBUILD}/compress_{scumm_sou,agos,sword1,sword2,touche} \
${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} \
${PREFIX}/bin
.include <bsd.port.mk>