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