Makefile 993 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.22 2017/04/10 11:46:21 sthen Exp $
  2. COMMENT= parametrical modeling of 3D humanoid characters
  3. DISTNAME= makehuman-0.9.1-rc1a
  4. PKGNAME= makehuman-0.9.1rc1
  5. CATEGORIES= graphics
  6. REVISION= 2
  7. HOMEPAGE= http://www.dedalo-3d.com/
  8. # GPLv2 / MIT
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += GL GLU ICE SM X11 Xdamage Xext Xfixes Xi Xmu Xt Xxf86vm
  11. WANTLIB += animorph c drm glut m mhgui 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. # gcp(1), see pre-configure
  16. BUILD_DEPENDS= sysutils/coreutils
  17. RUN_DEPENDS= graphics/aqsis
  18. LIB_DEPENDS= graphics/mhgui>=0.2
  19. CONFIGURE_STYLE=gnu
  20. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  21. LDFLAGS="-L${LOCALBASE}/lib"
  22. pre-configure:
  23. sed -i 's,cp --parents,gcp --parents,g' \
  24. ${WRKSRC}/{data,pixmaps}/Makefile.in
  25. # remove useless files (ChangeLog, INSTALL...)
  26. post-install:
  27. rm -r ${PREFIX}/doc
  28. .include <bsd.port.mk>