Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FriCAS is a fork of Axiom.
FriCAS algebra library is written in a high level strongly typed
language (Spad), which allows natural expression of mathematical
algorithms.
FriCAS uses lightweight developement methodology. Compared to Axiom
FriCAS is significantly restructured -- it is more portable and fixed
several defects. FriCAS removed rather large unused parts (without
removing functionality). It is expected that FriCAS will be much
easier to maintain than original Axiom.
+34
View File
@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.20 2013/05/19 10:01:00 asau Exp $
PKGNAME= fricas-1.2.0
DISTNAME= ${PKGNAME_NOREV}-full
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fricas/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://fricas.sourceforge.net/
COMMENT= FriCAS is a fork of the Axiom computer algebra system
LICENSE= modified-bsd
BUILD_DEPENDS+= noweb-[0-9]*:../../devel/noweb
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
# Problems:
# 4. Emacs files should go into "site-lisp".
.include "options.mk"
.if !empty(PKG_OPTIONS:Mclisp)
# Don't strip, it breaks FFI:
INSTALL_UNSTRIPPED= yes
CHECK_WRKREF_SKIP= lib/*/hypertex lib/*/viewAlone lib/*/view2D lib/*/view3D lib/*/viewman
.endif
.include "../../mk/bsd.pkg.mk"
+2981
View File
File diff suppressed because it is too large Load Diff
+5
View File
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.13 2013/05/19 10:01:00 asau Exp $
SHA1 (fricas-1.2.0-full.tar.bz2) = 3634ff3d8249cae31fa07f66a5818444620a45cb
RMD160 (fricas-1.2.0-full.tar.bz2) = 04eb691a0d39cf363dd5dc918065c8aec9b5342e
Size (fricas-1.2.0-full.tar.bz2) = 9985375 bytes
+89
View File
@@ -0,0 +1,89 @@
# $NetBSD: options.mk,v 1.5 2010/11/24 22:43:40 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fricas
PKG_OPTIONS_REQUIRED_GROUPS= lisp
PKG_OPTIONS_GROUP.lisp= clisp sbcl ecl
PKG_SUPPORTED_OPTIONS+= x11
PKG_SUGGESTED_OPTIONS+= clisp x11
.include "../../mk/bsd.options.mk"
# Select Lisp backend
.if !empty(PKG_OPTIONS:Mclisp)
FASL= fas
BUILD_DEPENDS+= clisp>=2.41:../../lang/clisp
CONFIGURE_ARGS+= --with-lisp=clisp
.endif
.if !empty(PKG_OPTIONS:Msbcl)
FASL= fasl
DEPENDS+= sbcl-[0-9]*:../../lang/sbcl
CONFIGURE_ARGS+= --with-lisp=sbcl
.endif
.if !empty(PKG_OPTIONS:Mecl)
FASL= fas
CONFIGURE_ARGS+= --with-lisp=ecl
.include "../../devel/libffi/buildlink3.mk"
.include "../../lang/ecl/buildlink3.mk"
.endif
# Fix suffix for "fast load" files:
PLIST_SUBST+= FASL=${FASL:Q}
# Generalize "fast load" files
PRINT_PLIST_AWK+= {gsub(/\.${FASL}$$/, ".$${FASL}");}
.if !empty(PKG_OPTIONS:Mclisp)
# Handle CLISP-specific files
PRINT_PLIST_AWK+= {if ($$0 ~ /\.lib$$/) {$$0 = "$${clisp}" $$0;}}
.endif
.if !empty(PKG_OPTIONS:Mecl)
# Handle ECL-specific files
PRINT_PLIST_AWK+= {if ($$0 ~ /\.o$$/) {$$0 = "$${ecl}" $$0;}}
.endif
# X11-only files:
.if !empty(PKG_OPTIONS:Mx11)
PRINT_PLIST_AWK+= {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/share\/viewports\// || $$0 ~ /\.(bitmap|xbm|xbm.tiny|bm|bakmap|xpm|ht|pht|ps)$$/) {$$0 = "$${x11}" $$0;}}
# ...where "util.ht" is false positive.
# files in lib/.../bin
.for _file_ in htadd hypertex viewAlone
PRINT_PLIST_AWK+= {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/bin\/${_file_}$$/) {$$0 = "$${x11}" $$0;}}
.endfor
# files in lib/.../lib
.for _file_ in ex2ht hthits htsearch presea spadbuf view2D view3D viewman
PRINT_PLIST_AWK+= {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/lib\/${_file_}$$/) {$$0 = "$${x11}" $$0;}}
.endfor
# files in lib/.../bitmaps
.for _file_ in door ht_icon
PRINT_PLIST_AWK+= {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/bitmaps\/${_file_}$$/) {$$0 = "$${x11}" $$0;}}
.endfor
# Postscript files in lib/.../lib/graph:
PRINT_PLIST_AWK+= {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/lib\/graph\/.*\.ps$$/) {$$0 = "$${x11}" $$0;}}
.endif
# X11
.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --with-x=yes
CONFIGURE_ENV+= X_LIBS=${LDFLAGS:M*:Q}
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-x=no
.endif
.for opt in clisp sbcl ecl x11
. if !empty(PKG_OPTIONS:M${opt})
PLIST_SUBST+= ${opt}=""
. else
PLIST_SUBST+= ${opt}="@comment "
. endif
.endfor
# Common for CLISP and SBCL:
.if !empty(PKG_OPTIONS:Mclisp) || !empty(PKG_OPTIONS:Msbcl)
PLIST_SUBST+= clisp-sbcl=""
.else
PLIST_SUBST+= clisp-sbcl="@comment "
.endif