summaryrefslogtreecommitdiff
path: root/textproc/p5-SGMLS
diff options
context:
space:
mode:
authorwiz <wiz>2006-01-13 18:15:09 +0000
committerwiz <wiz>2006-01-13 18:15:09 +0000
commitda1009c049c72df96aa69bd115ef915fc36d8bb3 (patch)
tree9ca9d1a3b94ed9277d5126eb01fef8adcaabfec4 /textproc/p5-SGMLS
parent32dce49c7125040f1c392c5d5fe0b35ea546b269 (diff)
downloadpkgsrc-da1009c049c72df96aa69bd115ef915fc36d8bb3.tar.gz
Initial import of p5-SGMLS-1.03.2:
This distribution contains SGMLS.pm, a perl5 class library for parsing the output from James Clark's SGMLS and NSGMLS parsers.
Diffstat (limited to 'textproc/p5-SGMLS')
-rw-r--r--textproc/p5-SGMLS/DESCR2
-rw-r--r--textproc/p5-SGMLS/Makefile20
-rw-r--r--textproc/p5-SGMLS/PLIST45
-rw-r--r--textproc/p5-SGMLS/distinfo6
-rw-r--r--textproc/p5-SGMLS/patches/patch-aa50
5 files changed, 123 insertions, 0 deletions
diff --git a/textproc/p5-SGMLS/DESCR b/textproc/p5-SGMLS/DESCR
new file mode 100644
index 00000000000..813a002b24e
--- /dev/null
+++ b/textproc/p5-SGMLS/DESCR
@@ -0,0 +1,2 @@
+This distribution contains SGMLS.pm, a perl5 class library for parsing
+the output from James Clark's SGMLS and NSGMLS parsers.
diff --git a/textproc/p5-SGMLS/Makefile b/textproc/p5-SGMLS/Makefile
new file mode 100644
index 00000000000..a910aca3cc9
--- /dev/null
+++ b/textproc/p5-SGMLS/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/13 18:15:09 wiz Exp $
+#
+
+DISTNAME= SGMLSpm-1.03ii
+PKGNAME= p5-SGMLS-1.03.2
+CATEGORIES= textproc
+MASTER_SITES= http://search.cpan.org/CPAN/authors/id/D/DM/DMEGG/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~dmegg/SGMLSpm-1.03ii/
+COMMENT= Class for postprocessing the output from the sgmls and nsgmls parsers
+
+INSTALL_TARGET= install install_html
+WRKSRC= ${WRKDIR}/SGMLSpm
+MAKE_ENV+= PERL5_SUB_INSTALLVENDORLIB=${PERL5_SUB_INSTALLVENDORLIB:Q}
+MAKE_ENV+= PERL5=${PERL5:Q}
+PLIST_SUBST+= PERL5_SUB_INSTALLVENDORLIB=${PERL5_SUB_INSTALLVENDORLIB:Q}
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-SGMLS/PLIST b/textproc/p5-SGMLS/PLIST
new file mode 100644
index 00000000000..6af4870613d
--- /dev/null
+++ b/textproc/p5-SGMLS/PLIST
@@ -0,0 +1,45 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/13 18:15:09 wiz Exp $
+bin/sgmlspl
+${PERL5_SUB_INSTALLVENDORLIB}/SGMLS.pm
+${PERL5_SUB_INSTALLVENDORLIB}/SGMLS/Output.pm
+${PERL5_SUB_INSTALLVENDORLIB}/SGMLS/Refs.pm
+${PERL5_SUB_INSTALLVENDORLIB}/skel.pl
+share/doc/p5-SGMLS/SGMLSpm/bugs.html
+share/doc/p5-SGMLS/SGMLSpm/definition.html
+share/doc/p5-SGMLS/SGMLSpm/events.html
+share/doc/p5-SGMLS/SGMLSpm/example.html
+share/doc/p5-SGMLS/SGMLSpm/extend.html
+share/doc/p5-SGMLS/SGMLSpm/perl5.html
+share/doc/p5-SGMLS/SGMLSpm/sample.pl
+share/doc/p5-SGMLS/SGMLSpm/sgml.html
+share/doc/p5-SGMLS/SGMLSpm/sgmls.html
+share/doc/p5-SGMLS/SGMLSpm/sgmlsattribute.html
+share/doc/p5-SGMLS/SGMLSpm/sgmlselement.html
+share/doc/p5-SGMLS/SGMLSpm/sgmlsentity.html
+share/doc/p5-SGMLS/SGMLSpm/sgmlsevent.html
+share/doc/p5-SGMLS/SGMLSpm/sgmlsnotation.html
+share/doc/p5-SGMLS/SGMLSpm/sgmlspm.html
+share/doc/p5-SGMLS/SGMLSpm/sgmlspm.refs
+share/doc/p5-SGMLS/SGMLSpm/terms.html
+share/doc/p5-SGMLS/SGMLSpm/xtrainfo.html
+share/doc/p5-SGMLS/sgmlspl/bugs.html
+share/doc/p5-SGMLS/sgmlspl/definition.html
+share/doc/p5-SGMLS/sgmlspl/dsssl.html
+share/doc/p5-SGMLS/sgmlspl/forward.html
+share/doc/p5-SGMLS/sgmlspl/generic.html
+share/doc/p5-SGMLS/sgmlspl/handlers.html
+share/doc/p5-SGMLS/sgmlspl/installation.html
+share/doc/p5-SGMLS/sgmlspl/output.html
+share/doc/p5-SGMLS/sgmlspl/outputex.html
+share/doc/p5-SGMLS/sgmlspl/popoutput.html
+share/doc/p5-SGMLS/sgmlspl/pushoutput.html
+share/doc/p5-SGMLS/sgmlspl/sgmlspl.html
+share/doc/p5-SGMLS/sgmlspl/sgmlspl.refs
+share/doc/p5-SGMLS/sgmlspl/skel.html
+share/doc/p5-SGMLS/sgmlspl/specific.html
+share/doc/p5-SGMLS/sgmlspl/specs.html
+share/doc/p5-SGMLS/sgmlspl/terms.html
+@dirrm share/doc/p5-SGMLS/sgmlspl
+@dirrm share/doc/p5-SGMLS/SGMLSpm
+@dirrm share/doc/p5-SGMLS
+@dirrm ${PERL5_SUB_INSTALLVENDORLIB}/SGMLS
diff --git a/textproc/p5-SGMLS/distinfo b/textproc/p5-SGMLS/distinfo
new file mode 100644
index 00000000000..53d29da00f6
--- /dev/null
+++ b/textproc/p5-SGMLS/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/01/13 18:15:09 wiz Exp $
+
+SHA1 (SGMLSpm-1.03ii.tar.gz) = 1ff07104fd70a1d1bf05f3523b94413049c1fc95
+RMD160 (SGMLSpm-1.03ii.tar.gz) = 919963150640d4c1a2a52439cd0d985c52c71bb3
+Size (SGMLSpm-1.03ii.tar.gz) = 93250 bytes
+SHA1 (patch-aa) = 9a74041bb810b5172521cf4bab32f601942f2468
diff --git a/textproc/p5-SGMLS/patches/patch-aa b/textproc/p5-SGMLS/patches/patch-aa
new file mode 100644
index 00000000000..7901584e03a
--- /dev/null
+++ b/textproc/p5-SGMLS/patches/patch-aa
@@ -0,0 +1,50 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/01/13 18:15:09 wiz Exp $
+
+--- Makefile.orig 1995-12-05 12:26:11.000000000 +0000
++++ Makefile
+@@ -13,13 +13,13 @@ DIST = SGMLSpm-1.03ii.tar.gz
+ #
+
+ # Where is the binary for perl5 located on your system?
+-PERL = /usr/bin/perl
++PERL = ${PERL5}
+
+ # Where do you want the sgmlspl executable script to be installed?
+-BINDIR = /usr/local/bin
++BINDIR = ${PREFIX}/bin
+
+ # Where do you put local perl5 libaries?
+-PERL5DIR = /usr/local/lib/perl5
++PERL5DIR = ${PREFIX}/${PERL5_SUB_INSTALLVENDORLIB}
+ MODULEDIR = ${PERL5DIR}/SGMLS
+
+ # Where do you want to put sgmlspl specifications?
+@@ -29,7 +29,7 @@ SPECDIR = ${PERL5DIR}
+ # do you intend to put it? 'make html' will create two
+ # subdirectories, ${HTMLDIR}/SGMLSpm and ${HTMLDIR}/sgmlspl, and place
+ # its files there.
+-HTMLDIR = /usr/local/lib/www/docs
++HTMLDIR = ${PREFIX}/share/doc/p5-SGMLS
+
+
+ #
+@@ -44,7 +44,7 @@ FILES = ${BINDIR}/sgmlspl \
+ ${MODULEDIR}/Refs.pm \
+ ${SPECDIR}/skel.pl
+
+-all: install docs
++all: docs
+
+ install: install_system # install_html
+
+@@ -80,6 +80,10 @@ ${SPECDIR}/skel.pl: skel.pl
+
+ install_html: ${HTML_SOURCES}
+ cd DOC; make html
++ if [ ! -d ${HTMLDIR} ]; then\
++ mkdir ${HTMLDIR}; \
++ chmod a+x ${HTMLDIR}; \
++ fi
+ rm -rf ${HTMLDIR}/SGMLSpm ${HTMLDIR}/sgmlspl
+ cp -r ${HTML_SOURCES} ${HTMLDIR}
+ chmod a+x,a+r ${HTMLDIR}/SGMLSpm ${HTMLDIR}/sgmlspl