Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2016 08:47:05 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426313 - in head/games/an: . files
Message-ID:  <201611180847.uAI8l5eU090957@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Nov 18 08:47:05 2016
New Revision: 426313
URL: https://svnweb.freebsd.org/changeset/ports/426313

Log:
  - Update to 1.2
  - Add LICENSE

Added:
  head/games/an/files/
  head/games/an/files/patch-Makefile   (contents, props changed)
Modified:
  head/games/an/Makefile
  head/games/an/distinfo
  head/games/an/pkg-descr

Modified: head/games/an/Makefile
==============================================================================
--- head/games/an/Makefile	Fri Nov 18 08:46:14 2016	(r426312)
+++ head/games/an/Makefile	Fri Nov 18 08:47:05 2016	(r426313)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	an
-PORTVERSION=	0.95
-PORTREVISION=	1
+PORTVERSION=	1.2
 CATEGORIES=	games
 MASTER_SITES=	DEBIAN_POOL
 DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
@@ -11,20 +10,15 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}.ori
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fast anagram generator
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libicuuc.so:devel/icu
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
+USES=		gmake tar:xz
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man6/${PORTNAME}.6.gz
 
-post-patch:
-	@${REINPLACE_CMD} -e '/<stdint.h>/d' ${WRKSRC}/an.c
-
-do-build:
-	cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} an.c gan_qsort.c \
-		-o ${PORTNAME} ${LDFLAGS}
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/an ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/an.6 ${STAGEDIR}${MANPREFIX}/man/man6
-
 .include <bsd.port.mk>

Modified: head/games/an/distinfo
==============================================================================
--- head/games/an/distinfo	Fri Nov 18 08:46:14 2016	(r426312)
+++ head/games/an/distinfo	Fri Nov 18 08:47:05 2016	(r426313)
@@ -1,2 +1,3 @@
-SHA256 (an_0.95.orig.tar.gz) = 11266dd1e347594d98f8dfd1e141d8b4fbe067752542d0e93c422c4789f9295c
-SIZE (an_0.95.orig.tar.gz) = 47829
+TIMESTAMP = 1479213376
+SHA256 (an_1.2.orig.tar.xz) = b925d57d80bd0d83b755f5b8d78e6d5bf05eb059ec84a7d8fbb77b18c73b17a5
+SIZE (an_1.2.orig.tar.xz) = 13196

Added: head/games/an/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/an/files/patch-Makefile	Fri Nov 18 08:47:05 2016	(r426313)
@@ -0,0 +1,27 @@
+--- Makefile.orig	2012-05-25 09:50:02 UTC
++++ Makefile
+@@ -16,10 +16,10 @@
+ #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ 
+ 
+-INSTALLDIR := $(DESTDIR)/usr/games
+-MANDIR := $(DESTDIR)/usr/share/man/man6
++INSTALLDIR := $(DESTDIR)$(PREFIX)/bin
++MANDIR := $(DESTDIR)$(PREFIX)/man/man6
+ 
+-CC:=gcc
++CC?=gcc
+ INSTALL:=install
+ 
+ CFLAGS += $(shell icu-config --cflags)
+@@ -43,8 +43,8 @@ $(BIN):	$(OBJS)
+ $(MAN):
+ 
+ install:	$(BIN)
+-	$(INSTALL) -m 755 $(BIN) $(INSTALLDIR)/$(BIN)
+-	$(INSTALL) -m 644 $(MAN) $(MANDIR)/$(MAN)
++	$(BSD_INSTALL_PROGRAM) $(BIN) $(INSTALLDIR)/$(BIN)
++	$(BSD_INSTALL_MAN) $(MAN) $(MANDIR)/$(MAN)
+ 
+ clean:
+ 	rm -f *.o $(BIN)

Modified: head/games/an/pkg-descr
==============================================================================
--- head/games/an/pkg-descr	Fri Nov 18 08:46:14 2016	(r426312)
+++ head/games/an/pkg-descr	Fri Nov 18 08:47:05 2016	(r426313)
@@ -1,3 +1,7 @@
-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).
+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).
+It understands accented characters and should work with any alphabetic
+language.
+
+WWW: https://packages.debian.org/unstable/games/an



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