pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/hs-texmath
Module Name: pkgsrc
Committed By: pho
Date: Wed Nov 1 15:37:07 UTC 2023
Modified Files:
pkgsrc/textproc/hs-texmath: Makefile PLIST
Added Files:
pkgsrc/textproc/hs-texmath: options.mk
Log Message:
textproc/hs-texmath: Forgot to commit options.mk
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/textproc/hs-texmath/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/hs-texmath/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/hs-texmath/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/hs-texmath/Makefile
diff -u pkgsrc/textproc/hs-texmath/Makefile:1.33 pkgsrc/textproc/hs-texmath/Makefile:1.34
--- pkgsrc/textproc/hs-texmath/Makefile:1.33 Tue Oct 31 12:44:49 2023
+++ pkgsrc/textproc/hs-texmath/Makefile Wed Nov 1 15:37:07 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2023/10/31 12:44:49 jperkin Exp $
+# $NetBSD: Makefile,v 1.34 2023/11/01 15:37:07 pho Exp $
DISTNAME= texmath-0.12.8.4
CATEGORIES= textproc
@@ -9,6 +9,8 @@ LICENSE= gnu-gpl-v2
CONFIGURE_ARGS+= -fexecutable
+.include "options.mk"
+
# lib:texmath
.include "../../textproc/hs-pandoc-types/buildlink3.mk"
.include "../../devel/hs-split/buildlink3.mk"
Index: pkgsrc/textproc/hs-texmath/PLIST
diff -u pkgsrc/textproc/hs-texmath/PLIST:1.7 pkgsrc/textproc/hs-texmath/PLIST:1.8
--- pkgsrc/textproc/hs-texmath/PLIST:1.7 Tue Oct 31 04:52:24 2023
+++ pkgsrc/textproc/hs-texmath/PLIST Wed Nov 1 15:37:07 2023
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.7 2023/10/31 04:52:24 pho Exp $
+@comment $NetBSD: PLIST,v 1.8 2023/11/01 15:37:07 pho Exp $
bin/texmath
+${PLIST.server}bin/texmath-server
lib/texmath-${PKGVERSION}/${HS_VERSION}/package-description
lib/texmath-${PKGVERSION}/${HS_VERSION}/package-id
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
Added files:
Index: pkgsrc/textproc/hs-texmath/options.mk
diff -u /dev/null pkgsrc/textproc/hs-texmath/options.mk:1.1
--- /dev/null Wed Nov 1 15:37:07 2023
+++ pkgsrc/textproc/hs-texmath/options.mk Wed Nov 1 15:37:07 2023
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1 2023/11/01 15:37:07 pho Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.hs-texmath
+PKG_SUPPORTED_OPTIONS= server
+PKG_SUGGESTED_OPTIONS= # none
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Install a web server, texmath-server, that exposes a JSON API allowing
+### conversion of individual formulas and batches of formulas.
+###
+.if !empty(PKG_OPTIONS:Mserver)
+CONFIGURE_ARGS+= -fserver
+OPTPARSE_APPLICATIVE_EXECUTABLES+= texmath-server
+PLIST.server= yes
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+.include "../../devel/hs-safe/buildlink3.mk"
+.include "../../www/hs-servant-server/buildlink3.mk"
+.include "../../www/hs-wai/buildlink3.mk"
+.include "../../www/hs-wai-logger/buildlink3.mk"
+.include "../../www/hs-warp/buildlink3.mk"
+.endif
+PLIST_VARS+= server
Home |
Main Index |
Thread Index |
Old Index