[90382] trunk/dports/www/netrik
ryandesign at macports.org
ryandesign at macports.org
Sat Mar 3 17:47:16 PST 2012
Revision: 90382
http://trac.macports.org/changeset/90382
Author: ryandesign at macports.org
Date: 2012-03-03 17:47:11 -0800 (Sat, 03 Mar 2012)
Log Message:
-----------
netrik: update to 1.16.1; add ncurses and getopt dependencies
Modified Paths:
--------------
trunk/dports/www/netrik/Portfile
Added Paths:
-----------
trunk/dports/www/netrik/files/patch-ncurses.diff
Removed Paths:
-------------
trunk/dports/www/netrik/files/patch-Makefile.in
Modified: trunk/dports/www/netrik/Portfile
===================================================================
--- trunk/dports/www/netrik/Portfile 2012-03-04 01:33:10 UTC (rev 90381)
+++ trunk/dports/www/netrik/Portfile 2012-03-04 01:47:11 UTC (rev 90382)
@@ -3,7 +3,7 @@
PortSystem 1.0
name netrik
-version 1.15.3
+version 1.16.1
categories www
platforms darwin
maintainers nomaintainer
@@ -11,13 +11,19 @@
long_description ${description}
homepage http://netrik.sourceforge.net/
-master_sites sourceforge
-checksums md5 2b59632ce712de05fbf5ca13fd9849a6
-patchfiles patch-Makefile.in
+master_sites sourceforge:project/netrik/stable/${version}%20%28beta%29
-depends_lib lib:readline:readline
+checksums rmd160 9f28d10ad8cddd063bb4ed2f6491747d8733eadf \
+ sha256 3e742d9ef866c12075e7771148e39a6892d0dcdf70f43aecafa09e0ed925b78a
-configure.args --mandir=${prefix}/share/man
-configure.cflags-append "-I${prefix}/include"
+patchfiles patch-ncurses.diff
-build.env ${configure.env}
+depends_lib port:readline \
+ port:ncurses \
+ port:getopt
+
+variant universal {}
+
+configure.env CPP="${configure.cc} -E"
+
+configure.cc-append [get_canonical_archflags cc]
Deleted: trunk/dports/www/netrik/files/patch-Makefile.in
===================================================================
--- trunk/dports/www/netrik/files/patch-Makefile.in 2012-03-04 01:33:10 UTC (rev 90381)
+++ trunk/dports/www/netrik/files/patch-Makefile.in 2012-03-04 01:47:11 UTC (rev 90382)
@@ -1,20 +0,0 @@
---- Makefile.in Sun Nov 14 01:38:28 2004
-+++ ../../Makefile.in Tue Dec 21 00:17:56 2004
-@@ -115,7 +115,7 @@
- AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
--CFLAGS = @CFLAGS@
-+CFLAGS += @CFLAGS@
- CPP = @CPP@
- CPPFLAGS = @CPPFLAGS@
- CYGPATH_W = @CYGPATH_W@
-@@ -130,7 +130,7 @@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
--LDFLAGS = @LDFLAGS@
-+LDFLAGS += @LDFLAGS@
- LIBOBJS = @LIBOBJS@
- LIBS = @LIBS@
- LTLIBOBJS = @LTLIBOBJS@
Added: trunk/dports/www/netrik/files/patch-ncurses.diff
===================================================================
--- trunk/dports/www/netrik/files/patch-ncurses.diff (rev 0)
+++ trunk/dports/www/netrik/files/patch-ncurses.diff 2012-03-04 01:47:11 UTC (rev 90382)
@@ -0,0 +1,96 @@
+--- colors-bright.c.orig 2009-01-01 20:46:45.000000000 -0600
++++ colors-bright.c 2011-06-12 19:33:09.000000000 -0500
+@@ -24,7 +24,7 @@
+ * activation is done by bit-masking with TM_ACTIVE color. Certain combinations
+ * may work, but you have been warned :-)
+ */
+-#include <ncursesw/curses.h>
++#include <curses.h>
+
+ #include "colors.h"
+ #include "items.h"
+--- colors-dark.c.orig 2009-01-01 20:46:45.000000000 -0600
++++ colors-dark.c 2011-06-12 19:33:07.000000000 -0500
+@@ -24,7 +24,7 @@
+ * activation is done by bit-masking with TM_ACTIVE color. Certain combinations
+ * may work, but you have been warned :-)
+ */
+-#include <ncursesw/curses.h>
++#include <curses.h>
+
+ #include "colors.h"
+ #include "items.h"
+--- links.c.orig 2009-01-01 20:46:47.000000000 -0600
++++ links.c 2011-06-12 19:33:04.000000000 -0500
+@@ -9,7 +9,7 @@
+ * (C) 2002 antrik
+ *
+ */
+-#include <ncursesw/curses.h>
++#include <curses.h>
+ #include <stdlib.h>
+
+ #include "colors.h"
+--- main.c.orig 2009-01-01 20:46:48.000000000 -0600
++++ main.c 2011-06-12 19:33:02.000000000 -0500
+@@ -13,7 +13,7 @@
+ * as argument), and either dump it and quit immediatly (with --dump), or
+ * display it interactively and load new files (requested by user) in a loop
+ */
+-#include <ncursesw/curses.h>
++#include <curses.h>
+ #include <errno.h>
+ #include <locale.h>
+ #include <stdio.h>
+--- pager.c.orig 2009-01-01 20:46:48.000000000 -0600
++++ pager.c 2011-06-12 19:33:00.000000000 -0500
+@@ -11,7 +11,7 @@
+ *
+ * Displays output page and handles user commands.
+ */
+-#include <ncursesw/curses.h>
++#include <curses.h>
+ #include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+--- parse-syntax.c.orig 2009-01-01 20:46:49.000000000 -0600
++++ parse-syntax.c 2011-06-12 19:32:58.000000000 -0500
+@@ -12,7 +12,7 @@
+ * all content. (Text inside the elements.)
+ */
+ #include <ctype.h>
+-#include <ncursesw/curses.h>
++#include <curses.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+--- render.c.orig 2009-01-01 20:46:49.000000000 -0600
++++ render.c 2011-06-12 19:32:55.000000000 -0500
+@@ -17,9 +17,9 @@
+ * like dump().
+ */
+
+-#include <ncursesw/curses.h>
++#include <curses.h>
+ #include <stdlib.h>
+-#include <ncursesw/term.h>
++#include <term.h>
+ #include <string.h>
+
+ #include "cfg.h"
+--- screen.c.orig 2009-01-01 20:46:49.000000000 -0600
++++ screen.c 2011-06-12 19:32:51.000000000 -0500
+@@ -10,11 +10,11 @@
+ *
+ * Presently the full screen functions aren't used by the main program...
+ */
+-#include <ncursesw/curses.h>
++#include <curses.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <ncursesw/term.h>
++#include <term.h>
+
+ #include "cfg.h"
+ #include "screen.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120303/ba781fcf/attachment-0001.html>
More information about the macports-changes
mailing list