blob: 6a1934d2b9f065f88d1640f193c400495ec72ed9 (
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.9 2019/08/30 17:01:34 nia Exp $
DISTNAME= OpenCSG-1.3.2
PKGNAME= ${DISTNAME:tl}
PKGREVISION= 3
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/freeglut/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|