Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 12:36:46 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@hadaly.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48229: Update port: games/an to 0.95
Message-ID:  <20030213033646.9144F54B7@hadaly.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         48229
>Category:       ports
>Synopsis:       Update port: games/an to 0.95
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 12 19:40:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.7-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD hadaly.dyndns.org 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #0: Tue Jan 7 14:25:02 JST 2003 root@hadaly.dyndns.org:/sack/tmp/obj/pub/src/sys/NS i386


	
>Description:
Update to 0.95.

an-0.95/debian/copyright says as follows:

	This is an, maintained by Paul Martin <pm@debian.org>
	on Mon, 13 Nov 2000 17:53:04 +0000.
	<snip>
	The original author of this program, who appears to have disappeared,
	was Richard Jones <richard@deep-thought.org>.

So we now use the debian version of an.
	
>How-To-Repeat:
	
>Fix:
cvs server: Diffing .
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/games/an/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	10 Nov 2002 16:46:01 -0000	1.9
+++ Makefile	13 Feb 2003 03:31:01 -0000
@@ -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
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/games/an/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo	4 Mar 1997 10:30:13 -0000	1.1.1.1
+++ distinfo	13 Feb 2003 03:31:01 -0000
@@ -1 +1 @@
-MD5 (an-0.93.tar.gz) = a78419d3b7cedf46c6d57311c3062297
+MD5 (an_0.95.orig.tar.gz) = 1f67775dd505a4bad7f891d6062da560
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/games/an/pkg-descr,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 pkg-descr
--- pkg-descr	4 Mar 1997 10:30:13 -0000	1.1.1.1
+++ pkg-descr	13 Feb 2003 03:31:01 -0000
@@ -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).

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030213033646.9144F54B7>