aboutsummaryrefslogtreecommitdiff
path: root/games/evilfinder
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-06-11 23:03:23 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-06-11 23:03:23 +0000
commitdca84bd9f699159c26f4bf2762dc430da3e2c11d (patch)
tree58b5ea55e7fb6b26515e302540a4798c055ca2c3 /games/evilfinder
parent24d85a1a1772028e083f0cc371ac36f514913262 (diff)
downloadports-dca84bd9f699159c26f4bf2762dc430da3e2c11d.tar.gz
ports-dca84bd9f699159c26f4bf2762dc430da3e2c11d.zip
Add evilfinder, a program which determines the evilness of things.
**** THE PROOF THAT This Commit Message IS EVIL **** T H I S C O M M I T M E S S A G E 84 72 73 83 67 79 77 77 73 84 77 69 83 83 65 71 69 - as ASCII values 3 9 1 2 4 7 5 5 1 3 5 6 2 2 2 8 6 - digits added \_____________/ \_____________/ \_____________/ \_____________/ \_/ 6 3 6 5 6 - digits added Thus, "This Commit Message" is 63656. Subtract 1181, the year UFO was first observed in China and Japan. The result will be 62475. Turn the number backwards, and add 111 - the only triplet that can ever be prime. The number is now 57537. Add 52 to it - this is the symbol of approval for the sin, written backwards - you will get 57589. Turn the number backwards, subtract 445 - the year Attila the Hun attacked western Europe. The number is now 98130. Turn the number backwards, subtract 1957 - the year Ford introduced the Edsel. The number is now 1232. This number, read as octal, gives 666 - the number of the Beast. This is truly evil. QED.
Notes
Notes: svn path=/head/; revision=82822
Diffstat (limited to 'games/evilfinder')
-rw-r--r--games/evilfinder/Makefile64
-rw-r--r--games/evilfinder/distinfo1
-rw-r--r--games/evilfinder/files/evilfinder8
-rw-r--r--games/evilfinder/pkg-descr36
-rw-r--r--games/evilfinder/pkg-plist7
5 files changed, 116 insertions, 0 deletions
diff --git a/games/evilfinder/Makefile b/games/evilfinder/Makefile
new file mode 100644
index 000000000000..b349d7ffe192
--- /dev/null
+++ b/games/evilfinder/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: evilfinder
+# Date created: 11 June 2003
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= evilfinder
+PORTVERSION= 1.00
+CATEGORIES= games
+MASTER_SITES= http://lcamtuf.coredump.cx/
+DISTNAME= ef
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Numerologically determine the evilness of things
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_WRAPPER)
+RUN_DEPENDS+= lynx:${PORTSDIR}/www/lynx
+PLIST_SUB+= WRAPPER=""
+.else
+PLIST_SUB+= WRAPPER="@comment "
+.endif
+
+USE_REINPLACE= yes
+
+pre-everything::
+.if !defined(WITHOUT_WRAPPER)
+ @${ECHO} "********************************************"
+ @${ECHO} "Define WITHOUT_WRAPPER to build without the"
+ @${ECHO} "\"evilfinder\" wrapper, which makes the port"
+ @${ECHO} "a web-oriented application."
+ @${ECHO} "********************************************"
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s|evilnumbers.dat|${DATADIR}/evilnumbers.dat|; \
+ s|./shuffle|${PREFIX}/bin/shuffle|" \
+ ${WRKSRC}/ef.c
+.if !defined(WITHOUT_WRAPPER)
+ @${SED} -e "s|%%PREFIX%%|${PREFIX}|; \
+ s|%%LOCALBASE%%|${LOCALBASE}|" \
+ ${FILESDIR}/evilfinder > ${WRKSRC}/evilfinder
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ef ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/shuffle ${PREFIX}/bin
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/evilnumbers.dat ${DATADIR}
+.if !defined(WITHOUT_WRAPPER)
+ ${INSTALL_SCRIPT} ${WRKSRC}/evilfinder ${PREFIX}/bin
+.endif
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/evilfinder/distinfo b/games/evilfinder/distinfo
new file mode 100644
index 000000000000..5f3e37292c0d
--- /dev/null
+++ b/games/evilfinder/distinfo
@@ -0,0 +1 @@
+MD5 (ef.tgz) = 1b5e4d4f09915b2135902b6aab14a4d5
diff --git a/games/evilfinder/files/evilfinder b/games/evilfinder/files/evilfinder
new file mode 100644
index 000000000000..2b118c480ea6
--- /dev/null
+++ b/games/evilfinder/files/evilfinder
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "x$#" = "x0" ]; then
+ echo "Usage: $0 POTENTIALLY_EVIL_WORD"; exit
+else
+QUERY_STRING_UNESCAPED="_=$*" %%PREFIX%%/bin/ef| \
+ %%LOCALBASE%%/bin/lynx -dump -force_html /dev/stdin
+fi
diff --git a/games/evilfinder/pkg-descr b/games/evilfinder/pkg-descr
new file mode 100644
index 000000000000..9145a031b346
--- /dev/null
+++ b/games/evilfinder/pkg-descr
@@ -0,0 +1,36 @@
+Evilfinder shows you whether things are evil. By default, the port will
+install a wrapper called "evilfinder," but you can define WITH_WRAPPER
+to build the web-oriented default binary only.
+
+
+ **** THE PROOF THAT The FreeBSD Project IS EVIL ****
+
+ T H E F R E E B S D P R O J E C T
+ 20 8 5 6 18 5 5 2 19 4 16 18 15 10 5 3 20 - as numbers
+ 2 8 5 6 9 5 5 2 1 4 7 9 6 1 5 3 2 - digits added
+ \___________/ \________/ \__________/ \_________/ \_/
+ 3 3 3 6 2 - digits added
+
+Thus, "The FreeBSD Project" is 33362.
+
+ Add 1947, the year Aleister Crowley paid a longer visit to hell - the
+ result is 35309.
+
+ Turn the number backwards, and add 1945 - the year Mussolini was
+ executed for the first time. The number is now 92298.
+
+ Add 9981 to it - this is the year "Scrabble" was invented to promote
+ violence and anger, written backwards - you will get 102279.
+
+ Subtract 23, the symbol of death. The result will be 102256.
+
+ Divide the number by 83 - this is the symbol of slavery, backwards. It
+ gives 1232.
+
+ This number, read as octal, gives 666 - the number of the Beast.
+
+ This is truly evil. QED.
+
+
+WWW: http://lcamtuf.coredump.cx/evilfinder/ef.shtml
+-Adam Weinberger <adamw@FreeBSD.org>
diff --git a/games/evilfinder/pkg-plist b/games/evilfinder/pkg-plist
new file mode 100644
index 000000000000..97b1f6c0ad3b
--- /dev/null
+++ b/games/evilfinder/pkg-plist
@@ -0,0 +1,7 @@
+bin/ef
+%%WRAPPER%%bin/evilfinder
+bin/shuffle
+%%PORTDOCS%%share/doc/evilfinder/README
+share/evilfinder/evilnumbers.dat
+%%PORTDOCS%%@dirrm share/doc/evilfinder
+@dirrm share/evilfinder