Package: sgmls-pm
Version: 1.10
Revision: 1
Source: mirror:cpan:authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz
Source-Checksum: SHA256(550c9245291c8df2242f7e88f7921a0f636c7eec92c644418e7d89cfea70b2bd)
Depends: opensp-bin
Suggests: docbook-dtd
Type: perl
PatchScript: <<
	perl -pi -e 's|sgmls-parser "sgmls"|sgmls-parser "onsgmls"|g; s|"sgmlsasp"|"sgmlspl"|g' elisp/sgmls.el

	# fix tarball permissions weirdness
	chmod -R a+rX,u+w .
<<
InstallScript: <<
	%{default_script}

	# runtime prog renamed as of 1.1, symlink old name for compat
	ln -s sgmlspl.pl %i/bin/sgmlspl

	mkdir -p %i/share/emacs/site-lisp
	install -m 644 elisp/sgmls.el %i/share/emacs/site-lisp
<<
UpdatePOD: true
DocFiles: BUGS COPYING ChangeLog README TODO DOC/HTML/SGMLSpm DOC/HTML/sgmlspl
Description: Perl lib for use with the onsgmls parser
DescDetail: <<
A perl5 class library for parsing
the output from James Clark's SGMLS and NSGMLS parsers
<<
DescPackaging: <<
	Didn't check if sgmls.el works correctly; no guarantee that
	the patchscript corrects everything necessary there
	(sgmls-spec?  sgmls-spec-directory? ...).

	Upstream version sequence is 1.01 1.02 1.03 1.1; we call 1.1
	"1.10" in order to sort properly.
<<
License: GPL
Maintainer: None <fink-devel@lists.sourceforge.net>
Homepage: https://metacpan.org/release/RAAB/SGMLSpm-1.1