summaryrefslogtreecommitdiff
path: root/math/suitesparse-Example
diff options
context:
space:
mode:
Diffstat (limited to 'math/suitesparse-Example')
-rw-r--r--math/suitesparse-Example/Makefile40
-rw-r--r--math/suitesparse-Example/pkg-descr3
-rw-r--r--math/suitesparse-Example/pkg-plist10
3 files changed, 53 insertions, 0 deletions
diff --git a/math/suitesparse-Example/Makefile b/math/suitesparse-Example/Makefile
new file mode 100644
index 000000000000..24b7070a1f30
--- /dev/null
+++ b/math/suitesparse-Example/Makefile
@@ -0,0 +1,40 @@
+PORTNAME= ${MPORTNAME:tl}
+PORTVERSION= 1.8.9
+CATEGORIES= math
+
+COMMENT= Examples for SuiteSparse
+WWW= https://faculty.cse.tamu.edu/davis/suitesparse.html
+
+LICENSE= BSD3CLAUSE
+
+LIB_DEPENDS= libamd.so:math/suitesparse-amd \
+ libbtf.so:math/suitesparse-btf \
+ libcamd.so:math/suitesparse-camd \
+ libccolamd.so:math/suitesparse-ccolamd \
+ libcholmod.so:math/suitesparse-cholmod \
+ libcolamd.so:math/suitesparse-colamd \
+ libcxsparse.so:math/suitesparse-cxsparse \
+ libgraphblas.so:math/suitesparse-graphblas \
+ libklu_cholmod.so:math/suitesparse-klu \
+ liblagraph.so:math/suitesparse-lagraph \
+ libldl.so:math/suitesparse-ldl \
+ libsuitesparse_mongoose.so:math/suitesparse-mongoose \
+ libparu.so:math/suitesparse-paru \
+ librbio.so:math/suitesparse-rbio \
+ libspex.so:math/suitesparse-spex \
+ libspqr.so:math/suitesparse-spqr \
+ libumfpack.so:math/suitesparse-umfpack
+
+USES= localbase:ldflags fortran
+
+MPORTNAME= Example
+USE_LDCONFIG= yes
+
+.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
+
+post-stage-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/README.md \
+ ${STAGEDIR}${DOCSDIR}/${MPORTNAME}_README.md
+
+.include <bsd.port.post.mk>
diff --git a/math/suitesparse-Example/pkg-descr b/math/suitesparse-Example/pkg-descr
new file mode 100644
index 000000000000..522fc4848f98
--- /dev/null
+++ b/math/suitesparse-Example/pkg-descr
@@ -0,0 +1,3 @@
+This port installs the 'my' library of SuiteSparse.
+
+This is only a demonstration package.
diff --git a/math/suitesparse-Example/pkg-plist b/math/suitesparse-Example/pkg-plist
new file mode 100644
index 000000000000..4a1f5e863a67
--- /dev/null
+++ b/math/suitesparse-Example/pkg-plist
@@ -0,0 +1,10 @@
+include/my.h
+lib/libmy.a
+lib/libmy.so
+lib/libmy.so.1
+lib/libmy.so.%%VER%%
+lib/libmy_cxx.a
+lib/libmy_cxx.so
+lib/libmy_cxx.so.1
+lib/libmy_cxx.so.%%VER%%
+%%PORTDOCS%%%%DOCSDIR%%/Example_README.md