Actually depends on HDF, fix plist and unbreak.
This commit is contained in:
parent
1136813ee0
commit
e6516a274e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127617
@ -8,7 +8,7 @@
|
||||
|
||||
PORTNAME= opendx
|
||||
PORTVERSION= 4.3.2
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= graphics math
|
||||
MASTER_SITES= http://opendx.npaci.edu/source/
|
||||
DISTNAME= dx-${PORTVERSION}
|
||||
@ -24,13 +24,14 @@ OPTIONS= HDF "Build hdf-support (only hdf OR netcdf is supported)" on \
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_BISON= yes
|
||||
USE_MESA= yes
|
||||
USE_GL= yes
|
||||
USE_MOTIF= yes
|
||||
USE_XLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ARGS= --without-javadx
|
||||
CFLAGS+= ${PTHREAD_CFLAGS}
|
||||
CONFIGURE_ENV= ARCH="freebsd" \
|
||||
CONFIGURE_ENV= ARCH="${OPSYS:L}" \
|
||||
CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
||||
USE_GMAKE= yes
|
||||
@ -40,11 +41,13 @@ PLIST_SUB= ARCH=${OPSYS:L}
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
BROKEN= "Broken pkg-plist"
|
||||
PLIST_SUB+= UNAMEP=${ARCH} ARCHDIR=""
|
||||
.else
|
||||
PLIST_SUB+= UNAMEP=${OPSYS:L} ARCHDIR="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_HDF)
|
||||
LIB_DEPENDS+= df.1:${PORTSDIR}/science/hdf
|
||||
LIB_DEPENDS+= mfhdf.2:${PORTSDIR}/science/hdf
|
||||
.endif
|
||||
|
||||
.if defined(WITH_NETCDF)
|
||||
|
@ -2245,11 +2245,11 @@ dx/lib/dxrc
|
||||
dx/lib/mdf2c.awk
|
||||
dx/lib/messages
|
||||
dx/lib/outboard.c
|
||||
dx/lib_%%ARCH%%/arch.mak
|
||||
dx/lib_%%ARCH%%/libDX.a
|
||||
dx/lib_%%ARCH%%/libDXL.a
|
||||
dx/lib_%%ARCH%%/libDXcallm.a
|
||||
dx/lib_%%ARCH%%/libDXlite.a
|
||||
dx/lib_%%UNAMEP%%/arch.mak
|
||||
dx/man/catl/dx.l
|
||||
dx/man/manl/dx.l
|
||||
dx/ui/Basic2D.cfg
|
||||
@ -2301,6 +2301,7 @@ dx/ui/viewer.net
|
||||
@dirrm dx/man/manl
|
||||
@dirrm dx/man/catl
|
||||
@dirrm dx/man
|
||||
%%ARCHDIR%%@dirrm dx/lib_%%UNAMEP%%
|
||||
@dirrm dx/lib_%%ARCH%%
|
||||
@dirrm dx/lib
|
||||
@dirrm dx/include/dx
|
||||
|
Loading…
Reference in New Issue
Block a user