commit 5c7fb21687a40b79567851c3d755f9ce89ef9005
parent bf5a45957e45e5d1094487b99cf7afb51d1d3536
Author: kyle <kyle@0x30.net>
Date: Wed, 18 Jan 2017 00:10:03 -0700
distrib: get openbsd port working again
Diffstat:
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/distrib/openbsd/citrun/Makefile b/distrib/openbsd/citrun/Makefile
@@ -2,7 +2,8 @@
COMMENT = see your source code run
-DISTNAME = citrun-0.0
+DISTNAME = citrun
+PKGNAME = citrun-0.0
CATEGORIES = devel
HOMEPAGE = http://cit.run
@@ -12,7 +13,7 @@ PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${HOMEPAGE}/
-WANTLIB += curses GL GLU GLEW glut c freetype m pthread z
+WANTLIB += curses GL GLU GLEW glfw c freetype m pthread z
# -std=c++11
MODULES = gcc4
@@ -20,13 +21,17 @@ MODGCC4_ARCHS = *
MODGCC4_LANGS = c++
LIB_DEPENDS = graphics/freeglut \
- graphics/glew
+ graphics/glew \
+ graphics/glfw
BUILD_DEPENDS = devel/jam \
devel/llvm
TEST_DEPENDS = devel/p5-Expect
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./configure
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam -q
diff --git a/distrib/openbsd/citrun/pkg/PLIST b/distrib/openbsd/citrun/pkg/PLIST
@@ -1,12 +1,13 @@
@comment $OpenBSD$
-bin/citrun-check
-@bin bin/citrun-inst
-@bin bin/citrun-gl
-bin/citrun-wrap
-@man man/man1/citrun-check.1
-@man man/man1/citrun-gl.1
-@man man/man1/citrun-term.1
-@man man/man1/citrun-wrap.1
+bin/citrun_check
+@bin bin/citrun_inst
+@bin bin/citrun_gl
+bin/citrun_wrap
+lib/libcitrun.a
+@man man/man1/citrun_check.1
+@man man/man1/citrun_gl.1
+@man man/man1/citrun_inst.1
+@man man/man1/citrun_wrap.1
share/citrun/
share/citrun/c++
share/citrun/cc
@@ -16,4 +17,3 @@ share/citrun/eg++
share/citrun/egcc
share/citrun/g++
share/citrun/gcc
-share/citrun/libcitrun.a