PORTNAME= skstream PORTVERSION= 0.3.9 PORTREVISION= 9 CATEGORIES= net MASTER_SITES= SF/worldforge/${PORTNAME}%20%28network%20lib%29/${PORTVERSION} MAINTAINER= oliver@FreeBSD.org COMMENT= iostream based C++ socket library WWW= http://www.worldforge.org/dev/eng/libraries/skstream/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= libtool pathfix pkgconfig compiler:c++11-lib gmake GNU_CONFIGURE= yes USE_LDCONFIG= yes CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing OPTIONS_DEFINE= DOCS .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 CXXFLAGS+= -Dregister= .endif post-patch: @${REINPLACE_CMD} -e 's| install-docdataDATA | |g' ${WRKSRC}/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in README COPYING AUTHORS NEWS README.FreeSockets @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include