aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cint/Makefile
blob: 9b2709c158047a63d3f9017fbafb4273d51281b7 (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
# Created by: 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

NO_STAGE=   yes
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>