From owner-svn-ports-head@freebsd.org Mon May 4 11:29:20 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E31DA2CD1E3; Mon, 4 May 2020 11:29:20 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49G0xX5MWXz44kF; Mon, 4 May 2020 11:29:20 +0000 (UTC) (envelope-from mandree@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B33C12361B; Mon, 4 May 2020 11:29:20 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 044BTKYf015595; Mon, 4 May 2020 11:29:20 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 044BTJDS015588; Mon, 4 May 2020 11:29:19 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <202005041129.044BTJDS015588@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Mon, 4 May 2020 11:29:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533921 - in head/japanese: . dams dams/files X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: in head/japanese: . dams dams/files X-SVN-Commit-Revision: 533921 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 11:29:21 -0000 Author: mandree Date: Mon May 4 11:29:18 2020 New Revision: 533921 URL: https://svnweb.freebsd.org/changeset/ports/533921 Log: japanese/dams: Geocoder that converts address strings into latitude and longitude Geocoder DAMS (Distributed Address Matching System) is software that provides a "geocoding" function that converts address strings into latitude and longitude. WWW: http://newspat.csis.u-tokyo.ac.jp/geocode/ PR: 243054 Submitted by: Tomohiro Hosaka Added: head/japanese/dams/ head/japanese/dams/Makefile (contents, props changed) head/japanese/dams/distinfo (contents, props changed) head/japanese/dams/files/ head/japanese/dams/files/patch-Makefile.in (contents, props changed) head/japanese/dams/files/patch-lib_openfile.cpp (contents, props changed) head/japanese/dams/pkg-descr (contents, props changed) head/japanese/dams/pkg-plist (contents, props changed) Modified: head/japanese/Makefile Modified: head/japanese/Makefile ============================================================================== --- head/japanese/Makefile Mon May 4 11:20:35 2020 (r533920) +++ head/japanese/Makefile Mon May 4 11:29:18 2020 (r533921) @@ -34,6 +34,7 @@ SUBDIR += cp5022x-el SUBDIR += csrd SUBDIR += ctags + SUBDIR += dams SUBDIR += dbskkd-cdb SUBDIR += ddskk SUBDIR += devil-fpw Added: head/japanese/dams/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/dams/Makefile Mon May 4 11:29:18 2020 (r533921) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= dams +PORTVERSION= 4.3.4 +CATEGORIES= japanese +MASTER_SITES= http://newspat.csis.u-tokyo.ac.jp/download/ + +MAINTAINER= bokutin@bokut.in +COMMENT= Geocoder that converts address strings into latitude and longitude + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= gmake libtool tar:tgz +USE_LDCONFIG= yes +GNU_CONFIGURE= yes + +MAKE_JOBS_UNSAFE= yes +ALL_TARGET= all dic +INSTALL_TARGET= install install-dic install-strip + +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/dams ${STAGEDIR}${PREFIX}/bin + +.include Added: head/japanese/dams/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/dams/distinfo Mon May 4 11:29:18 2020 (r533921) @@ -0,0 +1,3 @@ +TIMESTAMP = 1578031274 +SHA256 (dams-4.3.4.tgz) = 680d76eeba01d7cc93a6acb356173ba7ea2a842f59961bfeecf3777fbebc83f7 +SIZE (dams-4.3.4.tgz) = 66115848 Added: head/japanese/dams/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/dams/files/patch-Makefile.in Mon May 4 11:29:18 2020 (r533921) @@ -0,0 +1,16 @@ +--- Makefile.in.orig 2015-12-24 23:13:21 UTC ++++ Makefile.in +@@ -731,10 +731,10 @@ test: $(DIC) $(DAMS) + dic: $(DIC) + + install-dic: +- @if ! [ -d $(libdir)/dams ]; \ +- then mkdir -p $(libdir)/dams; \ ++ @if ! [ -d $(DESTDIR)$(libdir)/dams ]; \ ++ then mkdir -p $(DESTDIR)$(libdir)/dams; \ + fi +- $(install_sh_DATA) $(DIC) $(libdir)/dams ++ $(install_sh_DATA) $(DIC) $(DESTDIR)$(libdir)/dams + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. Added: head/japanese/dams/files/patch-lib_openfile.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/dams/files/patch-lib_openfile.cpp Mon May 4 11:29:18 2020 (r533921) @@ -0,0 +1,11 @@ +--- lib/openfile.cpp.orig 2015-12-25 14:22:43 UTC ++++ lib/openfile.cpp +@@ -53,7 +53,7 @@ int openfile(const char* fname) { + if (!pbase) { + pbase = mmap((caddr_t)0, st.st_size, PROT_READ, MAP_PRIVATE, fildes, 0); + onmemory = 0; +- if (pbase < 0) { ++ if (pbase == MAP_FAILED) { + /* mmap failed */ + fprintf(stderr, "ERR: failed to execute mmap.\n"); + return -1; Added: head/japanese/dams/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/dams/pkg-descr Mon May 4 11:29:18 2020 (r533921) @@ -0,0 +1,5 @@ +Geocoder DAMS (Distributed Address Matching System) is software +that provides a "geocoding" function that converts address strings +into latitude and longitude. + +WWW: http://newspat.csis.u-tokyo.ac.jp/geocode/ Added: head/japanese/dams/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/dams/pkg-plist Mon May 4 11:29:18 2020 (r533921) @@ -0,0 +1,7 @@ +bin/dams +include/dams.h +lib/dams/dams.dat +lib/dams/dams.try +lib/libdams-4.3.4.so +lib/libdams.a +lib/libdams.so