aboutsummaryrefslogtreecommitdiff
path: root/graphics/opencsg/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:00 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:00 +0000
commit5898d7df5c5c0c4c33faa934a38001e755f6d900 (patch)
treeedc1328e7d68e649db202ae07c396b88869f73de /graphics/opencsg/Makefile
parent14b67ba33b83fe27381b6547b20370f812a4da0f (diff)
downloadports-5898d7df5c5c0c4c33faa934a38001e755f6d900.tar.gz
ports-5898d7df5c5c0c4c33faa934a38001e755f6d900.zip
Notes
Diffstat (limited to 'graphics/opencsg/Makefile')
-rw-r--r--graphics/opencsg/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/graphics/opencsg/Makefile b/graphics/opencsg/Makefile
index 1ad85f12b051..b817c3097059 100644
--- a/graphics/opencsg/Makefile
+++ b/graphics/opencsg/Makefile
@@ -11,22 +11,17 @@ 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
-
-USE_QT4= qmake_build corelib gui
PLIST_SUB= PORTVERSION=${PORTVERSION}
-#MAKE_JOBS_UNSAFE=yes
-
-NO_STAGE= 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
+ ${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 <bsd.port.mk>