aboutsummaryrefslogtreecommitdiff
path: root/graphics/pure-gl
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2012-01-26 11:18:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2012-01-26 11:18:51 +0000
commitff605004473d3bad7765e0e026691c5acfda1f93 (patch)
tree80eb7688b99358fe46b96ed7012a1128be44321a /graphics/pure-gl
parentd02e1fb0bb02159a86c87fdd68f95b3b34917dce (diff)
downloadports-ff605004473d3bad7765e0e026691c5acfda1f93.tar.gz
ports-ff605004473d3bad7765e0e026691c5acfda1f93.zip
Notes
Diffstat (limited to 'graphics/pure-gl')
-rw-r--r--graphics/pure-gl/Makefile20
-rw-r--r--graphics/pure-gl/distinfo4
2 files changed, 6 insertions, 18 deletions
diff --git a/graphics/pure-gl/Makefile b/graphics/pure-gl/Makefile
index 133fdc82611d..b1537c4a49e9 100644
--- a/graphics/pure-gl/Makefile
+++ b/graphics/pure-gl/Makefile
@@ -7,31 +7,19 @@
PORTNAME= pure-gl
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= graphics
-MASTER_SITES= http://pure-lang.googlecode.com/files/
MAINTAINER= lichray@gmail.com
COMMENT= Pure language interface to OpenGL
-LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure
RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-USE_GMAKE= yes
+USE_PURE= yes
USE_GL= glut
-MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include LDFLAGS+=-L${LOCALBASE}/lib \
- CFLAGS="${CFLAGS}" LinkGL="-lglut -lGLU -lGL"
-
-PORTEXAMPLES= *
+MAKE_ARGS+= LinkGL="-lglut -lGLU -lGL"
.include <bsd.port.pre.mk>
-
-post-install:
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
-.endif
-
+.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
.include <bsd.port.post.mk>
diff --git a/graphics/pure-gl/distinfo b/graphics/pure-gl/distinfo
index c9ab7b3a83f3..4c262818348c 100644
--- a/graphics/pure-gl/distinfo
+++ b/graphics/pure-gl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pure-gl-0.8.tar.gz) = 7482dd04ae12a582f8bf05ef9d014c7e2af7aa03522f9edec4994420a6629340
-SIZE (pure-gl-0.8.tar.gz) = 166446
+SHA256 (pure/pure-gl-0.8.tar.gz) = 93554873c1b0604f6686ba45e19e947d3fcb14d7e069e9280a3dd49fb753b739
+SIZE (pure/pure-gl-0.8.tar.gz) = 169114