summaryrefslogtreecommitdiff
path: root/shells/modernish/Makefile
blob: 4dc94d0f6e6f7d5db2dd0a47614be0f23ada3e0c (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

PORTNAME=	modernish
DISTVERSIONPREFIX=	v
DISTVERSION=	0.16.5
CATEGORIES=	shells

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	POSIX shell feature detection and language extension library

LICENSE=	ISCL
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes

NO_ARCH=	yes
NO_BUILD=	yes

OPTIONS_DEFINE=	DOCS EXAMPLES

do-install:
	cd ${WRKSRC} && \
	${SETENV} ${MAKE_ENV} ./install.sh -d ${PREFIX} -D ${STAGEDIR} -n -s ${SH}

	${RM} ${STAGEDIR}${DOCSDIR}/LICENSE
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR:H}
	${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR}
	${RLN} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}/examples

.include <bsd.port.mk>