pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/po4a



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sat Apr 29 14:31:29 UTC 2023

Modified Files:
        pkgsrc/textproc/po4a: Makefile
Added Files:
        pkgsrc/textproc/po4a: options.mk

Log Message:
Looks like the kpathsea and tex-latex dependencies may not be needed in
typical usage. Move them under a 'latex' option, off by default. Bump
PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/textproc/po4a/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/po4a/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/po4a/Makefile
diff -u pkgsrc/textproc/po4a/Makefile:1.56 pkgsrc/textproc/po4a/Makefile:1.57
--- pkgsrc/textproc/po4a/Makefile:1.56  Wed Apr 19 08:11:39 2023
+++ pkgsrc/textproc/po4a/Makefile       Sat Apr 29 14:31:29 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2023/04/19 08:11:39 adam Exp $
+# $NetBSD: Makefile,v 1.57 2023/04/29 14:31:29 schmonz Exp $
 
 DISTNAME=      po4a-0.69
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mquinson/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
@@ -22,10 +22,8 @@ DEPENDS+=    p5-Text-WrapI18N-[0-9]*:../../
 DEPENDS+=      p5-PerlIO-utf8_strict-[0-9]*:../../devel/p5-PerlIO-utf8_strict
 DEPENDS+=      p5-Unicode-LineBreak-[0-9]*:../../textproc/p5-Unicode-LineBreak
 DEPENDS+=      p5-YAML-Tiny-[0-9]*:../../textproc/p5-YAML-Tiny
-# kpsewhich
-DEPENDS+=      kpathsea-[0-9]*:../../print/kpathsea
-# article.cls
-DEPENDS+=      tex-latex-[0-9]*:../../print/tex-latex
+
+.include "options.mk"
 
 USE_TOOLS+=            pkg-config perl:run msgmerge:run msgfmt:run
 

Added files:

Index: pkgsrc/textproc/po4a/options.mk
diff -u /dev/null pkgsrc/textproc/po4a/options.mk:1.1
--- /dev/null   Sat Apr 29 14:31:29 2023
+++ pkgsrc/textproc/po4a/options.mk     Sat Apr 29 14:31:29 2023
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1 2023/04/29 14:31:29 schmonz Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.po4a
+PKG_SUPPORTED_OPTIONS+=                latex
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlatex)
+# kpsewhich
+DEPENDS+=      kpathsea-[0-9]*:../../print/kpathsea
+# article.cls
+DEPENDS+=      tex-latex-[0-9]*:../../print/tex-latex
+.endif



Home | Main Index | Thread Index | Old Index