aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cint/Makefile
blob: 130e5ad9fabdf6c2cdb6c9e0011d3f2262c70318 (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
# New ports collection makefile for:    cint
# Date created:             21 Aug 2007
# Whom:                 Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   cint
PORTVERSION=    5.16.19
DISTVERSIONSUFFIX=  -source
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   ftp://root.cern.ch/root/

MAINTAINER= fjoe@FreeBSD.org
COMMENT=    C/C++ interpreter

BUILD_DEPENDS=  bash:${PORTSDIR}/shells/bash

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
HAS_CONFIGURE=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   ${PREFIX}/lib/cint
ALL_TARGET=
MAN1=       cint.1 makecint.1

INSTALL_ARGS=   --bindir=${PREFIX}/bin  \
        --libdir=${PREFIX}/lib/cint \
        --mandir=${PREFIX}/man

.if !defined(NOPORTDOCS)
INSTALL_ARGS+=  --docdir=${DOCSDIR}
.endif

do-configure:
    cd ${WRKSRC} && ${LOCALBASE}/bin/bash configure __have_the_proper_shell@

do-install:
    cd ${WRKSRC} && ${LOCALBASE}/bin/bash tool/INSTALLBIN ${INSTALL_ARGS}

.include <bsd.port.mk>