123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- # $OpenBSD: Makefile,v 1.9 2017/06/01 11:57:42 espie Exp $
- COMMENT = interpreter for some LucasArts 3D games
- V = 0.2.1
- REVISION = 2
- DISTNAME = residualvm-${V}-sources
- PKGNAME = residualvm-${V}
- CATEGORIES = games
- HOMEPAGE = http://residualvm.org/
- # GPLv2+
- PERMIT_PACKAGE_CDROM = Yes
- WANTLIB += GL SDL c freetype iconv jpeg m mad mpeg2 ogg png pthread ${LIBECXX}
- WANTLIB += theoradec vorbis vorbisfile z
- MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=residualvm/}
- LIB_DEPENDS = audio/libmad \
- audio/libvorbis \
- converters/libiconv \
- devel/sdl \
- graphics/jpeg \
- graphics/libmpeg2 \
- graphics/png \
- multimedia/libtheora
- RUN_DEPENDS = devel/desktop-file-utils \
- x11/gtk+3,-guic
- # GCC 4.2.1 miscompiles this on at least ppc, so play safe and
- # just use a newer compiler everywhere.
- COMPILER = gcc
- SEPARATE_BUILD = Yes
- USE_GMAKE = Yes
- CONFIGURE_STYLE = simple
- CONFIGURE_ARGS += --enable-verbose-build \
- --mandir=${PREFIX}/man
- CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
- NO_TEST = Yes
- WRKDIST = ${WRKDIR}/residualvm-${V}
- post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
- ${INSTALL_DATA} ${WRKSRC}/dists/residualvm.desktop ${PREFIX}/share/applications/
- .include <bsd.port.mk>
|