mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
Update to 0.95.
Use Debian version, since original author appears to have disappeared. PR: 48229 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
parent
d4bc1f0df4
commit
6b368e6ffa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75465
@ -6,23 +6,27 @@
|
||||
#
|
||||
|
||||
PORTNAME= an
|
||||
PORTVERSION= 0.93
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.95
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.gtoal.com/wordgames/anagrams/${DISTNAME}/
|
||||
MASTER_SITES= ${MASTER_SITE_DEBIAN}
|
||||
MASTER_SITE_SUBDIR= pool/main/a/an
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Fast anagram generator
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
USE_REINPLACE= yes
|
||||
MAKE_ENV+= DEFS=-DDEFDICT=\\\"/usr/share/dict/words\\\"
|
||||
ALL_TARGET= with-getopt
|
||||
MAN6= an.6
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|^CC=|CC?=|g ; \
|
||||
s|^CFLAGS=-O|CFLAGS+=|g ; \
|
||||
s|^CFLAGS=-O2|CFLAGS+=|g ; \
|
||||
s| make| \$$\(MAKE\)|g'
|
||||
@${REINPLACE_CMD} -e 's|^\#OBJS|OBJS|' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e '/<stdint.h>/d' ${WRKSRC}/an.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/an ${PREFIX}/bin
|
||||
|
@ -1 +1 @@
|
||||
MD5 (an-0.93.tar.gz) = a78419d3b7cedf46c6d57311c3062297
|
||||
MD5 (an_0.95.orig.tar.gz) = 1f67775dd505a4bad7f891d6062da560
|
||||
|
@ -1 +0,0 @@
|
||||
Fast anagram generator
|
@ -1,21 +1,3 @@
|
||||
an v0.93 - Anagram Generator
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Generates anagrams for a phrase supplied by the user, the words used in the
|
||||
anagram are taken from a specified dictionary which should contain one
|
||||
word per line (default:/usr/dict/words).
|
||||
|
||||
Read INSTALL for instructions on installing.
|
||||
|
||||
Written by Richard M. Jones
|
||||
Many ideas contributed by Julian Assange (Let this be a lesson to you)
|
||||
|
||||
Please mail bug reports and any suggestions to:
|
||||
jonesr@latcs1.cs.latrobe.edu.au
|
||||
|
||||
Some Anagrams Found Using an-0.93
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Free Software Foundation - I'd fan out tons of freeware!
|
||||
National Security Agency - Lusty yearning at cocaine.
|
||||
President Dole - Led despite Ron.
|
||||
Central Intelligence Agency - Langley: Inelegant, eccentric.
|
||||
Generates anagrams for a phrase supplied by the user, the words used
|
||||
in the anagram are taken from a specified dictionary which should
|
||||
contain one word per line (default:/usr/share/dict/words).
|
||||
|
@ -1 +1,2 @@
|
||||
@comment $FreeBSD$
|
||||
bin/an
|
||||
|
Loading…
x
Reference in New Issue
Block a user