Makefile 881 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.21 2017/04/10 11:46:21 sthen Exp $
  2. COMMENT= GUI widget library used in MakeHuman
  3. DISTNAME= mhgui-0.2
  4. CATEGORIES= graphics
  5. REVISION= 3
  6. SHARED_LIBS += mhgui 1.0 # unknown
  7. HOMEPAGE= http://www.dedalo-3d.com/
  8. # LGPLv2.1
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += GL GLU ICE SM X11 Xdamage Xext Xfixes Xi Xmu Xt Xxf86vm
  11. WANTLIB += animorph drm glut m png ${LIBCXX} xcb z
  12. WANTLIB += X11-xcb Xrandr Xrender glapi pthread
  13. WANTLIB += usbhid xcb-dri2 xcb-glx expat
  14. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=makehuman/}
  15. LIB_DEPENDS= graphics/animorph>=0.3 \
  16. graphics/freeglut \
  17. graphics/png
  18. CONFIGURE_STYLE=gnu
  19. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/GL" \
  20. LDFLAGS="-L${LOCALBASE}/lib -lz -lm"
  21. # remove useless files (ChangeLog, INSTALL...)
  22. post-install:
  23. rm -r ${PREFIX}/share/doc
  24. .include <bsd.port.mk>