Update lang/execline to version 2.5.1.0
[dports.git] / lang / execline / Makefile
1 # Created by: Sergei Kolobov <sergei@kolobov.com>
2 # $FreeBSD$
3
4 PORTNAME=       execline
5 PORTVERSION=    2.5.1.0
6 CATEGORIES=     lang shells
7 MASTER_SITES=   https://www.skarnet.org/software/${PORTNAME}/
8
9 MAINTAINER=     crest@rlwinm.de
10 COMMENT=        Lightweight non-interactive sh(1)-like scripting language
11
12 LICENSE=        ISCL
13 LICENSE_FILE=   ${WRKSRC}/COPYING
14
15 BUILD_DEPENDS=  skalibs>=2.8.0.0:devel/skalibs
16 LIB_DEPENDS=    libskarnet.so:devel/skalibs
17
18 USES=           gmake
19 USE_LDCONFIG=   yes
20 HAS_CONFIGURE=  yes
21 CONFIGURE_ARGS= --prefix=${PREFIX} \
22                 --with-sysdeps=${LOCALBASE}/lib/skalibs/sysdeps \
23                 --with-lib=${LOCALBASE}/lib/skalibs \
24                 --with-dynlib=${LOCALBASE}/lib \
25                 --with-include=${LOCALBASE}/include \
26                 --enable-shared
27
28 OPTIONS_DEFINE= DOCS
29
30 DOCS=           AUTHORS README doc/*.html
31
32 post-install:
33         @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
34         @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexecline.so.${PORTVERSION}
35
36 post-install-DOCS-on:
37         @${MKDIR} ${STAGEDIR}${DOCSDIR}
38         cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
39
40 .include <bsd.port.mk>