View | Details | Raw Unified | Return to bug 48229
Collapse All | Expand All

(-)Makefile (-5 / +9 lines)
Lines 6-28 Link Here
6
#
6
#
7
7
8
PORTNAME=	an
8
PORTNAME=	an
9
PORTVERSION=	0.93
9
PORTVERSION=	0.95
10
PORTREVISION=	1
11
CATEGORIES=	games
10
CATEGORIES=	games
12
MASTER_SITES=	http://www.gtoal.com/wordgames/anagrams/${DISTNAME}/
11
MASTER_SITES=	${MASTER_SITE_DEBIAN}
12
MASTER_SITE_SUBDIR=	pool/main/a/an
13
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
13
14
14
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Fast anagram generator
15
17
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
16
USE_REINPLACE=	yes
19
USE_REINPLACE=	yes
17
MAKE_ENV+=	DEFS=-DDEFDICT=\\\"/usr/share/dict/words\\\"
18
ALL_TARGET=	with-getopt
20
ALL_TARGET=	with-getopt
19
MAN6=		an.6
21
MAN6=		an.6
20
22
21
post-patch:
23
post-patch:
22
	@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
24
	@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
23
		's|^CC=|CC?=|g ; \
25
		's|^CC=|CC?=|g ; \
24
		 s|^CFLAGS=-O|CFLAGS+=|g ; \
26
		 s|^CFLAGS=-O2|CFLAGS+=|g ; \
25
		 s| make| \$$\(MAKE\)|g'
27
		 s| make| \$$\(MAKE\)|g'
28
	@${REINPLACE_CMD} -e 's|^\#OBJS|OBJS|' ${WRKSRC}/Makefile
29
	@${REINPLACE_CMD} -e '/<stdint.h>/d' ${WRKSRC}/an.c
26
30
27
do-install:
31
do-install:
28
	${INSTALL_PROGRAM} ${WRKSRC}/an ${PREFIX}/bin
32
	${INSTALL_PROGRAM} ${WRKSRC}/an ${PREFIX}/bin
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (an-0.93.tar.gz) = a78419d3b7cedf46c6d57311c3062297
1
MD5 (an_0.95.orig.tar.gz) = 1f67775dd505a4bad7f891d6062da560
(-)pkg-descr (-21 / +3 lines)
Lines 1-21 Link Here
1
an v0.93 - Anagram Generator
1
Generates anagrams for a phrase supplied by the user, the words used
2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2
in the anagram are taken from a specified dictionary which should
3
3
contain one word per line (default:/usr/share/dict/words).
4
Generates anagrams for a phrase supplied by the user, the words used in the
5
anagram are taken from a specified dictionary which should contain one
6
word per line (default:/usr/dict/words).
7
8
Read INSTALL for instructions on installing.
9
10
Written by Richard M. Jones
11
Many ideas contributed by Julian Assange (Let this be a lesson to you)
12
13
Please mail bug reports and any suggestions to:
14
     jonesr@latcs1.cs.latrobe.edu.au
15
16
Some Anagrams Found Using an-0.93
17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18
Free Software Foundation  -  I'd fan out tons of freeware!
19
National Security Agency  -  Lusty yearning at cocaine.
20
President Dole            -  Led despite Ron.
21
Central Intelligence Agency - Langley: Inelegant, eccentric.

Return to bug 48229