mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
32 lines
791 B
Makefile
32 lines
791 B
Makefile
# Created by: Zhihao Yuan <lichray@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
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 <bsd.port.mk>
|