freebsd-ports/devel/pure-ffi/Makefile
Dmitry Marakasov 7ef024431a - Fix LICENSE
- Add LICENSE_FILE
- Switch to options helpers
- Fix WWW:

Approved by:	portmgr blanket
2017-03-15 11:56:56 +00:00

37 lines
793 B
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= pure-ffi
PORTVERSION= 0.14
CATEGORIES= devel
MASTER_SITES= https://bitbucket.org/purelang/pure-lang/downloads/
DIST_SUBDIR= pure
MAINTAINER= lichray@gmail.com
COMMENT= Pure language interface to libffi
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
LIB_DEPENDS= libffi.so:devel/libffi
USES= pkgconfig pure
PLIST_FILES= lib/pure/ffi.pure \
lib/pure/ffi.so
PORTDOCS= README
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
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>