2013-07-10 23:11:24 +02:00
|
|
|
# Created by: Zhihao Yuan <lichray@gmail.com>
|
2011-06-27 16:45:31 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pure-sql3
|
|
|
|
PORTVERSION= 0.4
|
2014-06-27 19:21:06 +02:00
|
|
|
PORTREVISION= 3
|
2011-06-27 16:45:31 +02:00
|
|
|
CATEGORIES= databases
|
2013-11-06 23:50:21 +01:00
|
|
|
MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
|
|
|
|
DIST_SUBDIR= pure
|
2011-06-27 16:45:31 +02:00
|
|
|
|
2014-07-05 01:48:56 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2011-08-19 13:26:57 +02:00
|
|
|
COMMENT= Pure language binding to the SQLite3 library
|
2011-06-27 16:45:31 +02:00
|
|
|
|
2013-11-06 23:50:21 +01:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2013-12-11 19:08:52 +01:00
|
|
|
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
|
2011-06-27 16:45:31 +02:00
|
|
|
|
2013-11-06 23:50:21 +01:00
|
|
|
USES= pure
|
2011-06-27 16:45:31 +02:00
|
|
|
|
|
|
|
PLIST_FILES= lib/pure/sql3.pure \
|
|
|
|
lib/pure/sql3util.so
|
|
|
|
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2013-11-06 23:50:21 +01:00
|
|
|
|
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
2014-02-21 14:35:57 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-11-06 23:50:21 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
|
|
|
.endif
|
|
|
|
|
2013-07-10 23:11:24 +02:00
|
|
|
.include <bsd.port.mk>
|