Index: head/devel/hhdate/Makefile =================================================================== --- head/devel/hhdate/Makefile (revision 453140) +++ head/devel/hhdate/Makefile (revision 453141) @@ -1,43 +1,41 @@ # Created by: Andreas Sommer # $FreeBSD$ PORTNAME= hhdate -PORTVERSION= 2.2 -PORTREVISION= 1 -DISTVERSIONPREFIX= v +DISTVERSION= 2.3 CATEGORIES= devel MAINTAINER= andreas.sommer87@googlemail.com COMMENT= Date and time library based on the C++11 (and beyond) header 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 # TODO add timezone support when interest grows 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 .include post-extract-TEST-on: ${INSTALL_DATA} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile ${INSTALL_DATA} ${FILESDIR}/test-minimal.cpp ${WRKSRC}/test/test-minimal.cpp do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/hhdate - ${INSTALL_DATA} ${WRKSRC}/date.h ${STAGEDIR}${PREFIX}/include/hhdate/ + ${INSTALL_DATA} ${WRKSRC}/include/date/date.h ${STAGEDIR}${PREFIX}/include/hhdate/ .include Index: head/devel/hhdate/distinfo =================================================================== --- head/devel/hhdate/distinfo (revision 453140) +++ head/devel/hhdate/distinfo (revision 453141) @@ -1,3 +1,3 @@ -TIMESTAMP = 1497889098 -SHA256 (HowardHinnant-date-v2.2_GH0.tar.gz) = e552bec642006fdee4e4d5e6270bbcb37a2b84b36c3433054e3ae9b02925644a -SIZE (HowardHinnant-date-v2.2_GH0.tar.gz) = 779794 +TIMESTAMP = 1509311413 +SHA256 (HowardHinnant-date-2.3_GH0.tar.gz) = 8b74132e13f5d55580e281f4df6dc38b60cb3932bf1956bda2153a0d8fd590e4 +SIZE (HowardHinnant-date-2.3_GH0.tar.gz) = 787743 Index: head/devel/hhdate/files/test-minimal.cpp =================================================================== --- head/devel/hhdate/files/test-minimal.cpp (revision 453140) +++ head/devel/hhdate/files/test-minimal.cpp (revision 453141) @@ -1,21 +1,21 @@ // Small example taken from https://howardhinnant.github.io/date/date.html. // Only for testing installed header shortly. #include -#include "../date.h" +#include "../include/date/date.h" int main() { using namespace std; using namespace date; for (auto m = 1; m <= 12; ++m) { auto meet = year_month_day{m/fri[1]/2015}; cout << meet << '\n'; meet = meet.year()/meet.month()/(meet.day()+weeks{2}); cout << meet << '\n'; meet = meet.year()/meet.month()/(meet.day()+weeks{2}); if (meet.ok()) cout << meet << '\n'; } }