Lines 1-27
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= libfmt |
3 |
PORTNAME= libfmt |
4 |
DISTVERSION= 5.3.0 |
4 |
DISTVERSION= 6.0.0 |
5 |
PORTREVISION= 1 |
|
|
6 |
CATEGORIES= devel |
5 |
CATEGORIES= devel |
7 |
|
6 |
|
8 |
MAINTAINER= tobik@FreeBSD.org |
7 |
MAINTAINER= tobik@FreeBSD.org |
9 |
COMMENT= Formatting library for C++ |
8 |
COMMENT= Formatting library for C++ |
10 |
|
9 |
|
11 |
LICENSE= BSD2CLAUSE |
10 |
LICENSE= MIT |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE.rst |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE.rst |
13 |
|
12 |
|
14 |
USES= cmake compiler:c++11-lib |
13 |
USES= cmake compiler:c++11-lang |
15 |
|
|
|
16 |
USE_GITHUB= yes |
14 |
USE_GITHUB= yes |
17 |
GH_ACCOUNT= fmtlib |
15 |
GH_ACCOUNT= fmtlib |
18 |
GH_PROJECT= fmt |
16 |
GH_PROJECT= fmt |
19 |
USE_LDCONFIG= yes |
17 |
USE_LDCONFIG= yes |
20 |
CMAKE_ARGS= -DFMT_DOC:BOOL=OFF -DFMT_TEST:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON \ |
|
|
21 |
-DFMT_PKGCONFIG_DIR=${PREFIX}/libdata/pkgconfig |
22 |
|
18 |
|
23 |
PLIST_SUB= SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R} |
19 |
CMAKE_OFF= FMT_DOC FMT_TEST |
|
|
20 |
CMAKE_ON= BUILD_SHARED_LIBS |
24 |
|
21 |
|
|
|
22 |
PLIST_SUB= SHL1=${PORTVERSION:R:R} \ |
23 |
SHL3=${PORTVERSION} |
24 |
|
25 |
do-test: |
25 |
do-test: |
26 |
@cd ${BUILD_WRKSRC} && \ |
26 |
@cd ${BUILD_WRKSRC} && \ |
27 |
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFMT_TEST:BOOL=ON ${CMAKE_SOURCE_PATH} && \ |
27 |
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFMT_TEST:BOOL=ON ${CMAKE_SOURCE_PATH} && \ |