1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

graphics/dataplot: update to version g20190426

Bring latest version
Make fetchable again by moving to github.

Approved by:	thierry (mentor)
This commit is contained in:
Pedro F. Giffuni 2019-08-06 16:16:02 +00:00
parent 411ac85a8c
commit 18dd12e0ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508260
5 changed files with 11072 additions and 380 deletions

View File

@ -1,64 +1,46 @@
# Created by: Pedro F. Giffuni <pfgshield-freebsd@yahoo.com>
# Created by: Pedro F. Giffuni
# $FreeBSD$
PORTNAME= dataplot
PORTVERSION= 20132012
PORTREVISION= 12
DISTVERSION= g20190426
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.nist.gov/pub/dataplot/unix/:source \
LOCAL/beech:source \
http://www.itl.nist.gov/div898/software/dataplot.html/:doc \
LOCAL/beech:doc
DISTFILES= dpsrc${EXTRACT_SUFX}:source
DIST_SUBDIR= dataplot
EXTRACT_ONLY= dpsrc${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Free software system for statistical visualization
BROKEN= unfetchable
LICENSE= PD
LIB_DEPENDS= libgd.so:graphics/gd \
libpng.so:graphics/png
OPTIONS_DEFINE= DOCS
DOCS_DISTFILES= dpsnapsh.pdf:doc
USES= gmake fortran jpeg readline
USE_GITHUB= yes
GH_ACCOUNT= usnistgov
GH_PROJECT= dataplot
GH_TAGNAME= 7236db0
USES= fortran jpeg
USE_XORG= x11 xi
NO_WRKSUBDIR= yes
MAXOBV?= 400000 # Change if you need more observations/variable
USE_GNOME+= cairo
WRKSRC_SUBDIR= src
MAXOBV?= 450000 # Change if you need more observations/variable
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
.if ${ARCH} == amd64 || ${ARCH} == sparc64
FFLAGS+= -DDD -DI32 -fdefault-real-8 -fdefault-double-8
.else
FFLAGS+= -DSD -DI32 -fdefault-real-8 -fdefault-double-8
.endif
FFLAGS+= -DLINUX -fdefault-real-8 -fdefault-double-8 -std=legacy
post-extract:
${INSTALL_DATA} ${FILESDIR}/Makefile.tmpl ${WRKSRC}/Makefile
@${REINPLACE_CMD} \
-e 's;%%CFLAGS%%;${CFLAGS};' \
-e 's;%%FFLAGS%%;${FFLAGS};' \
-e 's;%%LDFLAGS%%;${LDFLAGS};' \
-e 's;%%LOCALBASE%%;${LOCALBASE};g' ${WRKSRC}/Makefile
# Ensure preprocessing is done
@${CP} ${WRKSRC}/dp1_linux.f ${WRKSRC}/dp1_linux.F
# Turn off some dependencies
@${MV} ${WRKSRC}/aqua_src.c ${WRKSRC}/aqua_src.c.nop
@${MV} ${WRKSRC}/gl_src.c ${WRKSRC}/gl_src.c.nop
@${MV} ${WRKSRC}/libplot_src.c ${WRKSRC}/libplot_src.c.nop
@${MV} ${WRKSRC}/rldp.c ${WRKSRC}/rldp.c.nop
pre-patch:
@${REINPLACE_CMD} -e 's/MAXOBV=1000000/MAXOBV=${MAXOBV}/' \
post-patch:
@${REINPLACE_CMD} -e 's/MAXOBV=1500000/MAXOBV=${MAXOBV}/' \
${WRKSRC}/DPCOPA.INC
@${REINPLACE_CMD} \
-e 's;%%FC%%;${FC};' \
-e 's;%%CC%%;${CC};' \
-e 's;%%FFLAGS%%;${FFLAGS};' \
-e 's;%%CFLAGS%%;${CFLAGS};' \
-e 's;%%DATADIR%%;${DATADIR};' \
-e 's;%%LOCALBASE%%;${LOCALBASE};g' ${WRKSRC}/Makefile
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/dpsnapsh.pdf \
${STAGEDIR}${DOCSDIR}
post-build:
${STRIP_CMD} ${WRKSRC}/dataplot
.include <bsd.port.mk>

View File

@ -1,4 +1,5 @@
SHA256 (dataplot/dpsrc.tar.gz) = 419f2a672e2fcc076d95bb67f5c2a9c05a66dc1f697c729b52cddb860e83ae12
SIZE (dataplot/dpsrc.tar.gz) = 6761551
SHA256 (dataplot/dpsnapsh.pdf) = 4854cdab00ce10df87686eb025a80f57575fea1b362a22b49f202e10348f0e4b
SIZE (dataplot/dpsnapsh.pdf) = 62085
TIMESTAMP = 1564981897
SHA256 (dpsnapsh.pdf) = 0a42cf4d2d11b608bfad4d9fd0acf6fa17d39b401f9507e0a8341c8b02b3a0c5
SIZE (dpsnapsh.pdf) = 122886
SHA256 (usnistgov-dataplot-g20190426-7236db0_GH0.tar.gz) = a09916feff921436e0362a9302dd8673a9e0f3db176e4fb1ab5396b77b14ca7f
SIZE (usnistgov-dataplot-g20190426-7236db0_GH0.tar.gz) = 15253699

View File

@ -1,332 +0,0 @@
CFLAGS = %%CFLAGS%% -I/usr/local/include
FFLAGS = %%FFLAGS%%
DEST = ${DESTDIR}${PREFIX}/bin
EXTHDRS = %%LOCALBASE%%/include/X11/X.h \
%%LOCALBASE%%/include/X11/Xfuncproto.h \
%%LOCALBASE%%/include/X11/Xlib.h \
%%LOCALBASE%%/include/X11/Xmd.h \
%%LOCALBASE%%/include/X11/Xosdefs.h \
%%LOCALBASE%%/include/X11/Xutil.h \
%%LOCALBASE%%/include/gd/gd.h \
%%LOCALBASE%%/include/gd/gd_io.h
HDRS =
INSTALL = install
LD = $(F77)
LDFLAGS = %%LDFLAGS%% -L%%LOCALBASE%%/lib
LIBS = -lgd -lpng -ljpeg -lX11 -lz -lfreetype -lpthread
MAKEFILE = Makefile
OBJS = dp1_linux.o \
dp2.o \
dp3.o \
dp4.o \
dp5.o \
dp6.o \
dp7.o \
dp8.o \
dp9.o \
dp10.o \
dp11.o \
dp12.o \
dp13.o \
dp14.o \
dp15.o \
dp16.o \
dp17.o \
dp18.o \
dp19.o \
dp20.o \
dp21.o \
dp22.o \
dp23.o \
dp24.o \
dp25.o \
dp26.o \
dp27.o \
dp28.o \
dp29.o \
dp30.o \
dp31.o \
dp32.o \
dp33.o \
dp34.o \
dp35.o \
dp36.o \
dp37.o \
dp38.o \
dp39.o \
dp40.o \
dp41.o \
dp42.o \
dp43.o \
dp44.o \
dp45.o \
dp46.o \
dpcalc.o \
dpdds2.o \
dpdds3.o \
dpdds.o \
edinit.o \
edmai2.o \
edsear.o \
edsub.o \
edwrst.o \
fit3b.o \
starpac.o \
cluster.o \
compgeom.o \
tcdriv_nopc.o \
aqua_src.o \
gl_src.o \
libplot_src.o \
rldp.o \
gd_src.o \
gks_src.o \
x11_src.o \
main.o
PRINT = pr
PROGRAM = dataplot
SHELL = /bin/sh
SRCS = dp1_linux.F \
dp2.f \
dp3.f \
dp4.f \
dp5.f \
dp6.f \
dp7.f \
dp8.f \
dp9.f \
dp10.f \
dp11.f \
dp12.f \
dp13.f \
dp14.f \
dp15.f \
dp16.f \
dp17.f \
dp18.f \
dp19.f \
dp20.f \
dp21.f \
dp22.f \
dp23.f \
dp24.f \
dp25.f \
dp26.f \
dp27.f \
dp28.f \
dp29.f \
dp30.f \
dp31.f \
dp32.f \
dp33.f \
dp34.f \
dp35.f \
dp36.f \
dp37.f \
dp38.f \
dp39.f \
dp40.f \
dp41.f \
dp42.f \
dp43.f \
dp44.f \
dp45.f \
dp46.f \
dpcalc.f \
dpdds2.f \
dpdds3.f \
dpdds.f \
edinit.f \
edmai2.f \
edsear.f \
edsub.f \
edwrst.f \
fit3b.f \
starpac.f \
cluster.f \
compgeom.f \
tcdriv_nopc.f \
aqua_src.f \
gl_src.f \
libplot_src.f \
rldp.f \
gd_src.c \
x11_src.c \
main.f
SYSHDRS = /usr/include/machine/_types.h \
/usr/include/machine/endian.h \
/usr/include/math.h \
/usr/include/stddef.h \
/usr/include/stdio.h \
/usr/include/stdlib.h \
/usr/include/strings.h \
/usr/include/sys/_sigset.h \
/usr/include/sys/_types.h \
/usr/include/sys/cdefs.h \
/usr/include/sys/select.h \
/usr/include/sys/timespec.h \
/usr/include/sys/types.h
all: $(PROGRAM)
$(PROGRAM): $(OBJS)
@echo "Linking $(PROGRAM) ..."
@$(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
@echo "done"
clean:; @rm -f $(OBJS) core
clobber:; @rm -f $(OBJS) $(PROGRAM) core tags
depend:; @mkmf -f $(MAKEFILE)
echo:; @echo $(HDRS) $(SRCS)
index:; @ctags -wx $(HDRS) $(SRCS)
install: $(PROGRAM)
@echo Installing $(PROGRAM) in $(DEST)
@-strip $(PROGRAM)
@if [ $(DEST) != . ]; then \
(rm -f $(DEST)/$(PROGRAM); $(INSTALL) $(PROGRAM) $(DEST)); fi
print:; @$(PRINT) $(HDRS) $(SRCS)
tags: $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)
###
dp10.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCOHO.INC DPCOSU.INC DPCODA.INC \
DPCOGR.INC DPCOBE.INC DPCOST.INC DPCOFO.INC DPCOF2.INC DPCOS2.INC \
DPCOMC.INC
dp11.o: DPCOPA.INC DPCOZZ.INC DPCOGR.INC DPCOBE.INC DPCOZI.INC DPCOHK.INC \
DPCODA.INC DPCOHO.INC DPCOF2.INC DPCOPC.INC DPCOST.INC DPCOSU.INC \
DPCOPM.INC
dp12.o: DPCOPA.INC DPCOZZ.INC DPCOST.INC DPCOHO.INC DPCOHK.INC DPCODA.INC \
DPCOGR.INC DPCOBE.INC DPCONP.INC DPCODV.INC DPCOZ2.INC DPCOPC.INC \
DPCOFO.INC DPCOF2.INC DPCOSU.INC DPCOZI.INC DPCODE.INC
dp13.o: DPCOGR.INC DPCOBE.INC DPCOM2.INC DPCOHO.INC DPCOPA.INC DPCOPC.INC \
DPCOZ2.INC DPCODA.INC DPCOZZ.INC DPCOHK.INC
dp14.o: DPCOPA.INC DPCOZ2.INC DPCOGR.INC DPCOBE.INC DPCOF2.INC DPCOHK.INC \
DPCODA.INC DPCOZZ.INC DPCOHO.INC DPCOPC.INC DPCOWI.INC DPCONP.INC \
DPCODE.INC DPCOST.INC
dp15.o: DPCOPA.INC DPCOF2.INC DPCOZZ.INC DPCOPC.INC DPCOHK.INC DPCODA.INC \
DPCOST.INC DPCOGR.INC DPCOBE.INC DPCOSU.INC DPCOHO.INC DPCOMC.INC
dp16.o: DPCOPA.INC DPCOHK.INC DPCODA.INC DPCOZ2.INC DPCOHO.INC DPCOFO.INC \
DPCOF2.INC DPCOWI.INC DPCODV.INC DPCONP.INC DPCOPC.INC DPCO3D.INC \
DPCOGR.INC DPCOBE.INC DPCOSU.INC DPCOST.INC DPCOZZ.INC DPCOZI.INC \
DPCOZD.INC
dp17.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCODA.INC DPCOZI.INC DPCOHO.INC \
DPCOST.INC DPCOZ2.INC DPCOGR.INC DPCOBE.INC DPCOZD.INC DPCOSU.INC
dp18.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCODA.INC DPCOGR.INC DPCOBE.INC \
DPCOZI.INC DPCOS2.INC DPCOMC.INC DPCOPM.INC DPCOF2.INC
dp19.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCODA.INC DPCOF2.INC DPCOSU.INC \
DPCOFO.INC DPCOZI.INC DPCOHO.INC DPCOST.INC DPCOZD.INC DPCOZ2.INC \
DPCOBE.INC DPCOWI.INC DPCONP.INC
dp1_linux.o: DPCOMC.INC DPCOHO.INC DPCOGR.INC DPCOF2.INC DPCOWI.INC \
DPCOBE.INC DPCOTR.INC
dp2.o: DPCOPA.INC DPCOMC.INC DPCOHK.INC DPCOHO.INC DPCOCO.INC DPCOF2.INC \
DPCOCP.INC DPCODA.INC DPCOZZ.INC DPCOST.INC DPCONP.INC DPCODB.INC \
DPCOPC.INC DPCODG.INC DPCOSU.INC DPCOS2.INC DPCOTR.INC DPCOBE.INC \
DPCODV.INC DPCOWI.INC DPCOGR.INC
dp20.o: DPCOF2.INC DPCOPA.INC DPCOHK.INC DPCOSU.INC DPCOST.INC DPCODA.INC \
DPCOZZ.INC DPCOZD.INC DPCOZI.INC DPCODV.INC DPCOGR.INC DPCOBE.INC \
DPCOZ2.INC DPCOHO.INC DPCOMC.INC DPCOPC.INC
dp21.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCODA.INC DPCOZ2.INC DPCOST.INC \
DPCOHO.INC DPCOZI.INC DPCODE.INC DPCOF2.INC
dp22.o: DPCOPA.INC DPCOHK.INC DPCODA.INC DPCOZZ.INC DPCOPM.INC DPCOGR.INC \
DPCOBE.INC DPCOM2.INC DPCOSU.INC DPCOS2.INC DPCOHO.INC DPCOF2.INC \
DPCOMC.INC DPCOZ2.INC DPCOZI.INC
dp23.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCODA.INC DPCOF2.INC DPCOPC.INC \
DPCOST.INC DPCOGR.INC DPCOBE.INC DPCOSU.INC DPCOS2.INC
dp24.o: DPCOPA.INC DPCOHK.INC DPCODA.INC DPCOFO.INC DPCOF2.INC DPCOHO.INC \
DPCOMC.INC DPCOZ2.INC
dp25.o: DPCOFO.INC DPCOPA.INC DPCOHK.INC DPCODA.INC DPCOMC.INC DPCOSU.INC \
DPCOHO.INC DPCOZZ.INC DPCOZ2.INC DPCOZI.INC DPCOZD.INC DPCOPM.INC \
DPCOF2.INC DPCOGR.INC DPCOBE.INC DPCODB.INC DPCOPC.INC DPCOSO.INC \
DPCONP.INC DPCOTR.INC DPCODG.INC DPCOCO.INC DPCO3D.INC DPCOST.INC
dp26.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCODA.INC
dp27.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCOSU.INC DPCODA.INC DPCOF2.INC \
DPCOPC.INC DPCOPM.INC DPCOMC.INC DPCODB.INC DPCOFO.INC DPCOSO.INC \
DPCOGR.INC DPCONP.INC DPCOHO.INC DPCOTR.INC DPCOBE.INC DPCODG.INC \
DPCOCO.INC DPCO3D.INC DPCOST.INC DPCOZ2.INC
dp28.o: DPCOPA.INC DPCOHK.INC DPCODA.INC DPCOFO.INC DPCOF2.INC DPCOHO.INC \
DPCOZZ.INC DPCOST.INC DPCOMC.INC DPCOSU.INC
dp29.o: DPCOPA.INC DPCOZZ.INC DPCOZI.INC DPCOHK.INC DPCODA.INC DPCOHO.INC \
DPCOST.INC DPCOMC.INC DPCOSU.INC DPCOF2.INC DPCOPC.INC DPCOBE.INC \
DPCODB.INC
dp3.o: DPCOMC.INC DPCOPA.INC DPCOZZ.INC DPCOZ2.INC DPCOHK.INC DPCOCP.INC
dp30.o: DPCOPA.INC DPCOHK.INC DPCODA.INC DPCOZZ.INC DPCOSU.INC DPCOFO.INC \
DPCOF2.INC DPCOHO.INC DPCOZI.INC DPCOST.INC DPCOGR.INC DPCOBE.INC
dp31.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCOSU.INC DPCODA.INC DPCOGR.INC \
DPCOBE.INC DPCOHO.INC
dp32.o: DPCOPA.INC DPCOHK.INC DPCODA.INC DPCOZZ.INC DPCOZD.INC DPCOST.INC \
DPCOF2.INC DPCOZ2.INC DPCOHO.INC DPCOZI.INC DPCOSU.INC DPCOFO.INC \
DPCOGR.INC DPCOBE.INC DPCOTR.INC DPCOPC.INC DPCODE.INC
dp36.o: DPCOCP.INC DPCOMC.INC DPCOBE.INC DPCOGR.INC DPCO3D.INC DPCOPA.INC \
DPCOPC.INC DPCOHO.INC
dp37.o: DPCOMC.INC DPCOPA.INC DPCOZD.INC DPCOGR.INC DPCONP.INC DPCOBE.INC \
DPCODV.INC DPCOST.INC DPCOZ2.INC DPCOCT.INC DPCOZI.INC
dp38.o: DPCOGR.INC DPCONP.INC DPCOBE.INC DPCODV.INC DPCOST.INC DPCOF2.INC \
DPCOCT.INC DPCOPA.INC DPCOZ2.INC DPCOHK.INC DPCOHO.INC DPCOPM.INC \
DPCOPC.INC
dp39.o: DPCOGR.INC DPCOBE.INC DPCONP.INC DPCODV.INC DPCOST.INC DPCOPA.INC \
DPCOPC.INC DPCOCT.INC
dp4.o: DPCOMC.INC DPCOPA.INC DPCOPC.INC DPCOGR.INC DPCOBE.INC DPCOCP.INC \
DPCOHK.INC DPCODA.INC DPCOHO.INC
dp40.o: DPCOPA.INC DPCOZZ.INC DPCONP.INC DPCOGR.INC DPCOBE.INC DPCOMC.INC \
DPCODA.INC DPCOM2.INC DPCODB.INC DPCODE.INC DPCOSU.INC DPCOPC.INC \
DPCODV.INC DPCOST.INC DPCOPM.INC DPCOHK.INC DPCODG.INC DPCOS2.INC \
DPCOHO.INC DPCO3D.INC DPCOZ2.INC DPCOZI.INC
dp41.o: DPCOPA.INC DPCOMC.INC DPCODB.INC DPCOHK.INC DPCOPC.INC DPCOSU.INC \
DPCODA.INC DPCOCO.INC DPCOHO.INC DPCO3D.INC DPCOF2.INC DPCODV.INC \
DPCODE.INC DPCOWI.INC DPCOFO.INC DPCODG.INC DPCOGR.INC DPCOST.INC
dp42.o: DPCOPA.INC DPCOZ2.INC DPCOMC.INC DPCOF2.INC DPCOHK.INC DPCOZZ.INC \
DPCO3D.INC DPCOPC.INC DPCOGR.INC DPCOBE.INC DPCOSU.INC DPCOPM.INC \
DPCOCP.INC DPCOZD.INC DPCODV.INC
dp43.o: DPCOPA.INC DPCOZ2.INC DPCOMC.INC DPCOHK.INC DPCOSU.INC DPCODA.INC \
DPCOHO.INC DPCOZZ.INC DPCOZI.INC DPCOZD.INC DPCOCP.INC
dp44.o: DPCOGR.INC DPCOBE.INC DPCOMC.INC
dp45.o: DPCOPA.INC DPCOMC.INC DPCOGR.INC DPCOBE.INC
dp46.o: DPCOWI.INC DPCOHO.INC
dp5.o: DPCOPA.INC DPCOZ2.INC DPCOMC.INC DPCOHK.INC
dp6.o: DPCOMC.INC
dp7.o: DPCOBE.INC DPCOMC.INC DPCOPA.INC DPCOHK.INC DPCODA.INC DPCOPC.INC
dp8.o: DPCOPA.INC DPCOZZ.INC DPCOHK.INC DPCODA.INC DPCOSU.INC DPCOST.INC \
DPCOS2.INC DPCOHO.INC DPCOMC.INC DPCOF2.INC DPCOZD.INC DPCOZI.INC \
DPCOGR.INC DPCOBE.INC DPCOZ2.INC
dp9.o: DPCOPA.INC DPCOHK.INC DPCODA.INC DPCOZZ.INC DPCOZ2.INC DPCOZD.INC \
DPCOZI.INC DPCOSU.INC DPCOHO.INC DPCOST.INC DPCOMC.INC DPCOF2.INC \
DPCOGR.INC DPCOBE.INC
dpdds.o: DPCOPA.INC DPCODD.INC DPCOZZ.INC DPCOHK.INC DPCOSU.INC DPCODA.INC
dpdds2.o: DPCOPA.INC DPCODD.INC
dpdds3.o: DPCOPA.INC DPCODD.INC DPCOZ2.INC
edinit.o: DPCOPA.INC DPCOHO.INC DPCONP.INC EDCOMM.INC DPCOZI.INC DPCOZC.INC
edmai2.o: DPCOPA.INC DPCOHO.INC DPCONP.INC EDCOMM.INC DPCOZI.INC DPCOZC.INC \
DPCODV.INC
edsear.o: DPCOPA.INC EDCOMM.INC DPCOZI.INC DPCOZC.INC DPCONP.INC
edsub.o: DPCOPA.INC EDCOMM.INC DPCOZI.INC DPCOZC.INC DPCONP.INC DPCOHO.INC \
DPCODV.INC
edwrst.o: DPCOPA.INC EDCOMM.INC DPCOZI.INC DPCOZC.INC
fit3b.o: DPCOPA.INC DPCOHO.INC DPCOMC.INC DPCOHK.INC DPCOSU.INC DPCODA.INC \
DPCOZZ.INC DPCOZ2.INC DPCOF2.INC DPCOZD.INC
main.o: DPCOPA.INC DPCOMC.INC DPCODB.INC DPCOHK.INC DPCOPC.INC DPCOSU.INC \
DPCOS2.INC DPCODA.INC DPCOFO.INC DPCOF2.INC DPCOSO.INC DPCOGR.INC \
DPCONP.INC DPCOHO.INC DPCOTR.INC DPCOBE.INC DPCODG.INC DPCOCO.INC \
DPCO3D.INC DPCODV.INC DPCOST.INC DPCOCP.INC DPCODE.INC DPCOM2.INC \
DPCOZZ.INC DPCOZI.INC DPCOZD.INC DPCOZ2.INC DPCOWI.INC DPCODD.INC \
DPCOPM.INC
starpac.o: DPCOMC.INC
tcdriv_nopc.o: DPCODV.INC DPCONP.INC

View File

@ -0,0 +1,34 @@
--- Makefile.orig 2019-05-10 19:36:43 UTC
+++ Makefile
@@ -1,5 +1,5 @@
-FC = gfortran
-CC = gcc
+FC = %%FC%%
+CC = %%CC%%
# FEATURES to enable during compilation
# all: READLINE NCURSES GD TIFF VPX CAIRO X11 GKS OPENGL PLOT
@@ -12,10 +12,11 @@ PREFIX = $(DESTDIR)/usr/local
BINDIR = $(PREFIX)/bin
# where to find additional dataplot files (help, menus, etc).
-DPLIBDIR=$(PREFIX)/lib/dataplot
+DPLIBDIR=$(DESTDIR)%%DATADIR%%
-FFLAGS += -O2 -DLINUX -fdefault-real-8 -fdefault-double-8
-CFLAGS += -O2
+FFLAGS += %%FFLAGS%%
+CFLAGS += %%CFLAGS%% -I%%LOCALBASE%%/include
+LDFLAGS += -L%%LOCALBASE%%/lib
# special flags for dp1
DP1FLAGS = -DDDOUBLE -DINTEGER32 -DHAVE_ISNAN -DHAVE_EXECUTE_COMMAND_LINE -DDPLIBDIR=\'$(DPLIBDIR)\'
@@ -124,7 +125,7 @@ clean:
install: dataplot xdataplot
@echo installing binary to $(BINDIR)
-[ ! -d $(BINDIR) ] && mkdir -vp $(BINDIR) ||:
- install -pm 755 -t $(BINDIR) dataplot xdataplot
+ install -pm 755 *dataplot $(BINDIR)
@echo installing libs to $(DPLIBDIR)
-[ ! -d $(DPLIBDIR) ] && mkdir -vp $(DPLIBDIR) ||:

File diff suppressed because it is too large Load Diff