Date: Mon, 4 May 2020 11:29:19 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> 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 Message-ID: <202005041129.044BTJDS015588@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bokutin@bokut.in> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005041129.044BTJDS015588>