aboutsummaryrefslogtreecommitdiff
path: root/devel/rlwrap/Makefile
blob: ebb64be9f62529ad6991cbbb9809c6fa4d7d661b (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
29
30
31
32
33
34
# Created by: ijliao

PORTNAME=	rlwrap
DISTVERSION=	0.45.2
CATEGORIES=	devel
MASTER_SITES=	https://github.com/hanslub42/rlwrap/releases/download/v${DISTVERSION}/

MAINTAINER=	gamato@users.sf.net
COMMENT=	Readline wrapper

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		autoreconf python readline shebangfix
PYTHON_NO_DEPENDS=	yes
SHEBANG_GLOB=	*.py
SHEBANG_FILES=	filters/dissect_prompt \
		filters/handle_sigwinch \
		filters/makefilter
python_OLD_CMD=	"/usr/bin/env python3"

GNU_CONFIGURE=	yes

PORTDOCS=	AUTHORS BUGS NEWS README

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>