aboutsummaryrefslogtreecommitdiffstats
path: root/net/skstream/Makefile
blob: f827f6c632c6927409ceaa45143a7e2d0dc7863b (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
# Created by: Janni
# $FreeBSD$

PORTNAME=   skstream
PORTVERSION=    0.3.9
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   SF/worldforge/${PORTNAME}%20%28network%20lib%29/${PORTVERSION}

MAINTAINER= oliver@FreeBSD.org
COMMENT=    An iostream based C++ socket library

USES=       pathfix pkgconfig compiler:c++11-lib gmake
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -e 's| install-docdataDATA | |g'  ${WRKSRC}/Makefile.in

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in README COPYING AUTHORS NEWS README.FreeSockets
    @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>