Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2001 23:02:41 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29881: New port: mail/sigit
Message-ID:  <20010820030241.70741D925@electron.databits.net>

next in thread | raw e-mail | index | archive | help

>Number:         29881
>Category:       ports
>Synopsis:       New port: mail/sigit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 19 20:10:33 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD entropy.databits.net 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Wed Aug 8 12:51:05 EDT 2001 root@entropy.databits.net:/usr/obj/usr/src/sys/ENTROPY i386

>Description:

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

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sigit
#	sigit/pkg-descr
#	sigit/distinfo
#	sigit/pkg-plist
#	sigit/Makefile
#	sigit/pkg-comment
#	sigit/files
#	sigit/files/patch-Makefile
#
echo c - sigit
mkdir -p sigit > /dev/null 2>&1
echo x - sigit/pkg-descr
sed 's/^X//' >sigit/pkg-descr << 'END-of-sigit/pkg-descr'
Xsigit is a tool that runs in the background and puts a random quote
Xin a file (usually .plan or .signature) at a configurable interval.
XIt comes with sample data, and custom quotes can be added.
X
XWWW: http://www.redhead.dk/download/sigit-download.html
X
X- Pete
Xpetef@databits.net
END-of-sigit/pkg-descr
echo x - sigit/distinfo
sed 's/^X//' >sigit/distinfo << 'END-of-sigit/distinfo'
XMD5 (sigit-0.0.4.tar.gz) = a35bf12b85617254af81dcf5728c4291
END-of-sigit/distinfo
echo x - sigit/pkg-plist
sed 's/^X//' >sigit/pkg-plist << 'END-of-sigit/pkg-plist'
Xbin/sigit
X@unexec if cmp -s %D/etc/sigit.rc.dist %D/etc/sigit.rc; then rm -f %D/etc/sigit.rc; fi
Xetc/sigit.rc.dist
X@exec if [ ! -f %D/etc/sigit.rc ]; then cp %D/etc/%f %D/etc/sigit.rc; fi
Xshare/sigit/sigit.data
Xshare/sigit/sigit.sig
X@dirrm share/sigit
END-of-sigit/pkg-plist
echo x - sigit/Makefile
sed 's/^X//' >sigit/Makefile << 'END-of-sigit/Makefile'
X# New ports collection makefile for:	sigit
X# Date created:				18 August 2001
X# Whom:					Pete Fritchman <petef@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sigit
XPORTVERSION=	0.0.4
XCATEGORIES=	mail
XMASTER_SITES=	http://www.math.ku.dk/~m99khn/download/stable/
X
XMAINTAINER=	petef@databits.net
X
XUSE_GMAKE=	yes
X
XMAN1=	sigit.1 sigit.rc.1
X
Xpost-patch:
X	@${PERL} -pi -e 's,/etc/sigit.rc,${PREFX}/etc/sigit.rc,; \
X		s,/usr/share/sigit,${DATADIR},' ${WRKSRC}/config.h
X
Xpost-install:
X	@(if [ ! -f ${PREFIX}/etc/sigit.rc ]; then \
X		${CP} ${PREFIX}/etc/sigit.rc.dist ${PREFIX}/etc/sigit.rc; fi)
X
X.include <bsd.port.mk>
END-of-sigit/Makefile
echo x - sigit/pkg-comment
sed 's/^X//' >sigit/pkg-comment << 'END-of-sigit/pkg-comment'
XA tool to create random signatures
END-of-sigit/pkg-comment
echo c - sigit/files
mkdir -p sigit/files > /dev/null 2>&1
echo x - sigit/files/patch-Makefile
sed 's/^X//' >sigit/files/patch-Makefile << 'END-of-sigit/files/patch-Makefile'
X--- Makefile.orig	Thu Mar 15 18:28:16 2001
X+++ Makefile	Sat Aug 18 21:03:35 2001
X@@ -6,23 +6,22 @@
X OS=$(shell uname -s)
X 
X # Compiler
X-CC=gcc
X+CC?=gcc
X 
X # Install prefix Where the database and original file is placed.. 
X 
X-PREFIX=/usr/share/sigit
X 
X # Installation directory -- where the binary will go
X 
X-INSTALLDIR=/usr/bin
X+INSTALLDIR=${PREFIX}/bin
X 
X # Where the default sigit configuration will be
X 
X-RCDIR=/etc
X+RCDIR=${PREFIX}/etc
X 
X # Where the systems man pages are placed.. 
X 
X-MANDIR=/usr/share/man
X+MANDIR=${PREFIX}/man
X 
X # if you want to test something..
X 
X@@ -47,11 +46,11 @@
X endif
X 
X # Compiler flags
X-CFLAGS= -Wall -O2 -D$(OS) $(FLAGS)
X+CFLAGS+= -Wall -D$(OS) $(FLAGS)
X 
X # This is needed for "make install"
X OWNER  = root
X-GROUP  = root
X+GROUP  = wheel
X INSTALL  = /usr/bin/install -o $(OWNER) -g $(GROUP) 
X 
X 
X@@ -98,14 +97,14 @@
X 
X 
X install:
X-	$(INSTALL) -d $(PREFIX)
X+	$(INSTALL) -d $(PREFIX)/share/sigit
X 	$(INSTALL) -d $(INSTALLDIR)
X 	$(INSTALL) -d $(RCDIR)
X 	$(INSTALL) -d $(MANDIR)/man1
X 	$(INSTALL) -m 555 $(EXE) $(INSTALLDIR)
X-	$(INSTALL) -m 664 sigit.data $(PREFIX)
X-	$(INSTALL) -m 664 sigit.sig $(PREFIX)
X-	$(INSTALL) -m 664 sigit.rc $(RCDIR)
X+	$(INSTALL) -m 664 sigit.data $(PREFIX)/share/sigit
X+	$(INSTALL) -m 664 sigit.sig $(PREFIX)/share/sigit
X+	$(INSTALL) -m 664 sigit.rc $(RCDIR)/sigit.rc.dist
X 	$(INSTALL) -m 444 sigit.1 $(MANDIR)/man1
X 	$(INSTALL) -m 444 sigit.rc.1 $(MANDIR)/man1
X 
END-of-sigit/files/patch-Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010820030241.70741D925>