[60459] trunk/dports/sysutils
snc at macports.org
snc at macports.org
Thu Nov 12 16:23:23 PST 2009
Revision: 60459
http://trac.macports.org/changeset/60459
Author: snc at macports.org
Date: 2009-11-12 16:23:22 -0800 (Thu, 12 Nov 2009)
Log Message:
-----------
add dwatch, ticket #22490
Added Paths:
-----------
trunk/dports/sysutils/dwatch/
trunk/dports/sysutils/dwatch/Portfile
trunk/dports/sysutils/dwatch/files/
trunk/dports/sysutils/dwatch/files/patch-Makefile.diff
trunk/dports/sysutils/dwatch/files/patch-dwatch.c.diff
Added: trunk/dports/sysutils/dwatch/Portfile
===================================================================
--- trunk/dports/sysutils/dwatch/Portfile (rev 0)
+++ trunk/dports/sysutils/dwatch/Portfile 2009-11-13 00:23:22 UTC (rev 60459)
@@ -0,0 +1,35 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name dwatch
+version 0.1.1
+categories sysutils
+platforms darwin freebsd netbsd openbsd
+maintainers zenspider.com:ryand-macports
+
+description A daemon watcher
+long_description Dwatch (Daemon Watch) is a program that watches over \
+ other programs and performs actions based on conditions \
+ specified in a configuration file.
+
+homepage http://siag.nu/dwatch
+master_sites http://siag.nu/pub/dwatch
+
+checksums md5 25c06240cb5ab8126badc8a78dcd2b79 \
+ sha1 d1588364fcbad85b7ba81fa027199e983de55435 \
+ rmd160 54e28a0c1862372fc455fd5ff71aca82495dacac
+
+patchfiles patch-Makefile.diff \
+ patch-dwatch.c.diff
+
+use_configure no
+
+destroot.args PREFIX=${destroot}${prefix} \
+ MANDIR=${destroot}${prefix}/share/man
+
+post-destroot {
+ file copy ${worksrcpath}/dwatch.conf \
+ ${destroot}${prefix}/etc/dwatch.conf-dist
+}
Property changes on: trunk/dports/sysutils/dwatch/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/sysutils/dwatch/files/patch-Makefile.diff
===================================================================
--- trunk/dports/sysutils/dwatch/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/sysutils/dwatch/files/patch-Makefile.diff 2009-11-13 00:23:22 UTC (rev 60459)
@@ -0,0 +1,21 @@
+--- Makefile.orig Wed Aug 14 21:37:07 2002
++++ Makefile Wed Aug 14 21:36:47 2002
+@@ -10,7 +10,8 @@
+ LDFLAGS = `./guess --libs`
+
+ # This ps works for Linux and Solaris, at least
+-PS = "/bin/ps -ef"
++#PS = "/bin/ps -ef"
++PS = "/bin/ps -ax"
+
+ # For Linux
+ #CFLAGS = -Wall -g
+@@ -19,7 +20,7 @@
+ #CFLAGS = -Wall -g
+ #LDFLAGS = -lnsl -lsocket
+
+-PREFIX = /usr/local
++PREFIX ?= /usr/local
+ BINDIR = $(PREFIX)/bin
+ MANDIR = $(PREFIX)/man
+ MAN1DIR = $(MANDIR)/man1
Added: trunk/dports/sysutils/dwatch/files/patch-dwatch.c.diff
===================================================================
--- trunk/dports/sysutils/dwatch/files/patch-dwatch.c.diff (rev 0)
+++ trunk/dports/sysutils/dwatch/files/patch-dwatch.c.diff 2009-11-13 00:23:22 UTC (rev 60459)
@@ -0,0 +1,10 @@
+--- dwatch.c.orig Wed Aug 14 16:52:28 2002
++++ dwatch.c Wed Aug 14 16:52:34 2002
+@@ -17,6 +17,7 @@
+ MA 02111-1307, USA.
+ */
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091112/cd912223/attachment.html>
More information about the macports-changes
mailing list