pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import textproc/scdoc
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Sat Dec 20 20:36:59 2025 +0100
Changeset: 1264d7844b784cc9892fa006b9bfb92fe17460d3
Modified Files:
Makefile
Added Files:
scdoc/DESCR
scdoc/Makefile
scdoc/PLIST
scdoc/distinfo
scdoc/patches/patch-Makefile
Log Message:
Import textproc/scdoc
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1264d7844b784cc9892fa006b9bfb92fe17460d3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
scdoc/DESCR | 1 +
scdoc/Makefile | 26 ++++++++++++++++++++++++++
scdoc/PLIST | 5 +++++
scdoc/distinfo | 6 ++++++
scdoc/patches/patch-Makefile | 15 +++++++++++++++
6 files changed, 54 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 1f1dc2a5e3..d4b6f2f549 100644
--- a/Makefile
+++ b/Makefile
@@ -5366,6 +5366,7 @@ SUBDIR+= sbcl-git
SUBDIR+= sblim-sfcc
SUBDIR+= scare
SUBDIR+= scc
+SUBDIR+= scdoc
SUBDIR+= scheme48-sdl
SUBDIR+= schur
SUBDIR+= scilab
diff --git a/scdoc/DESCR b/scdoc/DESCR
new file mode 100644
index 0000000000..e8374e3c7a
--- /dev/null
+++ b/scdoc/DESCR
@@ -0,0 +1 @@
+scdoc is a simple man page generator for POSIX systems written in C99.
diff --git a/scdoc/Makefile b/scdoc/Makefile
new file mode 100644
index 0000000000..8428d4da35
--- /dev/null
+++ b/scdoc/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.3 2024/07/30 08:10:19 wiz Exp $
+
+DISTNAME= 1.11.3
+PKGNAME= scdoc-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= https://git.sr.ht/~sircmpwn/scdoc/archive/
+DIST_SUBDIR= scdoc
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://git.sr.ht/~sircmpwn/scdoc/
+COMMENT= Simple man page generator
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/scdoc-${DISTNAME}
+
+USE_TOOLS+= gmake
+
+PKGCONFIG_OVERRIDE+= scdoc.pc.in
+
+SUBST_CLASSES+= man
+SUBST_STAGE.man= pre-build
+SUBST_MESSAGE.man= Fixing man page installation path
+SUBST_FILES.man+= Makefile
+SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},g"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/scdoc/PLIST b/scdoc/PLIST
new file mode 100644
index 0000000000..19eb9dacfd
--- /dev/null
+++ b/scdoc/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.2 2024/07/30 08:10:19 wiz Exp $
+bin/scdoc
+man/man1/scdoc.1
+man/man5/scdoc.5
+share/pkgconfig/scdoc.pc
diff --git a/scdoc/distinfo b/scdoc/distinfo
new file mode 100644
index 0000000000..3b20de6c5d
--- /dev/null
+++ b/scdoc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.8 2024/07/30 08:10:19 wiz Exp $
+
+BLAKE2s (scdoc/1.11.3.tar.gz) = 956404cbfdabd63c2bec34a4e57a93ebc08fc16adb9c8d567e9a1b5d3c40b015
+SHA512 (scdoc/1.11.3.tar.gz) = fbecc505b44c396890c53c05183d34336160dbd02993ee120421fc6e2a3ec78ba349747e8acfe97af956a0081c923309290ff97fb7babafbc3ca8addc9ec92f9
+Size (scdoc/1.11.3.tar.gz) = 12768 bytes
+SHA1 (patch-Makefile) = b79aab9ddbb85f0d1192f28ca2bddc72ec040604
diff --git a/scdoc/patches/patch-Makefile b/scdoc/patches/patch-Makefile
new file mode 100644
index 0000000000..1a055f24ec
--- /dev/null
+++ b/scdoc/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.2 2024/07/30 08:10:19 wiz Exp $
+
+-static does not work on macOS, and there is no reason why this needs
+to be static.
+
+--- Makefile.orig 2024-02-17 09:51:31.000000000 +0000
++++ Makefile
+@@ -1,7 +1,6 @@
+ VERSION=1.11.3
+ CFLAGS?=-g
+ MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
+-LDFLAGS+=-static
+ INCLUDE+=-Iinclude
+ PREFIX?=/usr/local
+ BINDIR?=$(PREFIX)/bin
Home |
Main Index |
Thread Index |
Old Index