36 lines
763 B
Makefile
36 lines
763 B
Makefile
# $NetBSD: Makefile,v 1.2 2012/10/06 14:10:55 asau Exp $
|
|
#
|
|
|
|
DISTNAME= glm-0.9.3.2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ogl-math/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= http://glm.g-truc.net/
|
|
COMMENT= C++ mathematics library for graphics programming
|
|
LICENSE= mit
|
|
|
|
NO_BUILD= yes
|
|
NO_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
GLM_DIR= include/glm
|
|
INSTALLATION_DIRS= ${GLM_DIR}
|
|
|
|
do-install:
|
|
${RUN}cd ${WRKSRC}/glm && \
|
|
${CHMOD} 644 *hpp core/* gtc/* gtx/* virtrev/*
|
|
${RUN}cd ${WRKSRC}/glm && \
|
|
pax -rw *hpp core gtc gtx virtrev \
|
|
${DESTDIR}${PREFIX}/${GLM_DIR}
|
|
|
|
# for test target
|
|
USE_LANGUAGES= c c++
|
|
do-test:
|
|
${RUN}cd ${WRKSRC} && \
|
|
cmake -DGLM_TEST_MODE=ON CMakeLists.txt && \
|
|
make
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|