diff options
author | adamw <adamw@FreeBSD.org> | 2003-06-12 07:03:23 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2003-06-12 07:03:23 +0800 |
commit | fd810928c0aeaeaec0513a0bed13a9d95391a17e (patch) | |
tree | 5bee81244b878516084245929f039e54dc5f4708 /games | |
parent | c28de82154fd499cac8b96ebedaecf4315dda277 (diff) | |
download | freebsd-ports-gnome-fd810928c0aeaeaec0513a0bed13a9d95391a17e.tar.gz freebsd-ports-gnome-fd810928c0aeaeaec0513a0bed13a9d95391a17e.tar.zst freebsd-ports-gnome-fd810928c0aeaeaec0513a0bed13a9d95391a17e.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.
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/evilfinder/Makefile | 64 | ||||
-rw-r--r-- | games/evilfinder/distinfo | 1 | ||||
-rw-r--r-- | games/evilfinder/files/evilfinder | 8 | ||||
-rw-r--r-- | games/evilfinder/pkg-descr | 36 | ||||
-rw-r--r-- | games/evilfinder/pkg-plist | 7 |
6 files changed, 117 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index d038138f3fe7..46742c6d9433 100644 --- a/games/Makefile +++ b/games/Makefile @@ -92,6 +92,7 @@ SUBDIR += empire SUBDIR += enigma SUBDIR += euchre + SUBDIR += evilfinder SUBDIR += exult SUBDIR += falconseye SUBDIR += farblazer 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 |