blob: 30397c4c06c0c4231ffc70eb5e14a6e3fa49cf04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Created by: Zhihao Yuan <lichray@gmail.com>
# $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= *
OPTIONS_DEFINE= DOCS EXAMPLES
PLIST_FILES= lib/pure/sql3.pure \
lib/pure/sql3util.so
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/sql3util.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
|