blob: 21457706276e1554f690b1e30553f32ec3567f41 (
plain)
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
|
# $NetBSD: Makefile,v 1.8 2016/02/25 13:37:48 jperkin Exp $
DISTNAME= OpenCSG-1.3.2
PKGNAME= ${DISTNAME:tl}
PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.opencsg.org/
MAINTAINER= reinoud@tomaatnet.nl
HOMEPAGE= http://www.opencsg.org/
COMMENT= Image based CSG rendering library using OpenGL
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
BUILD_DIRS= src
INSTALLATION_DIRS= include lib
LDFLAGS.Darwin+= -framework OpenGL
LDFLAGS.*+= -lGL -lGLU -lXmu
do-install:
${INSTALL_DATA} ${WRKSRC}/include/* ${DESTDIR}${PREFIX}/include/
${LIBTOOL} --mode=install ${INSTALL_LIB} \
${WRKSRC}/src/libopencsg.la ${DESTDIR}${PREFIX}/lib
.include "../../graphics/glut/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|