Makefile 832 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.8 2017/04/10 11:46:21 sthen Exp $
  2. COMMENT = constructive solid geometry rendering library
  3. V = 1.3.2
  4. DISTNAME = OpenCSG-${V}
  5. PKGNAME = opencsg-${V}
  6. SHARED_LIBS = opencsg 0.0
  7. CATEGORIES = graphics
  8. HOMEPAGE = http://www.opencsg.org/
  9. # GPLv2 with CGAL exception
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += GL GLEW lib/qt4/QtGui m ${LIBCXX} pthread
  12. WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender fontconfig freetype
  13. MODULES = devel/qmake x11/qt4
  14. SEPARATE_BUILD = No
  15. LIB_DEPENDS = graphics/glew
  16. MASTER_SITES = http://www.opencsg.org/
  17. WRKSRC = ${WRKDIST}/src
  18. pre-configure:
  19. ${SUBST_CMD} ${WRKSRC}/src.pro
  20. do-install:
  21. ${INSTALL_DATA} ${WRKDIST}/lib/libopencsg.so.${LIBopencsg_VERSION} \
  22. ${PREFIX}/lib
  23. ${INSTALL_DATA} ${WRKDIST}/include/opencsg.h ${PREFIX}/include
  24. .include <bsd.port.mk>