aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2023-08-05 12:13:13 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-08-06 12:42:47 +0000
commit01258aa86c3aa538c12a03adf8dd08861087505c (patch)
treebb0b8760ab17d53cc7133954b9d35b1f734b953f
parent849abbb28281aadfae9d3b1b5f80c947d6e0f9e8 (diff)
downloadports-01258aa86c3aa538c12a03adf8dd08861087505c.tar.gz
ports-01258aa86c3aa538c12a03adf8dd08861087505c.zip
devel/date: remove port
This port has an older version of the library shipped in devel/hhdate. Remove it in preparation of replacement with devel/hhdate. PR: 272778 Reported by: Alexander Chernyavsky <nickp102@gmail.com> Approved by: yuri
-rw-r--r--MOVED1
-rw-r--r--devel/Makefile1
-rw-r--r--devel/date/Makefile42
-rw-r--r--devel/date/distinfo3
-rw-r--r--devel/date/pkg-descr20
-rw-r--r--x11/waybar/Makefile2
6 files changed, 2 insertions, 67 deletions
diff --git a/MOVED b/MOVED
index 23d908f12099..437f36cca17b 100644
--- a/MOVED
+++ b/MOVED
@@ -7778,3 +7778,4 @@ graphics/blender-lts29||2023-07-31|Has expired: Deprecated upstream
x11-fm/wcmcommander||2023-07-31|Has expired: Abandoned upstream
x11/cde-24|x11/cde-25|2023-08-01|Has expired: Desupported by upstream
lang/go118||2023-08-04|Upstream support ended
+devel/date||2023-08-05|To be replaced by devel/hhdate
diff --git a/devel/Makefile b/devel/Makefile
index 8018ed6cf283..2dfacc63f3a5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -521,7 +521,6 @@
SUBDIR += dash.el
SUBDIR += dasm
SUBDIR += datadraw
- SUBDIR += date
SUBDIR += dbus
SUBDIR += dbus-c++
SUBDIR += dbus-glib
diff --git a/devel/date/Makefile b/devel/date/Makefile
deleted file mode 100644
index a5121a3f42f4..000000000000
--- a/devel/date/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-PORTNAME= date
-DISTVERSIONPREFIX= v
-DISTVERSION= 3.0.1
-CATEGORIES= devel
-
-MAINTAINER= yuri@FreeBSD.org
-COMMENT= Date and time library based on the C++11/14/17 <chrono> header
-WWW= https://github.com/HowardHinnant/date
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-
-LIB_DEPENDS= libcurl.so:ftp/curl
-TEST_DEPENDS= bash:shells/bash
-
-USES= cmake compiler:c++17-lang
-USE_LDCONFIG= yes
-
-USE_GITHUB= yes
-GH_ACCOUNT= HowardHinnant
-
-CMAKE_ON= BUILD_SHARED_LIBS BUILD_TZ_LIB
-CMAKE_OFF= ENABLE_DATE_TESTING
-
-PLIST_FILES= include/date/date.h \
- include/date/tz.h \
- lib/cmake/date/dateConfig.cmake \
- lib/cmake/date/dateConfigVersion.cmake \
- lib/cmake/date/dateTargets-${CMAKE_BUILD_TYPE:tl}.cmake \
- lib/cmake/date/dateTargets.cmake \
- lib/libdate-tz.so \
- lib/libdate-tz.so.3 \
- lib/libdate-tz.so.3.0.0
-
-do-test:
- @cd ${WRKSRC} && ${REINPLACE_CMD} 's|!/bin/bash|!${LOCALBASE}/bin/bash|' compile_fail.sh test_fail.sh
- @cd ${BUILD_WRKSRC} && \
- ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DENABLE_DATE_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
- ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
- ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} testit
-
-.include <bsd.port.mk>
diff --git a/devel/date/distinfo b/devel/date/distinfo
deleted file mode 100644
index d1e2f72796b2..000000000000
--- a/devel/date/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1621664144
-SHA256 (HowardHinnant-date-v3.0.1_GH0.tar.gz) = 7a390f200f0ccd207e8cff6757e04817c1a0aec3e327b006b7eb451c57ee3538
-SIZE (HowardHinnant-date-v3.0.1_GH0.tar.gz) = 825542
diff --git a/devel/date/pkg-descr b/devel/date/pkg-descr
deleted file mode 100644
index 1bef34dd6230..000000000000
--- a/devel/date/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-This is actually several separate C++11/C++14/C++17 libraries:
-* "date.h" is a header-only library which builds upon <chrono>. It adds some new
- duration types, and new time_point types. It also adds "field" types such as
- year_month_day which is a struct {year, month, day}. And it provides
- convenient means to convert between the "field" types and the time_point
- types.
-* "tz.h" / "tz.cpp" are a timezone library built on top of the "date.h" library.
- This timezone library is a complete parser of the IANA timezone database. It
- provides for an easy way to access all of the data in this database, using the
- types from "date.h" and <chrono>. The IANA database also includes data on leap
- seconds, and this library provides utilities to compute with that information
- as well.
-* "iso_week.h" is a header-only library built on top of the "date.h" library
- which implements the ISO week date calendar.
-* "julian.h" is a header-only library built on top of the "date.h" library which
- implements a proleptic Julian calendar which is fully interoperable with
- everything above.
-* "islamic.h" is a header-only library built on top of the "date.h" library
- which implements a proleptic Islamic calendar which is fully interoperable
- with everything above.
diff --git a/x11/waybar/Makefile b/x11/waybar/Makefile
index 26a4a30bb52d..420599b06d69 100644
--- a/x11/waybar/Makefile
+++ b/x11/waybar/Makefile
@@ -11,7 +11,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
-LIB_DEPENDS= libdate-tz.so:devel/date \
+LIB_DEPENDS= libdate-tz.so:devel/hhdate \
libjsoncpp.so:devel/jsoncpp \
libfmt.so:devel/libfmt \
libspdlog.so:devel/spdlog \