aboutsummaryrefslogtreecommitdiff
path: root/games/an
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-02-13 15:16:28 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-02-13 15:16:28 +0000
commit6b368e6ffa4a7d022b5b5080cd582c1952c27bba (patch)
treee762c8fca7deaf2e6beb91487cc36df1a639fc12 /games/an
parentd4bc1f0df49f9ff57e874e5b4617ae71f9e7c210 (diff)
downloadports-6b368e6ffa4a7d022b5b5080cd582c1952c27bba.tar.gz
ports-6b368e6ffa4a7d022b5b5080cd582c1952c27bba.zip
Update to 0.95.
Use Debian version, since original author appears to have disappeared. PR: 48229 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Notes
Notes: svn path=/head/; revision=75465
Diffstat (limited to 'games/an')
-rw-r--r--games/an/Makefile14
-rw-r--r--games/an/distinfo2
-rw-r--r--games/an/pkg-comment1
-rw-r--r--games/an/pkg-descr24
-rw-r--r--games/an/pkg-plist1
5 files changed, 14 insertions, 28 deletions
diff --git a/games/an/Makefile b/games/an/Makefile
index eecf831eb41e..5c4686000c4f 100644
--- a/games/an/Makefile
+++ b/games/an/Makefile
@@ -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
diff --git a/games/an/distinfo b/games/an/distinfo
index 9b9defe09236..4c98ba8cd9d2 100644
--- a/games/an/distinfo
+++ b/games/an/distinfo
@@ -1 +1 @@
-MD5 (an-0.93.tar.gz) = a78419d3b7cedf46c6d57311c3062297
+MD5 (an_0.95.orig.tar.gz) = 1f67775dd505a4bad7f891d6062da560
diff --git a/games/an/pkg-comment b/games/an/pkg-comment
deleted file mode 100644
index bcfc0c6d7759..000000000000
--- a/games/an/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Fast anagram generator
diff --git a/games/an/pkg-descr b/games/an/pkg-descr
index 5011172fe416..6ece6d6bbbff 100644
--- a/games/an/pkg-descr
+++ b/games/an/pkg-descr
@@ -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).
diff --git a/games/an/pkg-plist b/games/an/pkg-plist
index eb21d4992d53..48257629200d 100644
--- a/games/an/pkg-plist
+++ b/games/an/pkg-plist
@@ -1 +1,2 @@
+@comment $FreeBSD$
bin/an