# Created by: Zhihao Yuan # $FreeBSD: head/net/pure-sockets/Makefile 406020 2016-01-13 07:54:45Z vanilla $ PORTNAME= pure-sockets PORTVERSION= 0.7 CATEGORIES= net MASTER_SITES= https://bitbucket.org/purelang/pure-lang/downloads/ DIST_SUBDIR= pure MAINTAINER= ports@FreeBSD.org COMMENT= Pure language interface to the Berkeley socket functions LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual USES= pkgconfig pure PORTDOCS= README PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES PLIST_FILES= lib/pure/sockets.pure \ lib/pure/sockets.so post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/sockets.so @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include