dca84bd9f6
**** 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.
65 lines
1.6 KiB
Makefile
65 lines
1.6 KiB
Makefile
# 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>
|