# Created by: Zhihao Yuan # $FreeBSD$ PORTNAME= pure-sql3 PORTVERSION= 0.5 CATEGORIES= databases MASTER_SITES= https://bitbucket.org/purelang/pure-lang/downloads/ DIST_SUBDIR= pure MAINTAINER= ports@FreeBSD.org COMMENT= Pure language binding to the SQLite3 library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= pkgconfig pure sqlite PORTDOCS= README PORTEXAMPLES= * PLIST_FILES= lib/pure/sql3.pure \ lib/pure/sql3util.so OPTIONS_DEFINE= DOCS EXAMPLES post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/sql3util.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