pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

groff-pdfmark: remove, imported to pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Nov 14 08:36:49 2026 +0100
Changeset:	c355e2d413646bfd7b85231e46abcb1a9ca85039

Modified Files:
	Makefile
Removed Files:
	groff-pdfmark/DESCR
	groff-pdfmark/Makefile
	groff-pdfmark/PLIST
	groff-pdfmark/distinfo

Log Message:
groff-pdfmark: remove, imported to pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c355e2d413646bfd7b85231e46abcb1a9ca85039

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile               |   1 -
 groff-pdfmark/DESCR    |  13 ------
 groff-pdfmark/Makefile | 120 -------------------------------------------------
 groff-pdfmark/PLIST    |  35 ---------------
 groff-pdfmark/distinfo |   5 ---
 5 files changed, 174 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 11abd98776..a257179c5f 100644
--- a/Makefile
+++ b/Makefile
@@ -1465,7 +1465,6 @@ SUBDIR+=	greenbone-security-assistant
 SUBDIR+=	gretl
 SUBDIR+=	greybird-theme
 SUBDIR+=	grisbi
-SUBDIR+=	groff-pdfmark
 SUBDIR+=	gromit-mpx
 SUBDIR+=	groovy
 SUBDIR+=	grpc-java
diff --git a/groff-pdfmark/DESCR b/groff-pdfmark/DESCR
deleted file mode 100644
index 0635993b72..0000000000
--- a/groff-pdfmark/DESCR
+++ /dev/null
@@ -1,13 +0,0 @@
-The groff-pdfmark package provides a suite of GNU roff macro
-packages together with the pdfroff Bourne shell driver script. It
-facilitates creation of PDF files that contain active hyperlinks,
-bookmarks, document metadata and other PDF features, using GNU
-troff as the primary typesetting engine.
-
-Originally distributed as a contributed component of GNU groff, the
-macros and pdfroff were removed from the main groff distribution
-starting with version 1.24 and are now maintained separately.
-
-This package installs the macros into share/groff/site-tmac so that
-they are automatically found by groff without modifying the main
-groff package.
diff --git a/groff-pdfmark/Makefile b/groff-pdfmark/Makefile
deleted file mode 100644
index 759125cd81..0000000000
--- a/groff-pdfmark/Makefile
+++ /dev/null
@@ -1,120 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	groff-pdfmark-20261029.1
-PKGNAME=	groff-pdfmark-26.10
-CATEGORIES=	textproc
-MASTER_SITES=	https://download.savannah.gnu.org/releases/groff-pdfmark/
-EXTRACT_SUFX=	-src.tar.xz
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://savannah.nongnu.org/projects/groff-pdfmark/
-COMMENT=	PDF publishing macros and pdfroff driver for GNU troff
-LICENSE=	gnu-gpl-v3
-
-WRKSRC=		${WRKDIR}/groff-pdfmark-26.10
-
-GNU_CONFIGURE=	yes
-USE_TOOLS+=	gmake sed
-
-# Upstream's Makefile is mostly for release tarballs.
-# We only need it to generate a proper pdfroff script.
-BUILD_TARGET=	pdfroff-posix
-
-# Runtime requirements
-DEPENDS+=	groff-[0-9]*:../../textproc/groff
-DEPENDS+=	ghostscript-[0-9]*:../../print/ghostscript
-
-# Macro packages to site-tmac only
-TMAC_FILES=	pdfmark.tmac spdf.tmac omit.tmac opmode.tmac \
-		sanitize.tmac pdfroff.tmac strcase.tmac newpage.tmac \
-		float.tmac redirect.tmac appendix.tmac anpdf.tmac \
-		toc-base.tmac toc-class.tmac spdf-toc.tmac fdl-setup.tmac
-
-MAN1=	pdfroff.1
-MAN7=	pdfroff.7 groff_pdfmark.7 groff_pdfhref.7 groff_pdfnote.7 \
-	groff_mspdf.7 groff_omit.7 groff_opmode.7 groff_sanitize.7 \
-	groff_toc.7
-
-INSTALLATION_DIRS=	bin \
-			${PKGMANDIR}/man1 ${PKGMANDIR}/man7 \
-			share/groff/site-tmac \
-			share/examples/groff-pdfmark \
-			share/examples/groff-pdfmark/artwork \
-			share/doc/groff-pdfmark
-
-# Set a default GROFF_BIN_PATH to use pkgsrc groff, but make it so
-# that users can still override the GROFF_BIN_PATH or GROFF_BIN_DIR
-# variable at runtime.
-
-SUBST_CLASSES+=		groffbin
-SUBST_STAGE.groffbin=	post-build
-SUBST_FILES.groffbin=	${BUILD_TARGET}
-
-# Place default groff path expression before the
-# first non-comment line in "pdfroff"
-
-SUBST_FILTER_CMD.groffbin= \
-	${AWK} '!inserted && /^[^\#]/ \
-	{ \
-	print "\# Use the groff installed in ${PREFIX} when GROFF_BIN_PATH is not set."; \
-	print "\# Users may still override with GROFF_BIN_DIR or GROFF_BIN_PATH."; \
-	print "\n  : $${GROFF_BIN_PATH:=${PREFIX}/bin}\n"; \
-	inserted=1; \
-	} \
-	{ print }'
-
-# Build only the POSIX pdfroff script
-do-build:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_TARGET}
-.for f in ${MAN1} ${MAN7}
-	${SED} \
-	    -e 's|@MAN1EXT@|1|g' \
-	    -e 's|@MAN7EXT@|7|g' \
-	    -e 's|@VERSION@|${PKGVERSION}|g' \
-	    -e 's|@MDATE@|${PKGVERSION}|g' \
-	    -e 's|@SITE_TMACDIR@|${PREFIX}/share/groff/site-tmac|g' \
-	    -e 's|@PDFDOCDIR@|${PREFIX}/share/doc/groff-pdfmark|g' \
-	    -e 's|@AUTHOR_MT_ADDRESS@|keith.d.marshall%ntlworld.com@localhost|g' \
-	    -e 's|@PROJECT_HOSTING_SITE@|https://savannah.nongnu.org/projects/groff-pdfmark/|g' \
-	    -e '/@IMPORT_LOCAL_FALLBACK_MACROS@/d' \
-	    -e '/@ENUMERATE_MR_REFERENCES@/d' \
-	    ${WRKSRC}/man/${f}.man > ${WRKDIR}/${f}
-.endfor
-
-do-install:
-	# Generated driver (upstream builds it as pdfroff-posix)
-	${INSTALL_SCRIPT} ${WRKSRC}/pdfroff-posix \
-		${DESTDIR}${PREFIX}/bin/pdfroff
-
-# Macros
-.for f in ${TMAC_FILES}
-	${INSTALL_DATA} ${WRKSRC}/tmac/${f} \
-		${DESTDIR}${PREFIX}/share/groff/site-tmac/
-.endfor
-
-# Man pages
-.for f in ${MAN1}
-	${INSTALL_MAN} ${WRKDIR}/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${f}
-.endfor
-.for f in ${MAN7}
-	${INSTALL_MAN} ${WRKDIR}/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7/${f}
-.endfor
-
-	# Example sources so users can rebuild the reference document
-	${INSTALL_DATA} ${WRKSRC}/pdfmark.ms \
-		${DESTDIR}${PREFIX}/share/examples/groff-pdfmark/
-	${INSTALL_DATA} ${WRKSRC}/cover.ms \
-		${DESTDIR}${PREFIX}/share/examples/groff-pdfmark/
-	${INSTALL_DATA} ${WRKSRC}/cover-info.ms \
-		${DESTDIR}${PREFIX}/share/examples/groff-pdfmark/
-	${INSTALL_DATA} ${WRKSRC}/fdl-typesetting.ms \
-		${DESTDIR}${PREFIX}/share/examples/groff-pdfmark/
-	${INSTALL_DATA} ${WRKSRC}/artwork/gnu.eps \
-		${DESTDIR}${PREFIX}/share/examples/groff-pdfmark/artwork/
-
-	${INSTALL_DATA} ${WRKSRC}/ChangeLog \
-		${DESTDIR}${PREFIX}/share/doc/groff-pdfmark/
-	${INSTALL_DATA} ${WRKSRC}/gpl-v3.0.txt \
-		${DESTDIR}${PREFIX}/share/doc/groff-pdfmark/
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/groff-pdfmark/PLIST b/groff-pdfmark/PLIST
deleted file mode 100644
index f786a2588b..0000000000
--- a/groff-pdfmark/PLIST
+++ /dev/null
@@ -1,35 +0,0 @@
-@comment $NetBSD$
-bin/pdfroff
-man/man1/pdfroff.1
-man/man7/groff_mspdf.7
-man/man7/groff_omit.7
-man/man7/groff_opmode.7
-man/man7/groff_pdfhref.7
-man/man7/groff_pdfmark.7
-man/man7/groff_pdfnote.7
-man/man7/groff_sanitize.7
-man/man7/groff_toc.7
-man/man7/pdfroff.7
-share/doc/groff-pdfmark/ChangeLog
-share/doc/groff-pdfmark/gpl-v3.0.txt
-share/examples/groff-pdfmark/artwork/gnu.eps
-share/examples/groff-pdfmark/cover-info.ms
-share/examples/groff-pdfmark/cover.ms
-share/examples/groff-pdfmark/fdl-typesetting.ms
-share/examples/groff-pdfmark/pdfmark.ms
-share/groff/site-tmac/anpdf.tmac
-share/groff/site-tmac/appendix.tmac
-share/groff/site-tmac/fdl-setup.tmac
-share/groff/site-tmac/float.tmac
-share/groff/site-tmac/newpage.tmac
-share/groff/site-tmac/omit.tmac
-share/groff/site-tmac/opmode.tmac
-share/groff/site-tmac/pdfmark.tmac
-share/groff/site-tmac/pdfroff.tmac
-share/groff/site-tmac/redirect.tmac
-share/groff/site-tmac/sanitize.tmac
-share/groff/site-tmac/spdf-toc.tmac
-share/groff/site-tmac/spdf.tmac
-share/groff/site-tmac/strcase.tmac
-share/groff/site-tmac/toc-base.tmac
-share/groff/site-tmac/toc-class.tmac
diff --git a/groff-pdfmark/distinfo b/groff-pdfmark/distinfo
deleted file mode 100644
index ceba042b49..0000000000
--- a/groff-pdfmark/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-BLAKE2s (groff-pdfmark-20261029.1-src.tar.xz) = 54abc9e65a0d72c0ca5a5d32e8b5f4423dd5e60fcf6d5b855e2ece29ea5620fa
-SHA512 (groff-pdfmark-20261029.1-src.tar.xz) = 1460a2394451dffd5be029be0bec193c1810580e4a51d6f6f761690694e475cd40d6d60564f865529afbd4b843cae4bfa41f87e37b84343959f91df97072829d
-Size (groff-pdfmark-20261029.1-src.tar.xz) = 293272 bytes


Home | Main Index | Thread Index | Old Index