1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/hhdate/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

42 lines
1013 B
Makefile

# Created by: Andreas Sommer <andreas.sommer87@googlemail.com>
# $FreeBSD$
PORTNAME= hhdate
DISTVERSIONPREFIX= v
DISTVERSION= 2.4
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= andreas.sommer87@googlemail.com
COMMENT= Date and time library based on the C++11 (and beyond) <chrono> 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
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}/include/date/date.h ${STAGEDIR}${PREFIX}/include/hhdate/
.include <bsd.port.mk>