# Created by: Michael Reifenberger # $FreeBSD: head/graphics/opencsg/Makefile 367888 2014-09-10 20:50:31Z gerald $ PORTNAME= opencsg PORTVERSION= 1.3.2 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.opencsg.org/ DISTNAME= OpenCSG-${PORTVERSION} MAINTAINER= mr@FreeBSD.org COMMENT= Constructive Solid Geometry rendering library USES= qmake USE_GL= glew USE_QT4= corelib gui WRKSRC= ${WRKDIR}/${DISTNAME}/src PLIST_SUB= PORTVERSION=${PORTVERSION} do-install: ${INSTALL_LIB} ${WRKDIR}/${DISTNAME}/lib/libopencsg.so.${PORTVERSION} \ ${STAGEDIR}${PREFIX}/lib ${LN} -sf libopencsg.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopencsg.so.1 ${LN} -sf libopencsg.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopencsg.so ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/include/opencsg.h ${STAGEDIR}${PREFIX}/include .include