aboutsummaryrefslogtreecommitdiff
path: root/devel/pure-readline/Makefile
blob: 212de6fed3f578c640d0f960da0262673d953083 (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-readline
PORTVERSION=	0.2
CATEGORIES=	devel
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
DIST_SUBDIR=	pure

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Readline interface for the Pure language

LICENSE=	BSD3CLAUSE GPLv3
LICENSE_COMB=	dual

USES=		pure readline
PORTDOCS=	README
OPTIONS_DEFINE=	DOCS

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

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

.include <bsd.port.mk>