aboutsummaryrefslogtreecommitdiffstats
path: root/net/nanomsg/Makefile
blob: 97dd9e1bc715c9436906127da9b079cce90068db (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
36
# $FreeBSD$

PORTNAME=   nanomsg
PORTVERSION=    0.5
CATEGORIES= net
MASTER_SITES=   http://download.nanomsg.org/
DISTNAME=   ${PORTNAME}-${DISTVERSION}-beta

MAINTAINER= crest@bultmann.eu
COMMENT=    Socket library that provides several common communication patterns

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       libtool pathfix
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip

.if defined(BATCH) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+=    --disable-silent-rules
.endif

PORTDOCS=   AUTHORS ChangeLog README

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's,GREP "GNU strip",EGREP "GNU|elftoolchain",' \
        ${WRKSRC}/configure

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>