Makefile 723 B

123456789101112131415161718192021222324252627282930
  1. # $OpenBSD: Makefile,v 1.17 2016/03/11 20:28:26 naddy Exp $
  2. # no libGL (toolchain issue)
  3. NOT_FOR_ARCHS= m88k
  4. COMMENT = open source alternative to glut
  5. DISTNAME = freeglut-2.8.0
  6. REVISION = 4
  7. SHARED_LIBS = glut 5.0
  8. CATEGORIES = graphics
  9. HOMEPAGE = http://freeglut.sourceforge.net/
  10. MAINTAINER = Tobias Ulmer <tobiasu@tmux.org>
  11. # X11
  12. PERMIT_PACKAGE_CDROM = Yes
  13. WANTLIB += GL X11 X11-xcb Xdamage Xext Xfixes Xi Xrandr
  14. WANTLIB += Xrender Xxf86vm drm expat glapi m expat pthread
  15. WANTLIB += usbhid xcb xcb-dri2 xcb-glx
  16. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=freeglut/}
  17. CONFIGURE_STYLE = gnu
  18. CONFIGURE_ARGS += --enable-warnings=no
  19. CONFIGURE_ENV += LDFLAGS="-L${X11BASE}/lib"
  20. NO_TEST = Yes
  21. .include <bsd.port.mk>