aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2023-08-24 12:30:30 +0000
committerWen Heping <wen@FreeBSD.org>2023-08-24 12:31:25 +0000
commitb59e5cac9801dd0f455fe3c38d7b6e4f6d786ea8 (patch)
treed4a35a1cb9a51d0f489d3b81f663c9dda8d18e1d /textproc
parente79b6762011b7677c36bf0b4f08cb4e0ba356d65 (diff)
downloadports-b59e5cac9801dd0f455fe3c38d7b6e4f6d786ea8.tar.gz
ports-b59e5cac9801dd0f455fe3c38d7b6e4f6d786ea8.zip
textproc/p5-ODF-lpOD-Helper: Add new port
ODF::lpOD_Helper enables transparent Unicode support, provides higher-level multi-segment text search & replace methods, and works around ODF::lpOD bugs and limitations. Styles may be specified with a high-level notation and the necessary span and style objects are automatically created and fonts registered.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-ODF-lpOD-Helper/Makefile21
-rw-r--r--textproc/p5-ODF-lpOD-Helper/distinfo3
-rw-r--r--textproc/p5-ODF-lpOD-Helper/pkg-descr6
-rw-r--r--textproc/p5-ODF-lpOD-Helper/pkg-plist4
5 files changed, 35 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 41373a453e87..9c308007771a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -668,6 +668,7 @@
SUBDIR += p5-Number-Format-Metric
SUBDIR += p5-Number-Spell
SUBDIR += p5-ODF-lpOD
+ SUBDIR += p5-ODF-lpOD-Helper
SUBDIR += p5-OpenOffice-OODoc
SUBDIR += p5-PDF-API2
SUBDIR += p5-PDF-API2-Simple
diff --git a/textproc/p5-ODF-lpOD-Helper/Makefile b/textproc/p5-ODF-lpOD-Helper/Makefile
new file mode 100644
index 000000000000..e4614cb340d4
--- /dev/null
+++ b/textproc/p5-ODF-lpOD-Helper/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= ODF-lpOD_Helper
+PORTVERSION= 6.000
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Fix and enhance ODF::lpOD
+WWW= https://metacpan.org/release/ODF-lpOD_Helper
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-ODF-lpOD>=0:textproc/p5-ODF-lpOD
+TEST_DEPENDS= p5-Data-Dumper-Interp>=0:devel/p5-Data-Dumper-Interp \
+ p5-Import-Into>=0:devel/p5-Import-Into
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-ODF-lpOD-Helper/distinfo b/textproc/p5-ODF-lpOD-Helper/distinfo
new file mode 100644
index 000000000000..afe3714ca1dd
--- /dev/null
+++ b/textproc/p5-ODF-lpOD-Helper/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1692867164
+SHA256 (ODF-lpOD_Helper-6.000.tar.gz) = 70fdcced95b35774c34b52a7b5019fd1e64855cd49bf5541376cc5896b2f2d6d
+SIZE (ODF-lpOD_Helper-6.000.tar.gz) = 124811
diff --git a/textproc/p5-ODF-lpOD-Helper/pkg-descr b/textproc/p5-ODF-lpOD-Helper/pkg-descr
new file mode 100644
index 000000000000..72f836a61527
--- /dev/null
+++ b/textproc/p5-ODF-lpOD-Helper/pkg-descr
@@ -0,0 +1,6 @@
+ODF::lpOD_Helper enables transparent Unicode support, provides
+higher-level multi-segment text search & replace methods, and
+works around ODF::lpOD bugs and limitations.
+
+Styles may be specified with a high-level notation and the necessary
+span and style objects are automatically created and fonts registered.
diff --git a/textproc/p5-ODF-lpOD-Helper/pkg-plist b/textproc/p5-ODF-lpOD-Helper/pkg-plist
new file mode 100644
index 000000000000..c30306601e4f
--- /dev/null
+++ b/textproc/p5-ODF-lpOD-Helper/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/ODF/lpOD_Helper.pm
+%%SITE_PERL%%/ODF/lpOD_Helper/Unicode.pod
+%%PERL5_MAN3%%/ODF::lpOD_Helper.3.gz
+%%PERL5_MAN3%%/ODF::lpOD_Helper::Unicode.3.gz