2004-11-28 06:56:57 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2004/11/28 11:56:57 jsg Exp $
|
2004-02-01 01:18:24 -05:00
|
|
|
|
|
|
|
COMMENT= "collection of various tools for scummvm"
|
2004-09-29 21:34:52 -04:00
|
|
|
# this tarball is horribly packaged
|
|
|
|
VERSION= 0.6.1
|
|
|
|
DISTNAME= scummvm-tools-${VERSION}-src
|
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
|
|
|
WRKDIST= ${WRKDIR}/scummvm-${VERSION}-tools
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
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
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2004-10-01 14:07:26 -04:00
|
|
|
.if (!${MACHINE_ARCH} == "alpha" && !${MACHINE_ARCH} == "amd64" && \
|
|
|
|
!${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 \
|
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} \
|
|
|
|
${WRKBUILD}/descumm \
|
|
|
|
${WRKBUILD}/extract \
|
|
|
|
${WRKBUILD}/simon{1decr,2mp3} \
|
|
|
|
${WRKBUILD}/desword2 \
|
|
|
|
${WRKBUILD}/rescumm \
|
|
|
|
${WRKBUILD}/compress_san \
|
|
|
|
${WRKBUILD}/convbdf \
|
2004-02-01 01:18:24 -05:00
|
|
|
${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|