Update to v1.5:

* Now respects CFLAGS/CPPFLAGS, no need for patches.
* autoconf removed, CONFIGURE_STYLE set to simple.
* Use do-install target now that the install method is so messy.
* New homepage.
This commit is contained in:
pvalchev 2001-06-09 20:32:16 +00:00
parent cfc21d4c25
commit ad44cf86d5
7 changed files with 190 additions and 232 deletions

View File

@ -1,14 +1,15 @@
# $OpenBSD: Makefile,v 1.5 2001/06/07 23:24:11 pvalchev Exp $
# $OpenBSD: Makefile,v 1.6 2001/06/09 20:32:16 pvalchev Exp $
COMMENT= "interpreted language for scientific computing"
DISTNAME= yorick-1.4
VERSION= 1.5
DISTNAME= yorick-${VERSION}
CATEGORIES= math devel
NEED_VERSION= 1.363
NEED_VERSION= 1.414
MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/Yorick/
EXTRACT_SUFX= .tgz
HOMEPAGE= ftp://ftp-icf.llnl.gov/pub/Yorick/yorick-ad.html
HOMEPAGE= ftp://ftp-icf.llnl.gov/pub/Yorick/doc/index.html
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
@ -17,12 +18,26 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
USE_X11= Yes
post-install:
${INSTALL_MAN} ${WRKSRC}/yorick.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/gist.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/Yorick/check.i ${PREFIX}/share/yorick/1.4
CONFIGURE_STYLE= simple
Y_DIR= ${PREFIX}/share/yorick
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/yorick/yorick ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/gist/gist ${PREFIX}/bin
@find ${WRKSRC} -name \*.h -exec \
${INSTALL_DATA} {} ${PREFIX}/include \;
${INSTALL_DATA} ${WRKSRC}/i0/* ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/yorick/libyor.a ${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/doc/yorick.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/gist.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yorick
${INSTALL_DATA} ${WRKSRC}/doc/*.{doc,tex,ps,pdf} ${PREFIX}/share/doc/yorick
${INSTALL_DATA_DIR} ${Y_DIR}
${INSTALL_DATA_DIR} ${Y_DIR}/g
${INSTALL_DATA_DIR} ${Y_DIR}/i
${INSTALL_DATA} ${WRKSRC}/g/* ${Y_DIR}/g
${INSTALL_DATA} ${WRKSRC}/i/* ${Y_DIR}/i
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (yorick-1.4.tar.gz) = 7cf50b3dee2e1fd54e832d52abd2b88c
RMD160 (yorick-1.4.tar.gz) = be26e484791ef8b4d92d1e9a639e10d298833994
SHA1 (yorick-1.4.tar.gz) = 11e2ea5f0b5ac6b08251e4a3f9bb13f2dec22f1d
MD5 (yorick-1.5.tgz) = 42ca4996adb04003139cf09cbdd2f02f
RMD160 (yorick-1.5.tgz) = 9c818e7bc27021c0c7d1286987fd91ad8b071d13
SHA1 (yorick-1.5.tgz) = be5cdb7574a1704e22c2ff99ce67d59189927f61

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-Browser_Makefile_in,v 1.1 2001/03/17 12:31:14 wilfried Exp $
--- Browser/Makefile.in.orig Fri Jan 3 19:24:16 1997
+++ Browser/Makefile.in Wed Mar 14 23:26:39 2001
@@ -23,14 +23,14 @@ RM = rm -f
CP = cp
DEFS = @DEFS@
-CFLAGS = $(C_OPTIMIZE) $(DEFS) -I$(srcdir)
+CFLAGS = @CFLAGS@ $(DEFS) -I$(srcdir)
# Change these to compile gist using installed headers and libraries
GISTL = ../Gist
GISTI = ../Gist
LDOPTS = @LDOPTS@
-LDFLAGS = $(LD_OPTIMIZE) $(LDOPTS)
+LDFLAGS = @LDFLAGS@ $(LDOPTS)
# The lowest level (last) libraries required on the load line go here.
# LOWLIBS = -lm -lc (if Y_LD is not your C compiler)

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-Gist_Makefile_in,v 1.1 2001/03/17 12:31:14 wilfried Exp $
--- Gist/Makefile.in.orig Fri Jan 3 19:22:49 1997
+++ Gist/Makefile.in Wed Mar 14 23:26:54 2001
@@ -32,11 +32,11 @@ RM = rm -f
CP = cp
DEFS = @DEFS@
-CFLAGS = $(C_OPTIMIZE) $(DEFS) -I$(srcdir)
+CFLAGS = @CFLAGS@ $(DEFS) -I$(srcdir)
LD_OPTIMIZE = $(C_OPTIMIZE)
LDOPTS = @LDOPTS@
-LDFLAGS = $(LD_OPTIMIZE) $(LDOPTS)
+LDFLAGS = @LDFLAGS@ $(LDOPTS)
# The lowest level (last) libraries required on the load line go here.
# LOWLIBS = -lm -lc (if Y_LD is not your C compiler)

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-Yorick_Makefile,v 1.1 2001/03/17 12:31:14 wilfried Exp $
--- Yorick/Makefile.orig Fri Jan 3 01:53:10 1997
+++ Yorick/Makefile Wed Mar 14 23:39:57 2001
@@ -174,9 +174,8 @@ style.o: style.c ydata.h defstr.h bini
fortrn.o: fortrn.c defmem.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(FORTRAN_LINKAGE) -c fortrn.c
-# Always compile main.c with -g so new packages can be debugged.
main.o: main.c
- $(CC) $(CPPFLAGS) -g -c main.c
+ $(CC) $(CPPFLAGS) ${CFLAGS} -c main.c
# ---------------------------------------------------------------------------

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-Yorick_Maketmpl_in,v 1.1 2001/03/17 12:31:14 wilfried Exp $
--- Yorick/Maketmpl.in.orig Wed Dec 11 19:13:44 1996
+++ Yorick/Maketmpl.in Wed Mar 14 23:36:45 2001
@@ -125,10 +125,10 @@ GRAPH_O = graph.o graph0.o style.o
# Choose C compiler appropriate to this machine - must be an ANSI C compiler
CC = @CC@
DEFS = @DEFS@
-CFLAGS = $(C_OPTIMIZE) $(DEFS) $(D_SIZE_T) -I$(srcdir) $(YORINCL)
+CFLAGS = @CFLAGS@ $(DEFS) $(D_SIZE_T) -I$(srcdir) $(YORINCL)
LDOPTS = @LDOPTS@
-LDFLAGS = $(LD_OPTIMIZE) $(LDOPTS)
+LDFLAGS = @LDFLAGS@ $(LDOPTS)
# Usage: $(Y_LD) $(OBJS) $(LIBS)
Y_LD = $(CC) $(LDFLAGS) -o $@
@@ -208,7 +208,7 @@ CCFLAGS = $(CXXFLAGS)
# Thus, main.o needs a rule to build it:
CXXMAIN = fake_main.o
$(CXXMAIN):
- $(CXX) $(CPPFLAGS) -g -c $(Y_INCDIR)/main.c
+ $(CXX) $(CPPFLAGS) ${CFLAGS} -c $(Y_INCDIR)/main.c
# ---------------------------------------------------------------------------

View File

@ -1,149 +1,168 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/09 10:50:51 reinhard Exp $
@comment $OpenBSD: PLIST,v 1.2 2001/06/09 20:32:19 pvalchev Exp $
bin/gist
bin/yorick
lib/yorick/1.4/Make-cxx
lib/yorick/1.4/Maketmpl
lib/yorick/1.4/h/bcast.h
lib/yorick/1.4/h/binio.h
lib/yorick/1.4/h/cgm.h
lib/yorick/1.4/h/clip.h
lib/yorick/1.4/h/defmem.h
lib/yorick/1.4/h/defstr.h
lib/yorick/1.4/h/dispas.h
lib/yorick/1.4/h/dispat.h
lib/yorick/1.4/h/dispax.h
lib/yorick/1.4/h/draw.h
lib/yorick/1.4/h/engine.h
lib/yorick/1.4/h/gist.h
lib/yorick/1.4/h/gtext.h
lib/yorick/1.4/h/hash.h
lib/yorick/1.4/h/hlevel.h
lib/yorick/1.4/h/main.c
lib/yorick/1.4/h/osys.h
lib/yorick/1.4/h/parse.h
lib/yorick/1.4/h/prmtyp.h
lib/yorick/1.4/h/ps.h
lib/yorick/1.4/h/sysdep.h
lib/yorick/1.4/h/xbasic.h
lib/yorick/1.4/h/xfancy.h
lib/yorick/1.4/h/xfont.h
lib/yorick/1.4/h/xicky.h
lib/yorick/1.4/h/yasync.h
lib/yorick/1.4/h/ydata.h
lib/yorick/1.4/h/yio.h
lib/yorick/1.4/lib/codger
lib/yorick/1.4/lib/libdrat.a
lib/yorick/1.4/lib/libgist.a
lib/yorick/1.4/lib/libyor.a
lib/yorick/1.4/lib/libyorm.a
lib/yorick/1.4/lib/main.o
include/README
include/bcast.h
include/binio.h
include/bound.h
include/cgm.h
include/cgmin.h
include/clip.h
include/config.h
include/defmem.h
include/dg.h
include/drat.h
include/drat.i
include/draw.h
include/engine.h
include/eps.h
include/extern_c.h
include/fft.i
include/gist.h
include/graph.i
include/gtext.h
include/hash.h
include/hex.h
include/hex.i
include/hlevel.h
include/hydram.h
include/lecuyer.h
include/matrix.i
include/mfcapp.h
include/mfcres.h
include/mfcterm.h
include/numfmt.h
include/parse.h
include/paths.i
include/phash.h
include/play.h
include/playgl.h
include/playu.h
include/playw.h
include/playx.h
include/prmtyp.h
include/ps.h
include/pstdio.h
include/pstdlib.h
include/regul.h
include/std.i
include/stdx.i
include/tools.h
include/track.h
include/trans.h
include/ugetc.h
include/upoll.h
include/xbasic.h
include/xfancy.h
include/yasync.h
include/ydata.h
include/yio.h
lib/libyor.a
man/man1/gist.1
man/man1/yorick.1
share/yorick/1.4/check.i
share/yorick/1.4/doc/FILE_FORMATS
share/yorick/1.4/doc/README
share/yorick/1.4/doc/drat.doc
share/yorick/1.4/doc/graph.doc
share/yorick/1.4/doc/library.doc
share/yorick/1.4/doc/math.doc
share/yorick/1.4/doc/refs.ps
share/yorick/1.4/doc/refs.tex
share/yorick/1.4/doc/std.doc
share/yorick/1.4/doc/texinfo.tex
share/yorick/1.4/doc/yorick.ps
share/yorick/1.4/doc/yorick.tex
share/yorick/1.4/gist/axes.gs
share/yorick/1.4/gist/boxed.gs
share/yorick/1.4/gist/boxed2.gs
share/yorick/1.4/gist/earth.gp
share/yorick/1.4/gist/gray.gp
share/yorick/1.4/gist/heat.gp
share/yorick/1.4/gist/l_nobox.gs
share/yorick/1.4/gist/ncar.gp
share/yorick/1.4/gist/nobox.gs
share/yorick/1.4/gist/ps.ps
share/yorick/1.4/gist/rainbow.gp
share/yorick/1.4/gist/stern.gp
share/yorick/1.4/gist/vg.gs
share/yorick/1.4/gist/vgbox.gs
share/yorick/1.4/gist/work.gs
share/yorick/1.4/gist/work2.gs
share/yorick/1.4/gist/yarg.gp
share/yorick/1.4/include/README
share/yorick/1.4/include/basfix.i
share/yorick/1.4/include/bessel.i
share/yorick/1.4/include/bowtie.i
share/yorick/1.4/include/button.i
share/yorick/1.4/include/collec.i
share/yorick/1.4/include/color.i
share/yorick/1.4/include/copyb.i
share/yorick/1.4/include/custom.i
share/yorick/1.4/include/demo1.i
share/yorick/1.4/include/demo2.i
share/yorick/1.4/include/demo3.i
share/yorick/1.4/include/demo4.i
share/yorick/1.4/include/demo5.i
share/yorick/1.4/include/digit2.i
share/yorick/1.4/include/ellipse.i
share/yorick/1.4/include/fitlsq.i
share/yorick/1.4/include/fitrat.i
share/yorick/1.4/include/fits.i
share/yorick/1.4/include/gamma.i
share/yorick/1.4/include/gcd.i
share/yorick/1.4/include/legal.i
share/yorick/1.4/include/legndr.i
share/yorick/1.4/include/make.i
share/yorick/1.4/include/mkdoc.i
share/yorick/1.4/include/movie.i
share/yorick/1.4/include/msort.i
share/yorick/1.4/include/multi.i
share/yorick/1.4/include/netcdf.i
share/yorick/1.4/include/pixels.i
share/yorick/1.4/include/pl3d.i
share/yorick/1.4/include/plclab.i
share/yorick/1.4/include/plwf.i
share/yorick/1.4/include/pnm.i
share/yorick/1.4/include/prefix.i
share/yorick/1.4/include/prmtyp.i
share/yorick/1.4/include/random.i
share/yorick/1.4/include/rays.i
share/yorick/1.4/include/readn.i
share/yorick/1.4/include/rezone.i
share/yorick/1.4/include/rkutta.i
share/yorick/1.4/include/romberg.i
share/yorick/1.4/include/roots.i
share/yorick/1.4/include/series.i
share/yorick/1.4/include/show.i
share/yorick/1.4/include/slice3.i
share/yorick/1.4/include/spline.i
share/yorick/1.4/include/string.i
share/yorick/1.4/include/style.i
share/yorick/1.4/include/sysafe.i
share/yorick/1.4/include/test1.i
share/yorick/1.4/include/test2.i
share/yorick/1.4/include/test3.i
share/yorick/1.4/include/testb.i
share/yorick/1.4/include/testfull.i
share/yorick/1.4/include/testg.i
share/yorick/1.4/include/testlp.i
share/yorick/1.4/include/testm.i
share/yorick/1.4/include/testp.i
share/yorick/1.4/include/txpath.i
share/yorick/1.4/include/zroots.i
share/yorick/1.4/startup/drat.i
share/yorick/1.4/startup/fft.i
share/yorick/1.4/startup/graph.i
share/yorick/1.4/startup/matrix.i
share/yorick/1.4/startup/paths.i
share/yorick/1.4/startup/std.i
share/yorick/1.4/startup/stdx.i
@dirrm share/yorick/1.4/startup
@dirrm share/yorick/1.4/include
@dirrm share/yorick/1.4/gist
@dirrm share/yorick/1.4/doc
@dirrm share/yorick/1.4
share/doc/yorick/drat.doc
share/doc/yorick/drat.tex
share/doc/yorick/graph.doc
share/doc/yorick/hex.doc
share/doc/yorick/library.doc
share/doc/yorick/math.doc
share/doc/yorick/refs.ps
share/doc/yorick/refs.tex
share/doc/yorick/std.doc
share/doc/yorick/yorick.pdf
share/doc/yorick/yorick.ps
share/doc/yorick/yorick.tex
share/yorick/g/README
share/yorick/g/axes.gs
share/yorick/g/boxed.gs
share/yorick/g/boxed2.gs
share/yorick/g/earth.gp
share/yorick/g/gray.gp
share/yorick/g/heat.gp
share/yorick/g/l_nobox.gs
share/yorick/g/ncar.gp
share/yorick/g/nobox.gs
share/yorick/g/ps.ps
share/yorick/g/pscom.ps
share/yorick/g/rainbow.gp
share/yorick/g/stern.gp
share/yorick/g/vg.gs
share/yorick/g/vgbox.gs
share/yorick/g/work.gs
share/yorick/g/work2.gs
share/yorick/g/yarg.gp
share/yorick/i/README
share/yorick/i/basfix.i
share/yorick/i/bessel.i
share/yorick/i/bowtie.i
share/yorick/i/button.i
share/yorick/i/cheby.i
share/yorick/i/collec.i
share/yorick/i/color.i
share/yorick/i/convol.i
share/yorick/i/copyb.i
share/yorick/i/custom.i
share/yorick/i/dawson.i
share/yorick/i/demo1.i
share/yorick/i/demo2.i
share/yorick/i/demo3.i
share/yorick/i/demo4.i
share/yorick/i/demo5.i
share/yorick/i/digit2.i
share/yorick/i/ellipse.i
share/yorick/i/elliptic.i
share/yorick/i/filter.i
share/yorick/i/fitlsq.i
share/yorick/i/fitrat.i
share/yorick/i/fits.i
share/yorick/i/gamma.i
share/yorick/i/gcd.i
share/yorick/i/hydra.i
share/yorick/i/kepler.i
share/yorick/i/legal.i
share/yorick/i/legndr.i
share/yorick/i/make.i
share/yorick/i/mkdoc.i
share/yorick/i/movie.i
share/yorick/i/msort.i
share/yorick/i/multi.i
share/yorick/i/netcdf.i
share/yorick/i/pixels.i
share/yorick/i/pl3d.i
share/yorick/i/plato.i
share/yorick/i/plclab.i
share/yorick/i/plwf.i
share/yorick/i/pnm.i
share/yorick/i/prefix.i
share/yorick/i/prmtyp.i
share/yorick/i/random.i
share/yorick/i/rays.i
share/yorick/i/readn.i
share/yorick/i/rezone.i
share/yorick/i/rkutta.i
share/yorick/i/romberg.i
share/yorick/i/roots.i
share/yorick/i/series.i
share/yorick/i/show.i
share/yorick/i/silo.i
share/yorick/i/slice3.i
share/yorick/i/spline.i
share/yorick/i/string.i
share/yorick/i/style.i
share/yorick/i/sysafe.i
share/yorick/i/test1.i
share/yorick/i/test2.i
share/yorick/i/test3.i
share/yorick/i/testb.i
share/yorick/i/testfull.i
share/yorick/i/testg.i
share/yorick/i/testlp.i
share/yorick/i/testm.i
share/yorick/i/testp.i
share/yorick/i/txpath.i
share/yorick/i/ylmdec.i
share/yorick/i/zroots.i
@dirrm share/yorick/i
@dirrm share/yorick/g
@dirrm share/yorick
@dirrm lib/yorick/1.4/lib
@dirrm lib/yorick/1.4/h
@dirrm lib/yorick/1.4
@dirrm lib/yorick
@dirrm share/doc/yorick