Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # $OpenBSD: Makefile,v 1.9 2017/06/01 11:57:42 espie Exp $
  2. COMMENT = interpreter for some LucasArts 3D games
  3. V = 0.2.1
  4. REVISION = 2
  5. DISTNAME = residualvm-${V}-sources
  6. PKGNAME = residualvm-${V}
  7. CATEGORIES = games
  8. HOMEPAGE = http://residualvm.org/
  9. # GPLv2+
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += GL SDL c freetype iconv jpeg m mad mpeg2 ogg png pthread ${LIBECXX}
  12. WANTLIB += theoradec vorbis vorbisfile z
  13. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=residualvm/}
  14. LIB_DEPENDS = audio/libmad \
  15. audio/libvorbis \
  16. converters/libiconv \
  17. devel/sdl \
  18. graphics/jpeg \
  19. graphics/libmpeg2 \
  20. graphics/png \
  21. multimedia/libtheora
  22. RUN_DEPENDS = devel/desktop-file-utils \
  23. x11/gtk+3,-guic
  24. # GCC 4.2.1 miscompiles this on at least ppc, so play safe and
  25. # just use a newer compiler everywhere.
  26. COMPILER = gcc
  27. SEPARATE_BUILD = Yes
  28. USE_GMAKE = Yes
  29. CONFIGURE_STYLE = simple
  30. CONFIGURE_ARGS += --enable-verbose-build \
  31. --mandir=${PREFIX}/man
  32. CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
  33. LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
  34. NO_TEST = Yes
  35. WRKDIST = ${WRKDIR}/residualvm-${V}
  36. post-install:
  37. ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
  38. ${INSTALL_DATA} ${WRKSRC}/dists/residualvm.desktop ${PREFIX}/share/applications/
  39. .include <bsd.port.mk>