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

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

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

USE_GMAKE=  yes
USES=   pathfix pkgconfig
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USE_GCC=    4.7+

NO_STAGE=   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} ${DOCSDIR}
.for docfile in README COPYING AUTHORS NEWS README.FreeSockets
    @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>