From owner-svn-ports-all@freebsd.org Fri Nov 18 08:47:07 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F137C47832; Fri, 18 Nov 2016 08:47:07 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0990B1D06; Fri, 18 Nov 2016 08:47:06 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAI8l6dF090961; Fri, 18 Nov 2016 08:47:06 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAI8l5eU090957; Fri, 18 Nov 2016 08:47:05 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201611180847.uAI8l5eU090957@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 18 Nov 2016 08:47:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426313 - in head/games/an: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 08:47:07 -0000 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 '//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 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