diff options
Diffstat (limited to 'net/nanomsg/Makefile')
-rw-r--r-- | net/nanomsg/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net/nanomsg/Makefile b/net/nanomsg/Makefile new file mode 100644 index 000000000000..97dd9e1bc715 --- /dev/null +++ b/net/nanomsg/Makefile @@ -0,0 +1,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> |