aboutsummaryrefslogtreecommitdiffstats
path: root/science/clhep/Makefile
blob: 3ebae59db64826e3416f8fabdbea3efa46d7f659 (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
# New ports collection makefile for:    clhep
# Date created:             6 May 2001
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   clhep
PORTVERSION=    2.0.3.3
CATEGORIES= science
MASTER_SITES=   http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Object-oriented toolkit for particle physics applications by CERN

WRKSRC=     ${WRKDIR}/${PORTVERSION}/${PORTNAME:U}

USE_GNOME=  gnometarget
USE_PERL5_BUILD=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-gmake
USE_LDCONFIG=   yes

PLIST_SUB=  VERSION="${PORTVERSION}"

post-patch:
    @${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
         '/AM_CXXFLAGS=/s|-O ||g'

.include <bsd.port.mk>