1999-09-20 06:43:20 +00:00
|
|
|
# New ports collection makefile for: opendx
|
|
|
|
# Date created: 27 May 1999
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 10:48:02 +00:00
|
|
|
PORTNAME= opendx
|
2000-05-29 02:33:30 +00:00
|
|
|
PORTVERSION= 4.1.0
|
1999-09-20 06:43:20 +00:00
|
|
|
CATEGORIES= graphics math
|
|
|
|
MASTER_SITES= http://opendx.npaci.edu/source/
|
2000-04-14 10:48:02 +00:00
|
|
|
DISTNAME= dx-${PORTVERSION}
|
1999-09-20 06:43:20 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
1999-10-05 09:14:50 +00:00
|
|
|
LIB_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3 \
|
|
|
|
netcdf.1:${PORTSDIR}/math/netcdf
|
1999-09-20 06:43:20 +00:00
|
|
|
|
|
|
|
USE_XLIB= yes
|
|
|
|
REQUIRES_MOTIF= yes
|
2000-02-14 13:05:12 +00:00
|
|
|
USE_NEWGCC= yes
|
1999-09-20 06:43:20 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-10-05 09:14:50 +00:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -Dfreebsd -I${PREFIX}/include" \
|
|
|
|
CPPFLAGS="-I${PREFIX}/include" \
|
|
|
|
CXXFLAGS="${CFLAGS} -Dfreebsd -I${PREFIX}/include" \
|
|
|
|
LDFLAGS="-L${PREFIX}/lib"
|
1999-09-20 06:43:20 +00:00
|
|
|
NO_MTREE= yes
|
|
|
|
PLIST_SUB= ARCH=${MACHINE_ARCH}
|
|
|
|
|
1999-09-22 00:28:10 +00:00
|
|
|
post-patch:
|
|
|
|
@find ${WRKSRC} -name Makefile.in | \
|
2000-05-29 02:33:30 +00:00
|
|
|
xargs ${PERL} -pi -e 's/-lXm /\$${MOTIFLIB} /g'
|
1999-09-22 00:28:10 +00:00
|
|
|
|
1999-09-20 06:43:20 +00:00
|
|
|
.include <bsd.port.mk>
|