aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-04-30 08:35:15 +0800
committersteve <steve@FreeBSD.org>2000-04-30 08:35:15 +0800
commit111467d13f08b8caf3e635c861aac03aa20bec95 (patch)
tree29c51b4a84328e2ab35a5b97ca3f0f6662b03708 /sysutils
parent27e85daf48404e5425cc2f9565f9e684ff1b1f74 (diff)
downloadfreebsd-ports-gnome-111467d13f08b8caf3e635c861aac03aa20bec95.tar.gz
freebsd-ports-gnome-111467d13f08b8caf3e635c861aac03aa20bec95.tar.zst
freebsd-ports-gnome-111467d13f08b8caf3e635c861aac03aa20bec95.zip
Initial import of fortunlock version 0.1.2.
Locks the terminal while showing fortunes. PR: 18288 Submitted by: Daniel Harris <dannyboy@subdimension.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fortunelock/Makefile20
-rw-r--r--sysutils/fortunelock/distinfo1
-rw-r--r--sysutils/fortunelock/files/patch-aa28
-rw-r--r--sysutils/fortunelock/pkg-comment1
-rw-r--r--sysutils/fortunelock/pkg-descr9
-rw-r--r--sysutils/fortunelock/pkg-plist1
6 files changed, 60 insertions, 0 deletions
diff --git a/sysutils/fortunelock/Makefile b/sysutils/fortunelock/Makefile
new file mode 100644
index 000000000000..16e0c5b1c1c3
--- /dev/null
+++ b/sysutils/fortunelock/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: fortunelock
+# Date created: 25 April 2000
+# Whom: Daniel Harris <dannyboy@subdimension.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fortunelock
+PORTVERSION= 0.1.2
+CATEGORIES= sysutils
+MASTER_SITES= http://capsi.cx/src/fortunelock/
+
+MAINTAINER= dannyboy@subdimension.com
+
+USE_BZIP2= yes
+
+MAN1= fortunelock.1
+MANCOMPRESSED= no
+
+.include <bsd.port.mk>
diff --git a/sysutils/fortunelock/distinfo b/sysutils/fortunelock/distinfo
new file mode 100644
index 000000000000..11280db79e33
--- /dev/null
+++ b/sysutils/fortunelock/distinfo
@@ -0,0 +1 @@
+MD5 (fortunelock-0.1.2.tar.bz2) = 3df38afc59800db77e7cf77b0239a480
diff --git a/sysutils/fortunelock/files/patch-aa b/sysutils/fortunelock/files/patch-aa
new file mode 100644
index 000000000000..440a2c72e4ef
--- /dev/null
+++ b/sysutils/fortunelock/files/patch-aa
@@ -0,0 +1,28 @@
+--- Makefile.orig Thu Apr 20 14:15:07 2000
++++ Makefile Wed Apr 26 19:16:04 2000
+@@ -1,10 +1,10 @@
+-CC=gcc
+-CFLAGS=-O3
++CC?=gcc
++CFLAGS?=-O3
+ #CFLAGS=-O3 -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi
+ #CFLAGS=-g -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi
+ TARGET=fortunelock
+ LIBS=-lncurses
+-PREFIXDIR=/usr/local
++PREFIX?=/usr/local
+
+ all: $(TARGET)
+
+@@ -19,8 +19,8 @@
+
+ install:
+ strip fortunelock
+- install -m 755 fortunelock $(PREFIXDIR)/bin
+- install -m 644 fortunelock.1 $(PREFIXDIR)/man/man1
++ install -c -m 755 fortunelock $(PREFIX)/bin
++ install -c -m 644 fortunelock.1 $(PREFIX)/man/man1
+
+ uninstall:
+- rm -rf $(PREFIXDIR)/bin/fortunelock
++ rm -rf $(PREFIX)/bin/fortunelock
diff --git a/sysutils/fortunelock/pkg-comment b/sysutils/fortunelock/pkg-comment
new file mode 100644
index 000000000000..24abcbd6a9bd
--- /dev/null
+++ b/sysutils/fortunelock/pkg-comment
@@ -0,0 +1 @@
+Locks a terminal while showing fortunes
diff --git a/sysutils/fortunelock/pkg-descr b/sysutils/fortunelock/pkg-descr
new file mode 100644
index 000000000000..422c13eb5eca
--- /dev/null
+++ b/sysutils/fortunelock/pkg-descr
@@ -0,0 +1,9 @@
+Fortunelock is a "keep it simple, stupid" program to lock a terminal while
+showing fortunes. It was designed to be as small and simple as possible
+and therefore does not support PAM, NIS, shadow passwords or even regular
+passwords: the user must enter a lock password to lock the terminal.
+
+WWW: http://capsi.cx/code-fortunelock.html
+
+- Daniel Harris
+dannyboy@subdimension.com
diff --git a/sysutils/fortunelock/pkg-plist b/sysutils/fortunelock/pkg-plist
new file mode 100644
index 000000000000..c98d5306c41f
--- /dev/null
+++ b/sysutils/fortunelock/pkg-plist
@@ -0,0 +1 @@
+bin/fortunelock