aboutsummaryrefslogtreecommitdiff
path: root/mail/sigit
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-08-26 04:55:22 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-08-26 04:55:22 +0000
commit6be5f1bed3b8889e67c740025e0f995f8991ed03 (patch)
tree8a63f16ee9750c5b24c007b2c13b3660ad4aa5db /mail/sigit
parent48666decfc7a6051c46502da3dba26170a64833e (diff)
downloadports-6be5f1bed3b8889e67c740025e0f995f8991ed03.tar.gz
ports-6be5f1bed3b8889e67c740025e0f995f8991ed03.zip
Notes
Diffstat (limited to 'mail/sigit')
-rw-r--r--mail/sigit/Makefile27
-rw-r--r--mail/sigit/distinfo1
-rw-r--r--mail/sigit/files/patch-Makefile62
-rw-r--r--mail/sigit/pkg-comment1
-rw-r--r--mail/sigit/pkg-descr8
-rw-r--r--mail/sigit/pkg-plist7
6 files changed, 106 insertions, 0 deletions
diff --git a/mail/sigit/Makefile b/mail/sigit/Makefile
new file mode 100644
index 000000000000..a48a240dd9fd
--- /dev/null
+++ b/mail/sigit/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: sigit
+# Date created: 18 August 2001
+# Whom: petef
+#
+# $FreeBSD$
+#
+
+PORTNAME= sigit
+PORTVERSION= 0.0.4
+CATEGORIES= mail
+MASTER_SITES= http://www.math.ku.dk/~m99khn/download/stable/
+
+MAINTAINER= petef@FreeBSD.org
+
+USE_GMAKE= yes
+
+MAN1= sigit.1 sigit.rc.1
+
+post-patch:
+ @${PERL} -pi -e 's,/etc/sigit.rc,${PREFIX}/etc/sigit.rc,; \
+ s,/usr/share/sigit,${DATADIR},' ${WRKSRC}/config.h
+
+post-install:
+ @(if [ ! -f ${PREFIX}/etc/sigit.rc ]; then \
+ ${CP} ${PREFIX}/etc/sigit.rc.dist ${PREFIX}/etc/sigit.rc; fi)
+
+.include <bsd.port.mk>
diff --git a/mail/sigit/distinfo b/mail/sigit/distinfo
new file mode 100644
index 000000000000..653d91843283
--- /dev/null
+++ b/mail/sigit/distinfo
@@ -0,0 +1 @@
+MD5 (sigit-0.0.4.tar.gz) = a35bf12b85617254af81dcf5728c4291
diff --git a/mail/sigit/files/patch-Makefile b/mail/sigit/files/patch-Makefile
new file mode 100644
index 000000000000..f18132fdd54f
--- /dev/null
+++ b/mail/sigit/files/patch-Makefile
@@ -0,0 +1,62 @@
+--- Makefile.orig Thu Mar 15 18:28:16 2001
++++ Makefile Sat Aug 18 21:03:35 2001
+@@ -6,23 +6,22 @@
+ OS=$(shell uname -s)
+
+ # Compiler
+-CC=gcc
++CC?=gcc
+
+ # Install prefix Where the database and original file is placed..
+
+-PREFIX=/usr/share/sigit
+
+ # Installation directory -- where the binary will go
+
+-INSTALLDIR=/usr/bin
++INSTALLDIR=${PREFIX}/bin
+
+ # Where the default sigit configuration will be
+
+-RCDIR=/etc
++RCDIR=${PREFIX}/etc
+
+ # Where the systems man pages are placed..
+
+-MANDIR=/usr/share/man
++MANDIR=${PREFIX}/man
+
+ # if you want to test something..
+
+@@ -47,11 +46,11 @@
+ endif
+
+ # Compiler flags
+-CFLAGS= -Wall -O2 -D$(OS) $(FLAGS)
++CFLAGS+= -Wall -D$(OS) $(FLAGS)
+
+ # This is needed for "make install"
+ OWNER = root
+-GROUP = root
++GROUP = wheel
+ INSTALL = /usr/bin/install -o $(OWNER) -g $(GROUP)
+
+
+@@ -98,14 +97,14 @@
+
+
+ install:
+- $(INSTALL) -d $(PREFIX)
++ $(INSTALL) -d $(PREFIX)/share/sigit
+ $(INSTALL) -d $(INSTALLDIR)
+ $(INSTALL) -d $(RCDIR)
+ $(INSTALL) -d $(MANDIR)/man1
+ $(INSTALL) -m 555 $(EXE) $(INSTALLDIR)
+- $(INSTALL) -m 664 sigit.data $(PREFIX)
+- $(INSTALL) -m 664 sigit.sig $(PREFIX)
+- $(INSTALL) -m 664 sigit.rc $(RCDIR)
++ $(INSTALL) -m 664 sigit.data $(PREFIX)/share/sigit
++ $(INSTALL) -m 664 sigit.sig $(PREFIX)/share/sigit
++ $(INSTALL) -m 664 sigit.rc $(RCDIR)/sigit.rc.dist
+ $(INSTALL) -m 444 sigit.1 $(MANDIR)/man1
+ $(INSTALL) -m 444 sigit.rc.1 $(MANDIR)/man1
diff --git a/mail/sigit/pkg-comment b/mail/sigit/pkg-comment
new file mode 100644
index 000000000000..6338e2ef7957
--- /dev/null
+++ b/mail/sigit/pkg-comment
@@ -0,0 +1 @@
+A tool to create random signatures
diff --git a/mail/sigit/pkg-descr b/mail/sigit/pkg-descr
new file mode 100644
index 000000000000..8eaef1abb62e
--- /dev/null
+++ b/mail/sigit/pkg-descr
@@ -0,0 +1,8 @@
+sigit is a tool that runs in the background and puts a random quote
+in a file (usually .plan or .signature) at a configurable interval.
+It comes with sample data, and custom quotes can be added.
+
+WWW: http://www.redhead.dk/download/sigit-download.html
+
+- Pete
+petef@FreeBSD.org
diff --git a/mail/sigit/pkg-plist b/mail/sigit/pkg-plist
new file mode 100644
index 000000000000..8b705003f09f
--- /dev/null
+++ b/mail/sigit/pkg-plist
@@ -0,0 +1,7 @@
+bin/sigit
+@unexec if cmp -s %D/etc/sigit.rc.dist %D/etc/sigit.rc; then rm -f %D/etc/sigit.rc; fi
+etc/sigit.rc.dist
+@exec if [ ! -f %D/etc/sigit.rc ]; then cp %D/etc/%f %D/etc/sigit.rc; fi
+share/sigit/sigit.data
+share/sigit/sigit.sig
+@dirrm share/sigit