From nobody Mon Jun 05 18:51:18 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QZjPM53LJz4Ztp7; Mon, 5 Jun 2023 18:51:19 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QZjPM0x0Dz3rcC; Mon, 5 Jun 2023 18:51:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685991079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HSeF3d2YstUhAdtxPUBZqL7FQ1FMMVJ0R6RXZCBuSY8=; b=d2TJG3lyBev/A740DWO3fAZ8tNXDnI85xFIL7jHF4uT9Mp/YB3duEu5X6cU2Yw/FZ0kOEu /H6Mmf1E56nR06ly1F83m7Poo+m2MeMtCtSxMv820rdVbzsgaZu8kOrVcyV2w0iAVkZNqy AGAbP5lFnsIHiRoRSIH0bevshnQNPAZSRplDOuFumRwrHYC53nwA/E3FlIvtJSylTZE/sp wHrVMioncRIiJ3y0+8X5etjUVgFbHEnEvLVsqpR28NS5+trs4nGmnK0BsD1ZtgHEmSbpW4 GbOIWjNhKt5jrpY95yG14aIFYElMF0X6yTBVfJzG6fuqIOO+ulRSO1uzI+C28w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685991079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HSeF3d2YstUhAdtxPUBZqL7FQ1FMMVJ0R6RXZCBuSY8=; b=kDXhnIw99IW1HODfwBcNNNJIoGZAMzrgCKyOZL1Tds14teZcdIo83noqveG+FfPRMMzIse 1j/Xs/F9D9/vGFMUTaiyuZ2BCtKMDzhi/GQb7K6Mw2EAl635Azf042M8Q5O2CMPSe+cnkV uFLEGnoE0RXnQAg3N2n2N5NaKJ+sFYV8d4w9jjhBf4Xt+B8fn6ekLsf5UC4+4rAEJlQC3G 17d37gknqiz5tySMQHdIbYZpc0lMqKRfbeQso87vYjoxYIwLZDSk+LOZezWUj/Xdvop69w 9klky4OBaU/e3bljbSJwcYmn9AZlxmFKWwFZbjfF7+1p1l/POHloid3Xb8mCGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685991079; a=rsa-sha256; cv=none; b=R65dBhdVogYAQR14WfjzII5RU8HhpOoC8Fhr2PN5Wrl4KrsA0+D/hK+LuAuWWolnuTq0vG 2ZiSTX2YwtRUv3dVCHCGZbPWAPZBdHNiCu8YolAc16Odkj6Ux4OeJijoJ2lqi2+sBMSIXN CswiPLTytnhFsBkPY99fPaQPn2FVVCiNFyGSA+fxgdOW5OmCarh1qMBOUCeSlDeZ9Ws/7t LPDUY6a570rzp0q3S2ojnG1UvKbqqUt29ZtLWfvbcS6GEAsVTOaSKMQrf2D5UK7+8Emx+y yIPLrHhzB5OBCG5HjiWytD9zKl5vs9KSkRss6/1Ulpxt2cSXtddxxSi8sZamTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QZjPM01tBzyn5; Mon, 5 Jun 2023 18:51:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 355IpIhR047652; Mon, 5 Jun 2023 18:51:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 355IpIpu047651; Mon, 5 Jun 2023 18:51:18 GMT (envelope-from git) Date: Mon, 5 Jun 2023 18:51:18 GMT Message-Id: <202306051851.355IpIpu047651@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 8bf1f947e2f1 - main - devel/hhdate: Build and install the shared library List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8bf1f947e2f1a38bc1ff5a9fd97a907c01ad64c3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8bf1f947e2f1a38bc1ff5a9fd97a907c01ad64c3 commit 8bf1f947e2f1a38bc1ff5a9fd97a907c01ad64c3 Author: Po-Chuan Hsieh AuthorDate: 2023-06-05 18:38:22 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-06-05 18:46:53 +0000 devel/hhdate: Build and install the shared library - Bump PORTREVISION for package change --- devel/hhdate/Makefile | 32 +++++++++----------------------- devel/hhdate/pkg-plist | 9 +++++++++ 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/devel/hhdate/Makefile b/devel/hhdate/Makefile index 76a7236915b3..0b8cbf36677a 100644 --- a/devel/hhdate/Makefile +++ b/devel/hhdate/Makefile @@ -1,6 +1,7 @@ PORTNAME= hhdate PORTVERSION= 3.0.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org @@ -10,31 +11,16 @@ WWW= https://github.com/HowardHinnant/date LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USE_GITHUB= yes -GH_ACCOUNT= HowardHinnant -GH_PROJECT= date - -NO_ARCH= yes -NO_BUILD= yes - -PLIST_FILES= include/hhdate/date.h \ - include/hhdate/tz.h +LIB_DEPENDS= libcurl.so:ftp/curl -OPTIONS_DEFINE= TEST -TEST_DESC= Build with minimal tests -TEST_ENV= ${MAKE_ENV} WRKDIR=${WRKDIR} -TEST_USES= compiler:c++11-lib -TEST_TEST_TARGET= test -USE_CXXSTD= c++11 +USES= cmake compiler:c++17-lang -post-extract-TEST-on: - ${INSTALL_DATA} ${FILESDIR}/test-minimal.cpp ${WRKSRC}/test/test-minimal.cpp +CMAKE_OFF= COMPILE_WITH_C_LOCALE DISABLE_STRING_VIEW ENABLE_DATE_TESTING MANUAL_TZ_DB USE_SYSTEM_TZ_DB USE_TZ_DB_IN_DOT +CMAKE_ON= BUILD_SHARED_LIBS BUILD_TZ_LIB +USE_LDCONFIG= yes -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/include/hhdate - ${INSTALL_DATA} ${WRKSRC}/include/date/date.h ${WRKSRC}/include/date/tz.h ${STAGEDIR}${PREFIX}/include/hhdate/ - -do-test: - cd ${WRKSRC}/test && ${CXX} ${CXXFLAGS} test-minimal.cpp -o test-minimal && ./test-minimal > /dev/null +USE_GITHUB= yes +GH_ACCOUNT= HowardHinnant +GH_PROJECT= date .include diff --git a/devel/hhdate/pkg-plist b/devel/hhdate/pkg-plist new file mode 100644 index 000000000000..9940c3eb0ca1 --- /dev/null +++ b/devel/hhdate/pkg-plist @@ -0,0 +1,9 @@ +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%%.cmake +lib/cmake/date/dateTargets.cmake +lib/libdate-tz.so +lib/libdate-tz.so.3 +lib/libdate-tz.so.3.0.0