build with fftw and netcdf support by default, leaving no_x11 as the only
flavor input sthen@ ok jca@
This commit is contained in:
parent
acfaab9632
commit
7a4ef6c395
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.45 2019/07/12 20:47:41 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.46 2019/12/25 15:00:12 martin Exp $
|
||||
|
||||
COMMENT= GRaphing, Advanced Computation and Exploration of data
|
||||
|
||||
DISTNAME= grace-5.1.15
|
||||
REVISION= 8
|
||||
REVISION= 9
|
||||
CATEGORIES= math
|
||||
|
||||
HOMEPAGE= http://plasma-gate.weizmann.ac.il/Grace/
|
||||
@ -22,16 +22,22 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/ac-tools
|
||||
CONFIGURE_ARGS+= --with-bundled-xbae \
|
||||
--with-extra-incpath=${LOCALBASE}/include \
|
||||
--with-extra-ldpath=${LOCALBASE}/lib \
|
||||
--with-fftw \
|
||||
--enable-netcdf \
|
||||
--enable-grace-home=${PREFIX}/grace
|
||||
|
||||
LIB_DEPENDS = graphics/jpeg \
|
||||
LIB_DEPENDS = devel/t1lib \
|
||||
graphics/jpeg \
|
||||
graphics/png \
|
||||
devel/t1lib \
|
||||
graphics/tiff \
|
||||
math/fftw \
|
||||
math/netcdf \
|
||||
print/pdflib
|
||||
WANTLIB += jpeg>=62 png>=2 t1>=5 tiff>=35 pdf>=2
|
||||
|
||||
FLAVORS= no_x11 fftw netcdf
|
||||
WANTLIB += jpeg>=62 png>=2 pdf>=2 t1>=5 tiff>=35 fftw>=2 \
|
||||
netcdf>=1
|
||||
|
||||
FLAVORS= no_x11
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:Mno_x11}
|
||||
@ -45,22 +51,6 @@ MAKE_ENV+= MOTIFLIB='-L${LOCALBASE}/lib -lXm'
|
||||
CONFIGURE_ENV= LDFLAGS=-lm
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:Mfftw}
|
||||
LIB_DEPENDS += math/fftw
|
||||
WANTLIB += fftw>=2
|
||||
CONFIGURE_ARGS+= --with-fftw
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-fftw
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:Mnetcdf}
|
||||
LIB_DEPENDS += math/netcdf
|
||||
WANTLIB += netcdf>=1
|
||||
CONFIGURE_ARGS+= --enable-netcdf
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-netcdf
|
||||
.endif
|
||||
|
||||
GRACE_DIR=${TRUEPREFIX}/grace
|
||||
|
||||
post-install:
|
||||
|
@ -9,5 +9,3 @@ or perform automated tasks.
|
||||
|
||||
Flavors:
|
||||
no_x11 - build command line tool only, no gui
|
||||
fftw - use math/fftw for optimized FFT
|
||||
netcdf - use math/netcdf for network common data form support
|
||||
|
@ -1,6 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.7 2018/06/23 19:53:36 schwarze Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.8 2019/12/25 15:00:12 martin Exp $
|
||||
bin/grace
|
||||
bin/gracebat
|
||||
bin/xmgrace
|
||||
grace/
|
||||
grace/auxiliary/
|
||||
grace/auxiliary/README
|
||||
@ -11,6 +12,7 @@ grace/bin/
|
||||
grace/bin/fdf2fit
|
||||
grace/bin/gracebat
|
||||
@bin grace/bin/grconvert
|
||||
@bin grace/bin/xmgrace
|
||||
grace/doc/
|
||||
grace/doc/10.1.dat
|
||||
grace/doc/10a.dat
|
||||
@ -135,13 +137,12 @@ grace/gracerc.user
|
||||
grace/include/
|
||||
grace/include/grace_np.h
|
||||
grace/lib/
|
||||
grace/lib/libgrace_np.a
|
||||
@static-lib grace/lib/libgrace_np.a
|
||||
grace/templates/
|
||||
grace/templates/Default.agr
|
||||
%%no_x11%%
|
||||
!%%no_x11%%
|
||||
include/grace_np.h
|
||||
lib/libgrace_np.a
|
||||
@static-lib lib/libgrace_np.a
|
||||
@man man/man1/grace.1
|
||||
@man man/man1/gracebat.1
|
||||
@man man/man1/grconvert.1
|
||||
@man man/man1/xmgrace.1
|
||||
|
Loading…
Reference in New Issue
Block a user