aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-SGMLSpm
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-11-10 02:49:33 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-11-10 02:49:33 +0000
commitae45b6d23784c5439ff666355f6c6327aa110922 (patch)
treeeb6e499a44ea69b340fb0f53151308670713057f /textproc/p5-SGMLSpm
parent93b6037bf72f4eb3e21aae6c27390086cd358b94 (diff)
downloadports-ae45b6d23784c5439ff666355f6c6327aa110922.tar.gz
ports-ae45b6d23784c5439ff666355f6c6327aa110922.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>
Notes
Notes: svn path=/head/; revision=147776
Diffstat (limited to 'textproc/p5-SGMLSpm')
-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
5 files changed, 56 insertions, 0 deletions
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