freebsd-ports/science/clhep/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

34 lines
743 B
Makefile

# Created by: will
# $FreeBSD$
PORTNAME= clhep
PORTVERSION= 2.1.0.1
CATEGORIES= science
MASTER_SITES= http://wwwasd.web.cern.ch/wwwasd/lhc++/clhep/DISTRIBUTION/tarFiles/
EXTRACT_SUFX= .tgz
MAINTAINER= dhn@FreeBSD.org
COMMENT= Object-oriented toolkit for particle physics applications by CERN
WRKSRC= ${WRKDIR}/${PORTVERSION}/${PORTNAME:tu}
USES= gmake perl5
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gmake
USE_LDCONFIG= yes
PLIST_SUB= VERSION="${PORTVERSION}"
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
BROKEN= Does not compile on FreeBSD 6.X
.endif
post-patch:
@${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
'/AM_CXXFLAGS=/s|-O ||g'
.include <bsd.port.post.mk>