aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rudiments/Makefile
blob: 0f3751e836c43bd2cc117480d18f15482a769795 (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
30
31
32
33
34
35
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=   rudiments
PORTVERSION=    0.56.0
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= pi@FreeBSD.org
COMMENT=    C++ class library for daemons, clients, servers, and more

LICENSE=    LGPL20

GNU_CONFIGURE=  yes
USES=       libtool pkgconfig shebangfix
SHEBANG_FILES=  doc/programming/insert.pl
USE_LDCONFIG=   yes

PLIST_SUB=  VERSION="${PORTVERSION}"
PORTDOCS=   *

OPTIONS_DEFINE=     DOCS PCRE SSL
OPTIONS_DEFAULT=    SSL

PCRE_LIB_DEPENDS=   libpcre.so:devel/pcre
PCRE_CONFIGURE_ENABLE=  pcre
SSL_USES=       ssl
SSL_CONFIGURE_ENABLE=   ssl
SSL_CONFIGURE_ON=   --with-ssl-includes=-I${OPENSSLINC} \
            --with-ssl-libs=-L${OPENSSLLIB}

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librudiments.so.2.0.0

.include <bsd.port.mk>