mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
30a239d95e
- Fix WWW:
36 lines
818 B
Makefile
36 lines
818 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= LGPL3+
|
|
|
|
USES= pkgconfig pure
|
|
|
|
PORTDOCS= README
|
|
PORTEXAMPLES= *
|
|
PLIST_FILES= lib/pure/sockets.pure \
|
|
lib/pure/sockets.so
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/sockets.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|