aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-11-10 10:49:33 +0800
committerlawrance <lawrance@FreeBSD.org>2005-11-10 10:49:33 +0800
commitf370101fe801d52d0f87e7d8a8c6a4cf58efb865 (patch)
tree79be186dc04eb353f2aef9012632e0bdd037d453 /textproc
parentaaa443a9de601ed19cdc33036af61f451a7012d7 (diff)
downloadfreebsd-ports-gnome-f370101fe801d52d0f87e7d8a8c6a4cf58efb865.tar.gz
freebsd-ports-gnome-f370101fe801d52d0f87e7d8a8c6a4cf58efb865.tar.zst
freebsd-ports-gnome-f370101fe801d52d0f87e7d8a8c6a4cf58efb865.zip
Add p5-SGMLSpm 1.03, perl module for postprocessing the output from
sgmls and nsgmls. PR: ports/66246 Submitted by: Brian Candler <B.Candler@pobox.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-SGMLSpm/Makefile31
-rw-r--r--textproc/p5-SGMLSpm/distinfo3
-rw-r--r--textproc/p5-SGMLSpm/files/patch-Makefile11
-rw-r--r--textproc/p5-SGMLSpm/pkg-descr4
-rw-r--r--textproc/p5-SGMLSpm/pkg-plist7
6 files changed, 57 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c03e055e8c0c..5431ebe1f582 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -368,6 +368,7 @@
SUBDIR += p5-Regexp-Common
SUBDIR += p5-Regexp-Log
SUBDIR += p5-Regexp-Log-Common
+ SUBDIR += p5-SGMLSpm
SUBDIR += p5-SVG
SUBDIR += p5-Search-Saryer
SUBDIR += p5-Search-VectorSpace
diff --git a/textproc/p5-SGMLSpm/Makefile b/textproc/p5-SGMLSpm/Makefile
new file mode 100644
index 000000000000..0e0059be3b55
--- /dev/null
+++ b/textproc/p5-SGMLSpm/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: SGMLSpm
+# Date created: 4 May 2004
+# Whom: Brian Candler <B.Candler@pobox.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= SGMLSpm
+PORTVERSION= 1.03
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= SGMLS
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION}ii
+
+MAINTAINER= B.Candler@pobox.com
+COMMENT= Perl module for postprocessing the output from sgmls and nsgmls
+
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+pre-install:
+ ${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
+
+INSTALL_TARGET= install PERL5DIR=${SITE_PERL} SPECDIR=${EXAMPLESDIR}
+.ifndef(NOPORTDOCS)
+PORTDOCS= *
+INSTALL_TARGET+=docs install_html HTMLDIR=${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-SGMLSpm/distinfo b/textproc/p5-SGMLSpm/distinfo
new file mode 100644
index 000000000000..dfcfbb049f49
--- /dev/null
+++ b/textproc/p5-SGMLSpm/distinfo
@@ -0,0 +1,3 @@
+MD5 (SGMLSpm-1.03ii.tar.gz) = 5bcb197fd42e67d51c739b1414d514a7
+SHA256 (SGMLSpm-1.03ii.tar.gz) = f06895c0206dada9f9e7f07ecaeb6a3651fd648f4820f49c1f76bfeaec2f2913
+SIZE (SGMLSpm-1.03ii.tar.gz) = 93250
diff --git a/textproc/p5-SGMLSpm/files/patch-Makefile b/textproc/p5-SGMLSpm/files/patch-Makefile
new file mode 100644
index 000000000000..b99cb2a033a4
--- /dev/null
+++ b/textproc/p5-SGMLSpm/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig Tue May 4 10:39:40 2004
++++ Makefile Tue May 4 10:39:57 2004
+@@ -36,7 +36,7 @@
+ # End of user options.
+ #
+
+-HTML_SOURCES = DOC/HTML/SGMLSpm/ DOC/HTML/sgmlspl/
++HTML_SOURCES = DOC/HTML/SGMLSpm DOC/HTML/sgmlspl
+
+ FILES = ${BINDIR}/sgmlspl \
+ ${PERL5DIR}/SGMLS.pm \
diff --git a/textproc/p5-SGMLSpm/pkg-descr b/textproc/p5-SGMLSpm/pkg-descr
new file mode 100644
index 000000000000..a98730516c18
--- /dev/null
+++ b/textproc/p5-SGMLSpm/pkg-descr
@@ -0,0 +1,4 @@
+This distribution contains SGMLS.pm, a perl5 class library for parsing
+the output from James Clark's SGMLS and NSGMLS parsers.
+
+WWW: http://search.cpan.org/search?dist=SGMLSpm
diff --git a/textproc/p5-SGMLSpm/pkg-plist b/textproc/p5-SGMLSpm/pkg-plist
new file mode 100644
index 000000000000..c7a25a213279
--- /dev/null
+++ b/textproc/p5-SGMLSpm/pkg-plist
@@ -0,0 +1,7 @@
+bin/sgmlspl
+%%SITE_PERL%%/SGMLS.pm
+%%SITE_PERL%%/SGMLS/Output.pm
+%%SITE_PERL%%/SGMLS/Refs.pm
+%%EXAMPLESDIR%%/SGMLSpm/skel.pl
+@dirrm %%SITE_PERL%%/SGMLS
+@dirrm %%EXAMPLESDIR%%/SGMLSpm