mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
52 lines
2.0 KiB
Makefile
52 lines
2.0 KiB
Makefile
PGPLOT_LIB = -L/usr/local/lib -lpgplot
|
|
CPGPLOT_LIB = -L/usr/local/lib -lcpgplot
|
|
LIBS= -L${LOCALBASE}/lib -lX11 -lm
|
|
|
|
OSVERSION!= /sbin/sysctl -n kern.osreldate
|
|
.if ${OSVERSION} > 400004
|
|
FFLAGS+= -fno-backslash
|
|
.endif
|
|
|
|
all: cpgdemo pgdemo1 pgdemo2 pgdemo3 pgdemo4 pgdemo5 pgdemo6 pgdemo7 pgdemo8 \
|
|
pgdemo9 pgdemo10 pgdemo11 pgdemo12 pgdemo13 pgdemo14 pgdemo15 \
|
|
pgdemo16 pgdemo17
|
|
|
|
pgdemo1: pgdemo1.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo1 pgdemo1.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo2: pgdemo2.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo2 pgdemo2.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo3: pgdemo3.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo3 pgdemo3.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo4: pgdemo4.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo4 pgdemo4.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo5: pgdemo5.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo5 pgdemo5.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo6: pgdemo6.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo6 pgdemo6.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo7: pgdemo7.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo7 pgdemo7.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo8: pgdemo8.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo8 pgdemo8.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo9: pgdemo9.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo9 pgdemo9.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo10: pgdemo10.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo10 pgdemo10.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo11: pgdemo11.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo11 pgdemo11.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo12: pgdemo12.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo12 pgdemo12.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo13: pgdemo13.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo13 pgdemo13.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo14: pgdemo14.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo14 pgdemo14.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo15: pgdemo15.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo15 pgdemo15.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo16: pgdemo16.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo16 pgdemo16.f $(PGPLOT_LIB) $(LIBS)
|
|
pgdemo17: pgdemo17.f libpgplot.a
|
|
$(FC) $(FFLAGS) -o pgdemo17 pgdemo17.f $(PGPLOT_LIB) $(LIBS)
|
|
|
|
cpgdemo: cpgdemo.c
|
|
$(CC) $(CFLAGS) -c -I/usr/local/include cpgdemo.c
|
|
$(FC) -o cpgdemo cpgdemo.o $(PGPLOT_LIB) $(CPGPLOT_LIB) $(LIBS)
|