- Update to version 3.1.1c
- Fix Makefile
This commit is contained in:
parent
68dcfef263
commit
f7543a2ac7
@ -1,23 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2000/07/10 02:06:55 angelos Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2000/08/19 04:40:57 kevlo Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xspread2.1
|
||||
PKGNAME= xspread-2.1
|
||||
DISTNAME= xspread3.1.1c
|
||||
PKGNAME= xspread-3.1.1c
|
||||
CATEGORIES= math
|
||||
NEED_VERSION= 1.319
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
LICENSE_TYPE= GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/distributions/slackware/source/xap/xspread/
|
||||
# ${MASTER_SITE_SUNSITE} isn't appropriate because distributions/ isn't
|
||||
# mirrored.
|
||||
MASTER_SITES= http://linux.tucows.com/files/x11/office/
|
||||
|
||||
USE_IMAKE= Yes
|
||||
FAKE= Yes
|
||||
CONFIGURE_STYLE= gnu old
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
|
||||
LIBS="-L${X11BASE}/lib"
|
||||
|
||||
INSTALL_TARGET= install install.man
|
||||
|
||||
post-install:
|
||||
@find ${WRKSRC} -name "*.tmp" -delete || /usr/bin/true
|
||||
${INSTALL_DATA_DIR} \
|
||||
${PREFIX}/share/xspread/{doc,documents,sample_files,tests}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/xspread
|
||||
${INSTALL_DATA} ${WRKSRC}/x/notes ${PREFIX}/share/xspread
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/xspread/doc
|
||||
${INSTALL_DATA} ${WRKSRC}/documents/* ${PREFIX}/share/xspread/documents
|
||||
${INSTALL_DATA} ${WRKSRC}/sample_files/* \
|
||||
${PREFIX}/share/xspread/sample_files
|
||||
${INSTALL_DATA} ${WRKSRC}/tests/* ${PREFIX}/share/xspread/tests
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (xspread2.1.tar.gz) = 1c8cb085a16f2ea4754223c28ef051d6
|
||||
RMD160 (xspread2.1.tar.gz) = cc0b6e73127eecde8813352d7017e22241f09dba
|
||||
SHA1 (xspread2.1.tar.gz) = 921c8e727e419b3471ca360e8a1c0e10fcbf99fe
|
||||
MD5 (xspread3.1.1c.tar.gz) = 2bb2eff5db76e5c77d3ef24199f3709d
|
||||
RMD160 (xspread3.1.1c.tar.gz) = 10783b103fba28ab668c40610e95fe46089a73e0
|
||||
SHA1 (xspread3.1.1c.tar.gz) = a19cefffb33da569194d15e012154a0b8b40b368
|
||||
|
@ -1,19 +1,11 @@
|
||||
*** ../xspread.orig/Imakefile Fri May 26 23:29:48 1995
|
||||
--- Imakefile Fri May 26 23:30:24 1995
|
||||
***************
|
||||
*** 16,22 ****
|
||||
# Define -DRE_COMP for BSD/SUN regular expression handler
|
||||
|
||||
# If you have problems you might want to call this DEFINES =
|
||||
! EXTRA_DEFINES = -DDOBACKUPS -DSIGVOID -DRINT -DRE_COMP \
|
||||
-DDFLT_PAGER=\"more\" -DSAVENAME=\"SC.SAVE\" \
|
||||
-DDOINGX -DSC_FONT=\"9x15\" -DCRYPT_PATH \
|
||||
-DBSD43
|
||||
--- 16,22 ----
|
||||
# Define -DRE_COMP for BSD/SUN regular expression handler
|
||||
|
||||
# If you have problems you might want to call this DEFINES =
|
||||
! EXTRA_DEFINES = -DDOBACKUPS -DSIGVOID -DRINT \
|
||||
-DDFLT_PAGER=\"more\" -DSAVENAME=\"SC.SAVE\" \
|
||||
-DDOINGX -DSC_FONT=\"9x15\" -DCRYPT_PATH \
|
||||
-DBSD43
|
||||
--- interp.c.orig Fri Aug 18 07:06:29 2000
|
||||
+++ interp.c Fri Aug 18 07:06:40 2000
|
||||
@@ -516,7 +516,7 @@
|
||||
mdays[1] = 28 + (yr%4 == 0);
|
||||
|
||||
if (mo < 1 || mo > 12 || day < 1 || day > mdays[--mo] ||
|
||||
- yr > 1999 || yr < 1970) {
|
||||
+ yr > 2099 || yr < 1970) {
|
||||
scerror("@dts: invalid argument");
|
||||
cellerror = CELLERROR;
|
||||
return(0.0);
|
||||
|
40
math/xspread/patches/patch-ab
Normal file
40
math/xspread/patches/patch-ab
Normal file
@ -0,0 +1,40 @@
|
||||
--- Makefile.in.orig Fri Aug 18 07:18:30 2000
|
||||
+++ Makefile.in Fri Aug 18 07:50:48 2000
|
||||
@@ -19,11 +19,11 @@
|
||||
CFLAGS = @CFLAGS@
|
||||
DEFS = @DEFS@
|
||||
LIBS = @LIBS@
|
||||
-INCLUDEDIR = -I. -I$(srcdir)
|
||||
+INCLUDEDIR = -I. -I$(srcdir) @CPPFLAGS@
|
||||
LN = @LN_S@
|
||||
RM = rm -f
|
||||
SHELL = /bin/sh
|
||||
-INSTALL = install
|
||||
+INSTALL = /usr/bin/install
|
||||
INSTALL_PROGRAM = $(INSTALL)
|
||||
INSTALL_DATA = $(INSTALL)
|
||||
INSTALLFLAGS = -c
|
||||
@@ -81,10 +81,10 @@
|
||||
$(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) gram.o lex.o $(LOCAL_LIBRARIES) $(LIBS) $(EXTRA_LOAD_FLAGS)
|
||||
|
||||
install:: xspread
|
||||
- $(INSTALL_PROGRAM) $(INSTALLFLAGS) $(INSTPGMFLAGS) xspread $(bindir)/xspread
|
||||
+ $(INSTALL_PROGRAM) $(INSTALLFLAGS) $(INSTPGMFLAGS) xspread $(DESTDIR)$(bindir)/xspread
|
||||
|
||||
install:: pxspread
|
||||
- $(INSTALL_PROGRAM) $(INSTALLFLAGS) $(INSTPGMFLAGS) pxspread $(bindir)/pxspread
|
||||
+ $(INSTALL_PROGRAM) $(INSTALLFLAGS) $(INSTPGMFLAGS) pxspread $(DESTDIR)$(bindir)/pxspread
|
||||
|
||||
uninstall::
|
||||
-$(RM) $(bindir)/xspread
|
||||
@@ -92,8 +92,8 @@
|
||||
|
||||
|
||||
install.man:: xspread.man
|
||||
- $(INSTALL_DATA) $(INSTALLFLAGS) $(INSTMANFLAGS) xspread.man $(mandir)/xspread.$(manext)
|
||||
- $(INSTALL_DATA) $(INSTALLFLAGS) $(INSTMANFLAGS) pxspread.man $(mandir)/pxspread.$(manext)
|
||||
+ $(INSTALL_DATA) $(INSTALLFLAGS) $(INSTMANFLAGS) xspread.man $(DESTDIR)$(mandir)/xspread.$(manext)
|
||||
+ $(INSTALL_DATA) $(INSTALLFLAGS) $(INSTMANFLAGS) pxspread.man $(DESTDIR)$(mandir)/pxspread.$(manext)
|
||||
|
||||
uninstall::
|
||||
-$(RM) $(mandir)/xspread.$(manext)
|
@ -5,4 +5,4 @@ CHANGES lists the changes since 6.1 to 6.21.
|
||||
Sc6.16 was released to comp.sources.misc and four sets of patches
|
||||
bring Sc6.16->6.17->6.18->6.19->6.21.
|
||||
|
||||
This is version 2.1.
|
||||
This is version 3.1.1c.
|
||||
|
@ -1,2 +1,68 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2000/08/19 04:41:08 kevlo Exp $
|
||||
bin/xspread
|
||||
man/cat1/xspread.0
|
||||
bin/pxspread
|
||||
share/xspread/README
|
||||
share/xspread/notes
|
||||
share/xspread/doc/Sample_Run
|
||||
share/xspread/doc/final_rpt
|
||||
share/xspread/doc/last_xspread
|
||||
share/xspread/doc/prog_rpt
|
||||
share/xspread/doc/sc.changes
|
||||
share/xspread/doc/sc.readme
|
||||
share/xspread/doc/sc.vms_notes
|
||||
share/xspread/doc/xspread.aux
|
||||
share/xspread/doc/xspread.dvi
|
||||
share/xspread/doc/xspread.log
|
||||
share/xspread/doc/xspread.ps
|
||||
share/xspread/doc/xspread.tex
|
||||
share/xspread/doc/xspread.toc
|
||||
share/xspread/doc/xspread_prog.asc
|
||||
share/xspread/documents/progress.aux
|
||||
share/xspread/documents/progress.dvi
|
||||
share/xspread/documents/progress.log
|
||||
share/xspread/documents/progress.ps
|
||||
share/xspread/documents/progress.tex
|
||||
share/xspread/documents/report.aux
|
||||
share/xspread/documents/report.dvi
|
||||
share/xspread/documents/report.log
|
||||
share/xspread/documents/report.ps
|
||||
share/xspread/documents/report.tex
|
||||
share/xspread/sample_files/demo_dates
|
||||
share/xspread/sample_files/demo_func
|
||||
share/xspread/sample_files/demo_math
|
||||
share/xspread/sample_files/demo_matrix
|
||||
share/xspread/sample_files/demo_strval
|
||||
share/xspread/sample_files/ex1
|
||||
share/xspread/sample_files/ex1o
|
||||
share/xspread/sample_files/ex2
|
||||
share/xspread/sample_files/ex2o
|
||||
share/xspread/sample_files/ex3
|
||||
share/xspread/sample_files/tutorial
|
||||
share/xspread/tests/Makefile
|
||||
share/xspread/tests/READ_ME
|
||||
share/xspread/tests/copy.cmp
|
||||
share/xspread/tests/copy.input
|
||||
share/xspread/tests/copy.output
|
||||
share/xspread/tests/copy.sc
|
||||
share/xspread/tests/intfunc.cmp
|
||||
share/xspread/tests/intfunc.input
|
||||
share/xspread/tests/intfunc.output
|
||||
share/xspread/tests/intfunc.sc
|
||||
share/xspread/tests/irr.cmp
|
||||
share/xspread/tests/irr.input
|
||||
share/xspread/tests/irr.output
|
||||
share/xspread/tests/irr.sc
|
||||
share/xspread/tests/read.cmp
|
||||
share/xspread/tests/read.data
|
||||
share/xspread/tests/read.input
|
||||
share/xspread/tests/read.output
|
||||
share/xspread/tests/read.sc
|
||||
share/xspread/tests/tester.sh
|
||||
share/xspread/tests/txt.sc
|
||||
man/man1/xspread.1
|
||||
man/man1/pxspread.1
|
||||
@dirrm share/xspread/tests
|
||||
@dirrm share/xspread/sample_files
|
||||
@dirrm share/xspread/documents
|
||||
@dirrm share/xspread/doc
|
||||
@dirrm share/xspread
|
||||
|
Loading…
Reference in New Issue
Block a user