aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ucommon/Makefile
blob: abe5b7d20d40519867cea3fb327e5421bf9986bb (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
# Created by: gahr
# $FreeBSD$

PORTNAME=   ucommon
PORTVERSION=    7.0.0
PORTREVISION=   4
CATEGORIES= devel
MASTER_SITES=   GNU/commoncpp

MAINTAINER= ports@FreeBSD.org
COMMENT=    Very lightweight C++ design pattern library

LICENSE=    LGPL3
LICENSE_FILE=   ${WRKSRC}/COPYING.LESSER

BROKEN_SSL= openssl111
BROKEN_SSL_REASON_openssl111=   error: allocation of incomplete type 'EVP_CIPHER_CTX'

USES=       compiler:c++11-lib cmake pathfix pkgconfig ssl
CMAKE_ARGS= -DBUILD_TESTING:BOOL=ON \
        -DCMAKE_INSTALL_BINDIR:STRING=bin/${PORTNAME}
USE_LDCONFIG=   yes
TEST_TARGET=    test

post-install:
    ${INSTALL_DATA} ${BUILD_WRKSRC}/ucommon-config.h ${STAGEDIR}${PREFIX}/include/ucommon

.include <bsd.port.mk>