aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cctz/Makefile
blob: 0e0fc6074a388f703d5eec4c013d559a5cd00b52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $FreeBSD$

PORTNAME=   cctz
PORTVERSION=    2.0
DISTVERSIONPREFIX=  v
CATEGORIES= devel

MAINTAINER= z7dr6ut7gs@snkmail.com
COMMENT=    C++ library for handling dates, times, and time zones

LICENSE=    APACHE20

GH_ACCOUNT= google
USE_GITHUB= yes
USES=       compiler:c++11-lib gmake

MAKE_ARGS+= CXX=${CXX} \
        EXTRA_CPPFLAGS="-D_POSIX_C_SOURCE=201112L -D_XOPEN_SOURCE=600"

PLIST_FILES=    include/civil_time.h \
        include/civil_time_detail.h \
        include/time_zone.h lib/libcctz.a
PORTDOCS=   README.md

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>