7ef024431a
- Add LICENSE_FILE - Switch to options helpers - Fix WWW: Approved by: portmgr blanket
37 lines
793 B
Makefile
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>
|