summaryrefslogtreecommitdiff
path: root/games/an/Makefile
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/Makefile
parentFix substitution in ddupcron.sh. (diff)
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/Makefile')
-rw-r--r--games/an/Makefile14
1 files changed, 9 insertions, 5 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