aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pure-csv/Makefile
blob: 1f42e482b6de4c8141f42719621dd8e1db0b1424 (plain) (blame)
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
# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$

PORTNAME=   pure-csv
PORTVERSION=    1.5
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   https://cdn.bitbucket.org/purelang/pure-lang/downloads/
DIST_SUBDIR=    pure

MAINTAINER= ports@FreeBSD.org
COMMENT=    CSV reading and writing module for the Pure language

LICENSE=    BSD3CLAUSE

USES=       pure
PORTDOCS=   README
OPTIONS_DEFINE= DOCS

PLIST_FILES=    lib/pure/csv.pure \
        lib/pure/csv.so

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/csv.so
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>