aboutsummaryrefslogtreecommitdiff
path: root/math/moo
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2017-06-01 18:29:19 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2017-06-01 18:29:19 +0000
commitcb15fa352af3abd4ecc23bc4a9797c3f4de2fa2b (patch)
tree084a1bebce6e7c6e7817bbd4dcf40b6c10c1d3cc /math/moo
parent56117f87e151bd10e16553f2a30a7c4f7bf20827 (diff)
downloadports-cb15fa352af3abd4ecc23bc4a9797c3f4de2fa2b.tar.gz
ports-cb15fa352af3abd4ecc23bc4a9797c3f4de2fa2b.zip
Notes
Diffstat (limited to 'math/moo')
-rw-r--r--math/moo/Makefile2
-rw-r--r--math/moo/files/patch-Makefile19
2 files changed, 21 insertions, 0 deletions
diff --git a/math/moo/Makefile b/math/moo/Makefile
index 3902ad3187b2..8da7f1b2f7ba 100644
--- a/math/moo/Makefile
+++ b/math/moo/Makefile
@@ -8,6 +8,8 @@ CATEGORIES= math
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Calculator that accepts C-like syntax as input
+LICENSE= PD
+
USE_GITHUB= yes
GH_ACCOUNT= raylai
GH_TAGNAME= ${PORTVERSION}
diff --git a/math/moo/files/patch-Makefile b/math/moo/files/patch-Makefile
new file mode 100644
index 000000000000..82a526073e7e
--- /dev/null
+++ b/math/moo/files/patch-Makefile
@@ -0,0 +1,19 @@
+--- Makefile.orig 2017-06-01 18:24:01 UTC
++++ Makefile
+@@ -1,14 +1,14 @@
+ PROG= moo
+ SRCS= moo.c scan.c
+ CPPFLAGS+= -I${.CURDIR}
+-COPTS+= -Wall -W -Wno-unused -Wshadow -pedantic -std=c99
++CFLAGS+= -Wall -W -Wno-unused -Wshadow -pedantic -std=c99
+ CLEANFILES+= moo.c y.tab.h scan.c lex.yy.c
+
+ LOCALBASE?=/usr/local
+ BINDIR=${LOCALBASE}/bin
+ MANDIR=${LOCALBASE}/man/cat
+
+-regress::
++regress:
+ cd ${.CURDIR}/regress && ${MAKE} MOO=${.OBJDIR}/moo
+
+ .include <bsd.prog.mk>