aboutsummaryrefslogtreecommitdiffstats
path: root/lang/execline/Makefile
blob: ee73c83734cfeb85f19fafb78952713f64ef7e39 (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
38
39
40
41
42
# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$

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

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

LICENSE=    ISCL
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libskarnet.so:devel/skalibs
BUILD_DEPENDS=  skalibs>=2.6.2.0: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 README doc/*.html

OPTIONS_DEFINE= DOCS

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexecline.so.${PORTVERSION}

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>