Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # $OpenBSD: Makefile,v 1.15 2017/04/10 11:45:28 sthen Exp $
  2. COMMENT = Playstation 1 emulator
  3. DISTNAME = pcsxr-1.9.94.r87113p0
  4. PKGNAME = pcsxr-1.9.94beta0
  5. REVISION = 2
  6. CATEGORIES = emulators games
  7. HOMEPAGE = http://pcsxr.codeplex.com/
  8. MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += GL ICE SDL SM X11 X11-xcb Xau Xcomposite Xcursor Xdamage
  12. WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xtst Xv Xxf86vm
  13. WANTLIB += atk-1.0 atk-bridge-2.0 atspi c cairo cairo-gobject cdio
  14. WANTLIB += dbus-1 drm epoxy expat ffi fontconfig freetype gdk-3
  15. WANTLIB += gdk_pixbuf-2.0 gio-2.0 glapi glib-2.0 gmodule-2.0 gobject-2.0
  16. WANTLIB += graphite2 gthread-2.0 gtk-3 harfbuzz m pango-1.0
  17. WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
  18. WANTLIB += pthread-stubs sndio ${LIBCXX} usbhid xcb xcb-dri2 xcb-glx
  19. WANTLIB += xcb-render xcb-shm z
  20. MASTER_SITES = http://www.elsasser.org/openbsd/distfiles/
  21. USE_GMAKE = Yes
  22. MODULES = devel/gettext textproc/intltool
  23. CONFIGURE_STYLE = autoconf
  24. AUTOCONF_VERSION = 2.69
  25. CONFIGURE_ENV = CPPFLAGS="-I${X11BASE}/include" \
  26. LDFLAGS="-L${X11BASE}/lib"
  27. CONFIGURE_ARGS = --enable-libcdio --enable-opengl --enable-dynarec=no
  28. LIBTOOL_FLAGS = --tag=disable-static
  29. LIB_DEPENDS = audio/libcdio \
  30. x11/gtk+3 \
  31. devel/sdl
  32. RUN_DEPENDS = devel/desktop-file-utils
  33. NO_TEST = Yes
  34. post-install:
  35. find ${WRKINST} -name '*.la' -print0 | xargs -0 rm
  36. .include <bsd.port.mk>