diff options
author | Michael Reifenberger <mr@FreeBSD.org> | 2011-08-19 10:54:46 +0000 |
---|---|---|
committer | Michael Reifenberger <mr@FreeBSD.org> | 2011-08-19 10:54:46 +0000 |
commit | 717babfdc4b4e9988fd8bc2686710b975ded30ec (patch) | |
tree | 4add11e79b2b938fc2b6f291fc2dacdfaae6d47c /graphics/opencsg/Makefile | |
parent | 8db88ed817ede69fc2d0f46c8bd9bf92dec7db35 (diff) | |
download | ports-717babfdc4b4e9988fd8bc2686710b975ded30ec.tar.gz ports-717babfdc4b4e9988fd8bc2686710b975ded30ec.zip |
Notes
Diffstat (limited to 'graphics/opencsg/Makefile')
-rw-r--r-- | graphics/opencsg/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/opencsg/Makefile b/graphics/opencsg/Makefile new file mode 100644 index 000000000000..f666ba12d8c8 --- /dev/null +++ b/graphics/opencsg/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: opencsg +# Date created: 17 August 2011 +# Whom: Michael Reifenberger <mr@freebsd.org> +# +# $FreeBSD$ +# + +PORTNAME= opencsg +PORTVERSION= 1.3.1 +#PORTREVISION= 0 +CATEGORIES= graphics +MASTER_SITES= http://www.opencsg.org/ +DISTNAME= OpenCSG-${PORTVERSION} + +MAINTAINER= mr@FreeBSD.org +COMMENT= Constructive Solid Geometry rendering library + +USE_GL= glew +WRKSRC= ${WRKDIR}/${DISTNAME}/src + +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build +PLIST_SUB= PORTVERSION=${PORTVERSION} +#MAKE_JOBS_UNSAFE=yes + +do-configure: + cd ${WRKSRC} && ${QMAKE} src.pro + +do-install: + ${INSTALL_LIB} ${WRKDIR}/${DISTNAME}/lib/libopencsg.so.${PORTVERSION} \ + ${PREFIX}/lib + ${LN} -sf libopencsg.so.${PORTVERSION} ${PREFIX}/lib/libopencsg.so.1 + ${LN} -sf libopencsg.so.${PORTVERSION} ${PREFIX}/lib/libopencsg.so + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/include/opencsg.h ${PREFIX}/include + +.include <bsd.port.mk> |