pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/mapcode Import mapcode 2.3.0 as geography/ma...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9981f8084562
branches: trunk
changeset: 354254:9981f8084562
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Tue Oct 25 08:22:27 2016 +0000
description:
Import mapcode 2.3.0 as geography/mapcode.
Based on a PR by Aleksej Lebedev.
A mapcode represents a location. Every location on Earth can be
represented by a mapcode. Mapcodes were designed to be short,
easy to recognise, remember and communicate. They are precise
to a few meters, which is good enough for every-day use.
diffstat:
geography/mapcode/DESCR | 4 ++++
geography/mapcode/Makefile | 32 ++++++++++++++++++++++++++++++++
geography/mapcode/PLIST | 4 ++++
geography/mapcode/buildlink3.mk | 13 +++++++++++++
geography/mapcode/distinfo | 6 ++++++
5 files changed, 59 insertions(+), 0 deletions(-)
diffs (79 lines):
diff -r 84b10d9c906e -r 9981f8084562 geography/mapcode/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/mapcode/DESCR Tue Oct 25 08:22:27 2016 +0000
@@ -0,0 +1,4 @@
+A mapcode represents a location. Every location on Earth can be
+represented by a mapcode. Mapcodes were designed to be short,
+easy to recognise, remember and communicate. They are precise
+to a few meters, which is good enough for every-day use.
diff -r 84b10d9c906e -r 9981f8084562 geography/mapcode/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/mapcode/Makefile Tue Oct 25 08:22:27 2016 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2016/10/25 08:22:27 fhajny Exp $
+
+DISTNAME= mapcode-cpp-2.3.0
+PKGNAME= ${DISTNAME:S/-cpp//}
+CATEGORIES= geography
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mapcode-foundation/}
+
+MAINTAINER= filip%joyent.com@localhost
+HOMEPAGE= https://github.com/mapcode-foundation/mapcode-cpp/
+COMMENT= Mapcode Library for C/C++
+LICENSE= apache-2.0
+
+GITHUB_PROJECT= mapcode-cpp
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+USE_LANGUAGES= c c++
+
+# Included CMakeLists is nonsensical
+# USE_CMAKE= yes
+
+INSTALLATION_DIRS= bin include lib
+
+do-build:
+ cd ${WRKSRC}/utility && ${CXX} ${CXXFLAGS} mapcode.cpp -o mapcode
+ cd ${WRKSRC}/mapcodelib && ${CC} ${CFLAGS} -fPIC -shared ${LDFLAGS} mapcoder.c -o libmapcode.so
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/utility/mapcode ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/mapcodelib/mapcoder.h ${DESTDIR}${PREFIX}/include/mapcode.h
+ ${INSTALL_LIB} ${WRKSRC}/mapcodelib/libmapcode.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../mk/bsd.pkg.mk"
diff -r 84b10d9c906e -r 9981f8084562 geography/mapcode/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/mapcode/PLIST Tue Oct 25 08:22:27 2016 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/25 08:22:27 fhajny Exp $
+bin/mapcode
+include/mapcode.h
+lib/libmapcode.so
diff -r 84b10d9c906e -r 9981f8084562 geography/mapcode/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/mapcode/buildlink3.mk Tue Oct 25 08:22:27 2016 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/10/25 08:22:27 fhajny Exp $
+
+BUILDLINK_TREE+= mapcode
+
+.if !defined(MAPCODE_BUILDLINK3_MK)
+MAPCODE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.mapcode+= mapcode>=2.3.0
+BUILDLINK_ABI_DEPENDS.mapcode+= mapcode>=2.3.0
+BUILDLINK_PKGSRCDIR.mapcode?= ../../geography/mapcode
+.endif # MAPCODE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -mapcode
diff -r 84b10d9c906e -r 9981f8084562 geography/mapcode/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/mapcode/distinfo Tue Oct 25 08:22:27 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/10/25 08:22:27 fhajny Exp $
+
+SHA1 (mapcode-cpp-2.3.0.tar.gz) = 6c0a8520bb42ac635849b52e94bcd90cb29348ef
+RMD160 (mapcode-cpp-2.3.0.tar.gz) = ffc35adac1255c77df6c9f4b7b347341c177300c
+SHA512 (mapcode-cpp-2.3.0.tar.gz) = 7ed70930ae6444d3d5ef7b82c1e719dc179ec18e204c892d0c140e30dddd68021f684d9ab4cae8be7998a290f999b740af4c42fee6b147718cdfc6b2aa743975
+Size (mapcode-cpp-2.3.0.tar.gz) = 919736 bytes
Home |
Main Index |
Thread Index |
Old Index