Lines 1-8
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= libfmt |
3 |
PORTNAME= libfmt |
4 |
PORTVERSION= 3.0.1 |
4 |
DISTVERSION= 4.1.0 |
5 |
PORTREVISION= 3 |
|
|
6 |
CATEGORIES= devel |
5 |
CATEGORIES= devel |
7 |
|
6 |
|
8 |
MAINTAINER= SlavaMikerov@gmail.com |
7 |
MAINTAINER= SlavaMikerov@gmail.com |
Lines 15-22
Link Here
|
15 |
USE_GITHUB= yes |
14 |
USE_GITHUB= yes |
16 |
GH_ACCOUNT= fmtlib |
15 |
GH_ACCOUNT= fmtlib |
17 |
GH_PROJECT= fmt |
16 |
GH_PROJECT= fmt |
18 |
CMAKE_ARGS= -DFMT_DOC=OFF -DBUILD_SHARED_LIBS=ON |
17 |
USE_LDCONFIG= yes |
19 |
OPTIONS_DEFINE= TEST |
18 |
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON -DFMT_TEST:BOOL=OFF |
20 |
TEST_CMAKE_BOOL= FMT_TEST |
|
|
21 |
|
19 |
|
|
|
20 |
PLIST_SUB= SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R} |
21 |
|
22 |
do-test: |
23 |
@cd ${BUILD_WRKSRC} && \ |
24 |
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFMT_TEST=ON ${CMAKE_SOURCE_PATH} && \ |
25 |
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ |
26 |
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test |
27 |
|
22 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |