2015-04-25 16:22:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2015/04/25 14:23:17 tnn Exp $
|
2012-02-26 21:41:04 +01:00
|
|
|
|
|
|
|
DISTNAME= OpenCSG-1.3.2
|
2012-08-31 18:29:49 +02:00
|
|
|
PKGNAME= ${DISTNAME:tl}
|
2015-04-25 16:22:51 +02:00
|
|
|
PKGREVISION= 2
|
2012-02-26 21:41:04 +01:00
|
|
|
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
|
|
|
|
|
2012-08-31 18:29:49 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
BUILD_DIRS= src
|
2012-02-26 21:41:04 +01:00
|
|
|
|
2012-03-15 00:11:58 +01:00
|
|
|
INSTALLATION_DIRS= include lib
|
|
|
|
|
2012-02-26 21:41:04 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/* ${DESTDIR}${PREFIX}/include/
|
2012-08-31 18:29:49 +02:00
|
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} \
|
|
|
|
${WRKSRC}/src/libopencsg.la ${DESTDIR}${PREFIX}/lib
|
2012-02-26 21:41:04 +01:00
|
|
|
|
2012-08-31 18:29:49 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
LDFLAGS+= -framework OpenGL
|
|
|
|
.else
|
|
|
|
LDFLAGS+= -lGL -lGLU -lXmu
|
2012-02-28 11:42:12 +01:00
|
|
|
.include "../../graphics/glut/buildlink3.mk"
|
2012-02-26 21:41:04 +01:00
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
2012-08-31 18:29:49 +02:00
|
|
|
.endif
|
2012-02-26 21:41:04 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|