aboutsummaryrefslogtreecommitdiffstats
path: root/lang/execline/Makefile
blob: 28ccb36ec8eff41784357581e9aca3994b37f17e (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
35
36
37
# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$

PORTNAME=   execline
PORTVERSION=    2.1.3.1
CATEGORIES= lang shells
MASTER_SITES=   http://www.skarnet.org/software/${PORTNAME}/

MAINTAINER= colin@heliocat.net
COMMENT=    Lightweight non-interactive sh(1)-like scripting language

LICENSE=    ISCL

BUILD_DEPENDS=  skalibs>=2.3.6.1:${PORTSDIR}/devel/skalibs

CONFLICTS_INSTALL=  ImageMagick-* # bin/import

USES=       gmake
USE_LDCONFIG=   yes
HAS_CONFIGURE=  yes
CONFIGURE_ARGS+=--prefix=${PREFIX} \
        --with-sysdeps=${LOCALBASE}/lib/skalibs/sysdeps \
        --with-lib=${LOCALBASE}/lib/skalibs \
        --with-dynlib=${LOCALBASE}/lib \
        --with-include=${LOCALBASE}/include \
        --enable-shared

DOCS=       AUTHORS COPYING INSTALL README doc/*.html
OPTIONS_DEFINE= DOCS

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexecline.so.${PORTVERSION}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>