1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/astro/orsa/Makefile
Martin Wilke 9df0cff4d4 - Chase math/gsl slib bump
Reported by:	pavbot
2009-01-13 12:30:14 +00:00

45 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: orsa
# Date created: Dec 9, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= orsa
PORTVERSION= 0.7.0
PORTREVISION= 7
CATEGORIES= astro
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Orbit Reconstruction, Simulation and Analysis
LIB_DEPENDS= gsl.13:${PORTSDIR}/math/gsl \
cln.5:${PORTSDIR}/math/cln \
fftw.2:${PORTSDIR}/math/fftw \
ginac-1.4.0:${PORTSDIR}/math/GiNaC
USE_AUTOTOOLS= libtool:15
USE_QT_VER= 3
USE_GL= gl
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's,Body::,,' \
${WRKSRC}/src/liborsa/orsa_body.h
@${REINPLACE_CMD} -E 's,[[:alnum:]]+::(compare\(),\1,' \
${WRKSRC}/src/libxorsa/xorsa_analysis.h \
${WRKSRC}/src/libxorsa/xorsa_import_astorb_objects.h \
${WRKSRC}/src/libxorsa/xorsa_object_selector.cc \
${WRKSRC}/src/orsa/xorsa.h
@${REINPLACE_CMD} -e 's,^extern,& "C",' \
${WRKSRC}/src/libxorsa/xorsa_plot_area.h
@${REINPLACE_CMD} -e '/nprintf/s,std::,,' \
${WRKSRC}/src/libxorsa/xorsa_wrapper.cc
.include <bsd.port.mk>