blob: f666ba12d8c8da7e016cc4fd3bc1ecd8a8c59474 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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>
|