aboutsummaryrefslogtreecommitdiffstats
path: root/lang/execline/Makefile
blob: 1030145b0fc088b66dd3b20c4b71b2454e81f370 (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
# New ports collection makefile for:    execline
# Date created:     2003-06-25
# Whom:         Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#

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

MAINTAINER= sergei@kolobov.com
COMMENT=    Lightweight non-interactive scripting language similar to sh(1)

WRKSRC=     ${WRKDIR}/admin/${DISTNAME}

DOCS=       package/CHANGES package/README package/THANKS package/TODO \
        doc/*.html

do-configure:
    ${ECHO_CMD} "${LOCALBASE}/include/skalibs" > ${WRKSRC}/conf-compile/import
    ${ECHO_CMD} "${LOCALBASE}/lib/skalibs"    >> ${WRKSRC}/conf-compile/import

do-build:
    cd ${WRKSRC} && package/compile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/include/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/library/* ${PREFIX}/lib
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/etc/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>