[83134] trunk/dports/irc/netwalker-ircc

jmr at macports.org jmr at macports.org
Fri Aug 26 00:58:04 PDT 2011


Revision: 83134
          http://trac.macports.org/changeset/83134
Author:   jmr at macports.org
Date:     2011-08-26 00:57:59 -0700 (Fri, 26 Aug 2011)
Log Message:
-----------
netwalker-ircc: add ncurses dep, use correct compiler and archflags, fix use of long option that BSD install(1) doesn't accept

Modified Paths:
--------------
    trunk/dports/irc/netwalker-ircc/Portfile

Added Paths:
-----------
    trunk/dports/irc/netwalker-ircc/files/
    trunk/dports/irc/netwalker-ircc/files/Makefile.patch

Modified: trunk/dports/irc/netwalker-ircc/Portfile
===================================================================
--- trunk/dports/irc/netwalker-ircc/Portfile	2011-08-26 06:29:05 UTC (rev 83133)
+++ trunk/dports/irc/netwalker-ircc/Portfile	2011-08-26 07:57:59 UTC (rev 83134)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+
 name             netwalker-ircc
 version          0.5.0
 categories       irc
@@ -16,6 +17,16 @@
 extract.suffix   .tgz
 checksums        md5 1f5a7cc0fb54142c6306651105aedd68
 
+depends_lib      port:ncurses
+
+patchfiles       Makefile.patch
+
 use_configure    no
 
+use_parallel_build no
+# yes, it uses $CC to compile C++
+build.args       CC="${configure.cxx}" \
+                 CFLAGS="${configure.cflags} -Wall ${configure.cc_archflags}" \
+                 LDFLAGS="-lncurses ${configure.ld_archflags}"
+
 destroot.destdir DESTDIR=${destroot}${prefix}

Added: trunk/dports/irc/netwalker-ircc/files/Makefile.patch
===================================================================
--- trunk/dports/irc/netwalker-ircc/files/Makefile.patch	                        (rev 0)
+++ trunk/dports/irc/netwalker-ircc/files/Makefile.patch	2011-08-26 07:57:59 UTC (rev 83134)
@@ -0,0 +1,15 @@
+--- Makefile.orig	2004-04-27 03:42:38.000000000 +1000
++++ Makefile	2011-08-26 17:49:18.000000000 +1000
+@@ -22,9 +22,9 @@
+ 	mkdir -p $(DESTDIR)/bin
+ 	mkdir -p $(DESTDIR)/share/man/man1
+ 	mkdir -p $(HELP_DIR)
+-	install --mode=0755 $(BINNAME) $(DESTDIR)/bin/$(BINNAME)
+-	install --mode=0644 $(MANPAGE) $(DESTDIR)/share/man/man1/$(MANPAGE)
+-	install --mode=0644 help/* $(HELP_DIR)
++	install -m 0755 $(BINNAME) $(DESTDIR)/bin/$(BINNAME)
++	install -m 0644 $(MANPAGE) $(DESTDIR)/share/man/man1/$(MANPAGE)
++	install -m 0644 help/* $(HELP_DIR)
+ 	@echo "=============================================="
+ 	@echo "||                                          ||"
+ 	@echo "||      Thank you for installing the        ||"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110826/0903abec/attachment.html>


More information about the macports-changes mailing list