Index: head/math/moo/Makefile =================================================================== --- head/math/moo/Makefile (revision 442064) +++ head/math/moo/Makefile (revision 442065) @@ -1,21 +1,23 @@ # Created by: Steven Kreuzer # $FreeBSD$ PORTNAME= moo -PORTVERSION= 1.3 +PORTVERSION= 1.5 CATEGORIES= math -MASTER_SITES= http://www.cyth.net/moo/ -EXTRACT_SUFX= .tgz MAINTAINER= skreuzer@FreeBSD.org COMMENT= Calculator that accepts C-like syntax as input + +USE_GITHUB= yes +GH_ACCOUNT= raylai +GH_TAGNAME= ${PORTVERSION} PLIST_FILES= bin/moo man/man1/moo.1.gz MAKE_JOBS_UNSAFE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/moo ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/moo.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/math/moo/distinfo =================================================================== --- head/math/moo/distinfo (revision 442064) +++ head/math/moo/distinfo (revision 442065) @@ -1,2 +1,3 @@ -SHA256 (moo-1.3.tgz) = 32d567dc74ac0123034009d570d3809f35d12a13978fb409153520448b40d45f -SIZE (moo-1.3.tgz) = 7380 +TIMESTAMP = 1496151728 +SHA256 (raylai-moo-1.5_GH0.tar.gz) = d99fc2d858c0efbfd730737b5af47e0a8d0d5e8f48890b049f86a876821aaeb3 +SIZE (raylai-moo-1.5_GH0.tar.gz) = 8661 Index: head/math/moo/files/patch-Makefile =================================================================== --- head/math/moo/files/patch-Makefile (revision 442064) +++ head/math/moo/files/patch-Makefile (nonexistent) @@ -1,18 +0,0 @@ ---- Makefile.orig Thu Apr 5 14:13:26 2007 -+++ Makefile Thu Apr 5 14:14:06 2007 -@@ -3,14 +3,11 @@ - PROG= moo - SRCS= moo.c scan.c - CPPFLAGS+= -I${.CURDIR} --COPTS+= -Wall -W -Wno-unused -Wshadow -pedantic -+COPTS+= -Wall -W -Wno-unused -Wshadow - CLEANFILES+= moo.c y.tab.h scan.c lex.yy.c - - LOCALBASE?=/usr/local - BINDIR=${LOCALBASE}/bin - MANDIR=${LOCALBASE}/man/cat -- --regress:: -- cd ${.CURDIR}/regress && ${MAKE} MOO=${.OBJDIR}/moo - - .include Property changes on: head/math/moo/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/math/moo/files/patch-moo.y =================================================================== --- head/math/moo/files/patch-moo.y (revision 442064) +++ head/math/moo/files/patch-moo.y (revision 442065) @@ -1,11 +1,31 @@ ---- moo.y.orig Thu Apr 5 14:14:22 2007 -+++ moo.y Thu Apr 5 14:14:29 2007 -@@ -37,7 +37,7 @@ +--- moo.y.orig 2016-06-04 10:05:27 UTC ++++ moo.y +@@ -34,7 +34,7 @@ static int used_oct; static void divbyzero(void); static void printnum(int64_t); -__dead static void usage(void); +__dead2 static void usage(void); void yyerror(char *); int yylex(void); int yyparse(void); +@@ -317,9 +317,6 @@ main(int argc, char *argv[]) + { + int ch; + +- if (pledge("stdio tmppath", NULL) == -1) +- err(1, "pledge"); +- + while ((ch = getopt(argc, argv, "0123456789b:lsuw:")) != -1) + switch (ch) { + /* +@@ -403,9 +400,6 @@ DONEPARSING: + yyin = sfp; + } + +- if (pledge("stdio", NULL) == -1) +- err(1, "pledge"); +- + yyparse(); + + return (0);