freebsd-ports/science/vis5d+/Makefile
Ying-Chieh Liao ad987f58f2 add vis5d+ 1.2.1
An OpenGL-based volumetric visualization program for scientific datasets
2002-01-09 14:51:38 +00:00

44 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection Makefile for: vis5d+
# Date created: Jan 9, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= vis5d+
PORTVERSION= 1.2.1
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vis5d
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libmix.a:${PORTSDIR}/graphics/qslim \
convert:${PORTSDIR}/graphics/ImageMagick
LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv \
netcdf.1:${PORTSDIR}/math/netcdf
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
USE_BISON= yes
USE_MESA= yes
USE_XLIB= yes
USE_GTK= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= \
CPPFLAGS="${CXXFLAGS} ${PTHREAD_FLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -lgiconv -lintl -L${X11BASE}/lib"
CONFIGURE_ARGS= --enable-gtk --enable-threads --with-mesa --with-netcdf \
--with-mixkit=${LOCALBASE}/lib/libmix.a --with-x
INSTALLS_SHLIB= yes
post-patch:
.for file in configure intl/gettextP.h
@${PERL} -pi -e "s,iconv.h,giconv.h,g" ${WRKSRC}/${file}
.endfor
pre-build:
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
.include <bsd.port.mk>