[Midnightbsd-cvs] mports [25016] trunk/textproc: add sgmls, linuxdoc-tools

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Feb 13 20:52:41 EST 2019


Revision: 25016
          http://svnweb.midnightbsd.org/mports/?rev=25016
Author:   laffer1
Date:     2019-02-13 20:52:40 -0500 (Wed, 13 Feb 2019)
Log Message:
-----------
add sgmls, linuxdoc-tools

Modified Paths:
--------------
    trunk/textproc/Makefile

Added Paths:
-----------
    trunk/textproc/linuxdoc-tools/
    trunk/textproc/linuxdoc-tools/Makefile
    trunk/textproc/linuxdoc-tools/distinfo
    trunk/textproc/linuxdoc-tools/files/
    trunk/textproc/linuxdoc-tools/files/patch-Makefile.in
    trunk/textproc/linuxdoc-tools/files/patch-doc_Makedoc.sh
    trunk/textproc/linuxdoc-tools/files/patch-lib_fmt_fmt__latex2e.pl
    trunk/textproc/linuxdoc-tools/pkg-descr
    trunk/textproc/linuxdoc-tools/pkg-plist
    trunk/textproc/sgmls/
    trunk/textproc/sgmls/Makefile
    trunk/textproc/sgmls/distinfo
    trunk/textproc/sgmls/files/
    trunk/textproc/sgmls/files/patch-Makefile
    trunk/textproc/sgmls/files/patch-configure
    trunk/textproc/sgmls/pkg-descr
    trunk/textproc/sgmls/pkg-plist

Modified: trunk/textproc/Makefile
===================================================================
--- trunk/textproc/Makefile	2019-02-14 01:50:11 UTC (rev 25015)
+++ trunk/textproc/Makefile	2019-02-14 01:52:40 UTC (rev 25016)
@@ -76,6 +76,7 @@
 SUBDIR += linux-c7-expat
 SUBDIR += linux-c7-libxml2
 SUBDIR += linuxdoc
+SUBDIR += linuxdoc-tools
 SUBDIR += localize
 SUBDIR += lucene
 SUBDIR += makepatch
@@ -194,6 +195,7 @@
 SUBDIR += scrollkeeper
 SUBDIR += sdocbook-xml
 SUBDIR += sgmlformat
+SUBDIR += sgmls
 SUBDIR += soprano
 SUBDIR += sphinxsearch
 SUBDIR += teckit

Added: trunk/textproc/linuxdoc-tools/Makefile
===================================================================
--- trunk/textproc/linuxdoc-tools/Makefile	                        (rev 0)
+++ trunk/textproc/linuxdoc-tools/Makefile	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,39 @@
+# $MidnightBSD$
+
+PORTNAME=	linuxdoc-tools
+PORTVERSION=	0.9.71
+CATEGORIES=	textproc
+MASTER_SITES=	DEBIAN
+DISTNAME=	${PORTNAME}_${DISTVERSION}.orig
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Fork of SGML-tools specially tailored for linuxdoc SGMLs
+
+LICENSE=	gpl3 LinuxdocTools
+LICENSE_COMB=	multi
+LICENSE_NAME_LinuxdocTools=	The linuxdoc-tools license
+LICENSE_FILE_LinuxdocTools=	${WRKSRC}/COPYING
+LICENSE_PERMS_LinuxdocTools=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+BUILD_DEPENDS=	gawk:lang/gawk \
+		nsgmls:textproc/jade \
+		sgmlsasp:textproc/sgmls
+RUN_DEPENDS=	gawk:lang/gawk \
+		nsgmls:textproc/jade \
+		sgmlsasp:textproc/sgmls
+
+GNU_CONFIGURE=	yes
+USES=		gmake groff:both perl5
+CONFIGURE_ARGS=	--with-installed-sgmlsasp
+
+PORTDOCS=	*
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+OPTIONS_DEFINE=	DOCS
+
+DOCS_BUILD_DEPENDS=	bash:shells/bash
+DOCS_USE=		tex=latex:build tex=pdftex:build tex=dvipsk:build
+DOCS_USES=		makeinfo
+DOCS_CONFIGURE_ENABLE=	docs
+
+.include <bsd.port.mk>


Property changes on: trunk/textproc/linuxdoc-tools/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/linuxdoc-tools/distinfo
===================================================================
--- trunk/textproc/linuxdoc-tools/distinfo	                        (rev 0)
+++ trunk/textproc/linuxdoc-tools/distinfo	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,2 @@
+SHA256 (linuxdoc-tools_0.9.71.orig.tar.gz) = 641e4f02ccbe3ee7fad9e866d334f8880a3f621e70c7412a7bd504a777a992ed
+SIZE (linuxdoc-tools_0.9.71.orig.tar.gz) = 613067


Property changes on: trunk/textproc/linuxdoc-tools/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/linuxdoc-tools/files/patch-Makefile.in
===================================================================
--- trunk/textproc/linuxdoc-tools/files/patch-Makefile.in	                        (rev 0)
+++ trunk/textproc/linuxdoc-tools/files/patch-Makefile.in	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,19 @@
+--- Makefile.in.orig	2016-04-20 23:33:09 UTC
++++ Makefile.in
+@@ -83,6 +83,7 @@ ifneq ($(BUILDDOC_FORMATS),)
+ #    -- Build documentation
+ 	@echo "Building documentation ..."
+ 	(cd doc; \
++		MAKE=$(MAKE) \
+ 		PREFIX=$(prefix) \
+ 		BUILD_ISO_ENTITIES=$(BUILD_ISO_ENTITIES) \
+ 		BUILD_ENTITY_MAP=$(BUILD_ENTITY_MAP) \
+@@ -121,7 +122,7 @@ ifeq ($(BUILD_ISO_ENTITIES), true)
+ endif
+ 
+ #    -- Install linuxdoc script
+-	$(INSTALL_PROGRAM) bin/linuxdoc $(bin_ddir)/linuxdoc
++	$(INSTALL) -m755 bin/linuxdoc $(bin_ddir)/linuxdoc
+ 
+ #    -- Install auxiliary programs
+ 	mkdir -p $(auxbin_ddir)


Property changes on: trunk/textproc/linuxdoc-tools/files/patch-Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/linuxdoc-tools/files/patch-doc_Makedoc.sh
===================================================================
--- trunk/textproc/linuxdoc-tools/files/patch-doc_Makedoc.sh	                        (rev 0)
+++ trunk/textproc/linuxdoc-tools/files/patch-doc_Makedoc.sh	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,27 @@
+--- doc/Makedoc.sh.orig	2015-10-20 11:22:17 UTC
++++ doc/Makedoc.sh
+@@ -33,10 +33,10 @@ if [ "${BUILD_ENTITY_MAP}" = "true" ]; t
+     # Create a modified EntityMap.pm with entity-map location in doc
+     # build temporary dir. Need to properly install entity-map there.
+     mkdir $TMPDIR/Text
+-    make -C ../entity-map install DESTDIR="$TMPDIR"
++    ${MAKE} -C ../entity-map install DESTDIR="$TMPDIR"
+     sed < ../entity-map/EntityMap.pm.in > $TMPDIR/Text/EntityMap.pm \
+-	-e 's|\@localentitymapdir\@|'${TMPDIR}'/usr/share/entity-map|g' \
+-	-e 's|\@entitymapdir\@|'${TMPDIR}'/usr/share/entity-map/0.1.0|g'
++	-e 's|\@localentitymapdir\@|'${TMPDIR}${PREFIX}'/share/entity-map|g' \
++	-e 's|\@entitymapdir\@|'${TMPDIR}${PREFIX}'/share/entity-map/0.1.0|g'
+ 
+     # Set ${TMPDIR} first in perl load path (Will put Text dir there
+     # for modified EntityMap.pm), then our perl5lib
+@@ -49,8 +49,8 @@ fi
+ if [ "${BUILD_ISO_ENTITIES}" = "true" ]; then
+     # --without-installed-iso-entities: Install iso-entities in
+     # "$TMPDIR/usr" and set it as iso-entities prefix.
+-    make -C ../iso-entities install DESTDIR="$TMPDIR"
+-    ISOENTITIES_PREFIX="${TMPDIR}/usr"
++    ${MAKE} -C ../iso-entities install DESTDIR="$TMPDIR"
++    ISOENTITIES_PREFIX="${TMPDIR}${PREFIX}"
+ else
+     # --with-installed-iso-entities: Use system prefix.
+     ISOENTITIES_PREFIX="${PREFIX}"


Property changes on: trunk/textproc/linuxdoc-tools/files/patch-doc_Makedoc.sh
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/linuxdoc-tools/files/patch-lib_fmt_fmt__latex2e.pl
===================================================================
--- trunk/textproc/linuxdoc-tools/files/patch-lib_fmt_fmt__latex2e.pl	                        (rev 0)
+++ trunk/textproc/linuxdoc-tools/files/patch-lib_fmt_fmt__latex2e.pl	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,34 @@
+--- lib/fmt/fmt_latex2e.pl.orig	2018-03-28 15:14:45 UTC
++++ lib/fmt/fmt_latex2e.pl
+@@ -284,13 +284,13 @@ $latex2e->{postASP} = sub
+       push @texlines, $_;
+       # and check for nameurl
+       if ( /\\nameurl/ ){
+-	($urlid, $urlnam) = ($_ =~ /\\nameurl{(.*)}{(.*)}/);
++	($urlid, $urlnam) = ($_ =~ /\\nameurl\{(.*)\}\{(.*)\}/);
+ 	print $urlnum . ": " . $urlid . "\n" if ( $global->{debug} );
+ 
+ 	$urldef = latex2e_defnam($urlnum) . "url";
+-	s/\\nameurl{.*}{.*}/{\\em $urlnam} {\\tt \\$urldef}/;
++	s/\\nameurl\{.*\}\{.*\}/{\\em $urlnam} {\\tt \\$urldef}/;
+ 	push @urlnames, $_;
+-	push @urldefines, "\\urldef{\\$urldef} \\url{$urlid}\n";
++	push @urldefines, "\\urldef\{\\$urldef\} \\url\{$urlid\}\n";
+ 	$urlnum++;
+       }
+     }
+@@ -367,12 +367,12 @@ $latex2e->{postASP} = sub
+ 	    $_ = $_ . "\\makeindex\n" if ($latex2e->{makeindex});
+ 	  }
+ 	  # Set correct DTD name
+-	  elsif (/^\\usepackage{\@LINUXDOC_DTD\@-sgml}/) {
++	  elsif (/^\\usepackage\{\@LINUXDOC_DTD\@-sgml\}/) {
+ 	    my $dtd = $global->{"dtd"};
+ 	    s/\@LINUXDOC_DTD\@/$dtd/;
+ 	  }
+ 	  # Set correct babel options
+-	  elsif (/^\\usepackage\[\@BABELOPTIONS\@\]{babel}/) {
++	  elsif (/^\\usepackage\[\@BABELOPTIONS\@\]\{babel\}/) {
+ 	    if ( $babeloptions ) {
+ 	      s/\@BABELOPTIONS\@/$babeloptions/;
+ 	    } else {


Property changes on: trunk/textproc/linuxdoc-tools/files/patch-lib_fmt_fmt__latex2e.pl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/linuxdoc-tools/pkg-descr
===================================================================
--- trunk/textproc/linuxdoc-tools/pkg-descr	                        (rev 0)
+++ trunk/textproc/linuxdoc-tools/pkg-descr	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,5 @@
+Linuxdoc-Tools is a fork of SGML-Tools 1.0.9, capable of processing
+LinuxDoc DTD SGML files. Such files are sometimes used as an input
+format for generated documentation.
+
+WWW: https://tracker.debian.org/pkg/linuxdoc-tools


Property changes on: trunk/textproc/linuxdoc-tools/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/linuxdoc-tools/pkg-plist
===================================================================
--- trunk/textproc/linuxdoc-tools/pkg-plist	                        (rev 0)
+++ trunk/textproc/linuxdoc-tools/pkg-plist	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,166 @@
+bin/linuxdoc
+bin/rtf2rtf
+bin/sgml2html
+bin/sgml2info
+bin/sgml2latex
+bin/sgml2lyx
+bin/sgml2rtf
+bin/sgml2txt
+bin/sgmlcheck
+bin/sgmlpre
+man/man1/linuxdoc.1.gz
+man/man1/rtf2rtf.1.gz
+man/man1/sgml2html.1.gz
+man/man1/sgml2info.1.gz
+man/man1/sgml2latex.1.gz
+man/man1/sgml2lyx.1.gz
+man/man1/sgml2rtf.1.gz
+man/man1/sgml2txt.1.gz
+man/man1/sgmlcheck.1.gz
+man/man1/sgmlpre.1.gz
+share/entity-map/0.1.0/GFextra.2ab
+share/entity-map/0.1.0/GFextra.2as
+share/entity-map/0.1.0/GFextra.2l1b
+share/entity-map/0.1.0/GFextra.2l1s
+share/entity-map/0.1.0/GFextra.2rtf
+share/entity-map/0.1.0/GFextra.2tex
+share/entity-map/0.1.0/GFextra.2texi
+share/entity-map/0.1.0/ISOdia
+share/entity-map/0.1.0/ISOdia.2ab
+share/entity-map/0.1.0/ISOdia.2as
+share/entity-map/0.1.0/ISOdia.2html
+share/entity-map/0.1.0/ISOdia.2l1b
+share/entity-map/0.1.0/ISOdia.2l1s
+share/entity-map/0.1.0/ISOdia.2l1tr
+share/entity-map/0.1.0/ISOdia.2rtf
+share/entity-map/0.1.0/ISOdia.2tex
+share/entity-map/0.1.0/ISOdia.2texi
+share/entity-map/0.1.0/ISOdia.2tr
+share/entity-map/0.1.0/ISOlat1
+share/entity-map/0.1.0/ISOlat1.2ab
+share/entity-map/0.1.0/ISOlat1.2as
+share/entity-map/0.1.0/ISOlat1.2html
+share/entity-map/0.1.0/ISOlat1.2l1b
+share/entity-map/0.1.0/ISOlat1.2l1s
+share/entity-map/0.1.0/ISOlat1.2l1tr
+share/entity-map/0.1.0/ISOlat1.2rtf
+share/entity-map/0.1.0/ISOlat1.2tex
+share/entity-map/0.1.0/ISOlat1.2texi
+share/entity-map/0.1.0/ISOlat1.2tr
+share/entity-map/0.1.0/ISOlat2
+share/entity-map/0.1.0/ISOlat2.2ab
+share/entity-map/0.1.0/ISOlat2.2as
+share/entity-map/0.1.0/ISOlat2.2l1b
+share/entity-map/0.1.0/ISOlat2.2l1s
+share/entity-map/0.1.0/ISOlat2.2rtf
+share/entity-map/0.1.0/ISOlat2.2tex
+share/entity-map/0.1.0/ISOlat2.2texi
+share/entity-map/0.1.0/ISOnum
+share/entity-map/0.1.0/ISOnum.2ab
+share/entity-map/0.1.0/ISOnum.2as
+share/entity-map/0.1.0/ISOnum.2html
+share/entity-map/0.1.0/ISOnum.2l1b
+share/entity-map/0.1.0/ISOnum.2l1s
+share/entity-map/0.1.0/ISOnum.2l1tr
+share/entity-map/0.1.0/ISOnum.2rtf
+share/entity-map/0.1.0/ISOnum.2tex
+share/entity-map/0.1.0/ISOnum.2texi
+share/entity-map/0.1.0/ISOnum.2tr
+share/entity-map/0.1.0/ISOpub
+share/entity-map/0.1.0/ISOpub.2ab
+share/entity-map/0.1.0/ISOpub.2as
+share/entity-map/0.1.0/ISOpub.2html
+share/entity-map/0.1.0/ISOpub.2l1b
+share/entity-map/0.1.0/ISOpub.2l1s
+share/entity-map/0.1.0/ISOpub.2l1tr
+share/entity-map/0.1.0/ISOpub.2rtf
+share/entity-map/0.1.0/ISOpub.2tex
+share/entity-map/0.1.0/ISOpub.2texi
+share/entity-map/0.1.0/ISOpub.2tr
+share/entity-map/0.1.0/ISOtech
+share/entity-map/0.1.0/ISOtech.2ab
+share/entity-map/0.1.0/ISOtech.2as
+share/entity-map/0.1.0/ISOtech.2html
+share/entity-map/0.1.0/ISOtech.2l1b
+share/entity-map/0.1.0/ISOtech.2l1s
+share/entity-map/0.1.0/ISOtech.2l1tr
+share/entity-map/0.1.0/ISOtech.2rtf
+share/entity-map/0.1.0/ISOtech.2tex
+share/entity-map/0.1.0/ISOtech.2texi
+share/entity-map/0.1.0/ISOtech.2tr
+share/entity-map/0.1.0/LDextra.2html
+share/entity-map/0.1.0/LDextra.2l1tr
+share/entity-map/0.1.0/LDextra.2tex
+share/entity-map/0.1.0/LDextra.2tr
+share/entity-map/0.1.0/greek.2html
+share/entity-map/0.1.0/lat1.2sdata
+%%DATADIR%%/LinuxDocTools.pm
+%%DATADIR%%/LinuxDocTools/BackEnd.pm
+%%DATADIR%%/LinuxDocTools/CharEnts.pm
+%%DATADIR%%/LinuxDocTools/FixRef.pm
+%%DATADIR%%/LinuxDocTools/Html2Html.pm
+%%DATADIR%%/LinuxDocTools/InfoUtils.pm
+%%DATADIR%%/LinuxDocTools/Lang.pm
+%%DATADIR%%/LinuxDocTools/Utils.pm
+%%DATADIR%%/LinuxDocTools/Vars.pm
+%%DATADIR%%/Text/EntityMap.pm
+%%DATADIR%%/VERSION
+%%DATADIR%%/dtd/common
+%%DATADIR%%/dtd/deprec96
+%%DATADIR%%/dtd/html32.dtd
+%%DATADIR%%/dtd/isoent
+%%DATADIR%%/dtd/linuxdoc.dtd
+%%DATADIR%%/dtd/linuxdoc96.dtd
+%%DATADIR%%/dtd/linuxdoc97.dtd
+%%DATADIR%%/dtd/linuxdoctr.dtd
+%%DATADIR%%/dtd/linuxdoctr96.dtd
+%%DATADIR%%/dtd/qwertz.dtd
+%%DATADIR%%/filters/lyx-preNSGMLS.pl
+%%DATADIR%%/fmt/fmt_html.pl
+%%DATADIR%%/fmt/fmt_info.pl
+%%DATADIR%%/fmt/fmt_latex2e.pl
+%%DATADIR%%/fmt/fmt_lyx.pl
+%%DATADIR%%/fmt/fmt_rtf.pl
+%%DATADIR%%/fmt/fmt_txt.pl
+%%DATADIR%%/icons/next.gif
+%%DATADIR%%/icons/prev.gif
+%%DATADIR%%/icons/toc.gif
+%%DATADIR%%/linuxdoc-sgml.sty
+%%DATADIR%%/linuxdoc-tools.catalog
+%%DATADIR%%/linuxdoctr-sgml.sty
+%%DATADIR%%/mappings/groff/mapping
+%%DATADIR%%/mappings/groff/math.README
+%%DATADIR%%/mappings/groff/tr-mapping
+%%DATADIR%%/mappings/html/mapping
+%%DATADIR%%/mappings/info/mapping
+%%DATADIR%%/mappings/latex2e/mapping
+%%DATADIR%%/mappings/latin1/README
+%%DATADIR%%/mappings/latin1/mapping
+%%DATADIR%%/mappings/lyx/mapping
+%%DATADIR%%/mappings/man/mapping
+%%DATADIR%%/mappings/nippon/README
+%%DATADIR%%/mappings/nippon/mapping
+%%DATADIR%%/mappings/rtf/mapping
+%%DATADIR%%/null.sty
+%%DATADIR%%/qwertz.sty
+%%DATADIR%%/sgml.dcl
+share/sgml/iso-entities-8879.1986/ISOamsa
+share/sgml/iso-entities-8879.1986/ISOamsb
+share/sgml/iso-entities-8879.1986/ISOamsc
+share/sgml/iso-entities-8879.1986/ISOamsn
+share/sgml/iso-entities-8879.1986/ISOamso
+share/sgml/iso-entities-8879.1986/ISOamsr
+share/sgml/iso-entities-8879.1986/ISObox
+share/sgml/iso-entities-8879.1986/ISOcyr1
+share/sgml/iso-entities-8879.1986/ISOcyr2
+share/sgml/iso-entities-8879.1986/ISOdia
+share/sgml/iso-entities-8879.1986/ISOgrk1
+share/sgml/iso-entities-8879.1986/ISOgrk2
+share/sgml/iso-entities-8879.1986/ISOgrk3
+share/sgml/iso-entities-8879.1986/ISOgrk4
+share/sgml/iso-entities-8879.1986/ISOlat1
+share/sgml/iso-entities-8879.1986/ISOlat2
+share/sgml/iso-entities-8879.1986/ISOnum
+share/sgml/iso-entities-8879.1986/ISOpub
+share/sgml/iso-entities-8879.1986/ISOtech
+share/sgml/iso-entities-8879.1986/iso-entities.cat


Property changes on: trunk/textproc/linuxdoc-tools/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/sgmls/Makefile
===================================================================
--- trunk/textproc/sgmls/Makefile	                        (rev 0)
+++ trunk/textproc/sgmls/Makefile	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,38 @@
+# $MidnightBSD$
+
+PORTNAME=	sgmls
+PORTVERSION=	1.1.91
+CATEGORIES=	textproc
+MASTER_SITES=	ftp://ftp.jclark.com/pub/sgmls/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	SGML parser
+
+LICENSE=	other
+
+USES=		tar:Z
+WRKSRC=		${WRKDIR}/${PORTNAME}
+HAS_CONFIGURE=	yes
+INSTALL_TARGET=	install install.man
+TEST_TARGET=	test
+
+PROGS=		sgmls sgmlsasp rast
+PORTDOCS=	ChangeLog LICENSE NEWS README TODO
+
+OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
+
+post-build:
+.for file in ${PROGS}
+	@${STRIP_CMD} ${WRKSRC}/${file}
+.endfor
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>


Property changes on: trunk/textproc/sgmls/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/sgmls/distinfo
===================================================================
--- trunk/textproc/sgmls/distinfo	                        (rev 0)
+++ trunk/textproc/sgmls/distinfo	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,2 @@
+SHA256 (sgmls-1.1.91.tar.Z) = 0f22b33106966cb9854fe1a35d7d154b83bd4049da2fcec864876bf2db8cee9e
+SIZE (sgmls-1.1.91.tar.Z) = 454991


Property changes on: trunk/textproc/sgmls/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/sgmls/files/patch-Makefile
===================================================================
--- trunk/textproc/sgmls/files/patch-Makefile	                        (rev 0)
+++ trunk/textproc/sgmls/files/patch-Makefile	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,38 @@
+--- Makefile.orig	1994-04-25 20:25:12 UTC
++++ Makefile
+@@ -15,7 +15,7 @@ MANDIR=$(PREFIX)/man/man$(MANEXT)
+ # Permissions mode to use for man pages.
+ MANMODE=444
+ 
+-CC=cc
++#CC=cc
+ PROFILE=
+ INCLUDE=
+ OPTIMIZE=-O
+@@ -143,20 +143,18 @@ lextabe.c: genlex
+ 	./genlex >$@
+ 
+ install: $(PROGS)
+-	-test -d $(BINDIR) || mkdir $(BINDIR)
++	-test -d $(DESTDIR)$(BINDIR) || mkdir $(DESTDIR)$(BINDIR)
+ 	for f in $(PROGS); do \
+-	  rm -f $(BINDIR)/$$f; \
+-	  cp $$f $(BINDIR)/$$f; \
+-	  chmod $(BINMODE) $(BINDIR)/$$f; \
++	  cp $$f $(DESTDIR)$(BINDIR)/$$f; \
++	  chmod $(BINMODE) $(DESTDIR)$(BINDIR)/$$f; \
+ 	done
+ 
+ install.man: $(MANPAGES)
+-	-test -d $(MANDIR) || mkdir $(MANDIR)
++	-test -d $(DESTDIR)$(MANDIR) || mkdir $(DESTDIR)$(MANDIR)
+ 	for f in $(MANPAGES); do \
+ 	  t=$(MANDIR)/`basename $$f .man`.$(MANEXT); \
+-	  rm -f $$t; \
+-	  cp $$f $$t; \
+-	  chmod $(MANMODE) $$t; \
++	  cp $$f $(DESTDIR)$$t; \
++	  chmod $(MANMODE) $(DESTDIR)$$t; \
+ 	done
+ 
+ clean:


Property changes on: trunk/textproc/sgmls/files/patch-Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/sgmls/files/patch-configure
===================================================================
--- trunk/textproc/sgmls/files/patch-configure	                        (rev 0)
+++ trunk/textproc/sgmls/files/patch-configure	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,11 @@
+--- configure.orig	1993-02-03 11:07:58 UTC
++++ configure
+@@ -605,7 +605,7 @@ fi
+ edit="$edit -e 's/^typedef .*VOID;/typedef $void_ret VOID;/'"
+ edit="$edit -e 's/^typedef .*UNIV;/typedef ${void_star}UNIV;/'"
+ 
+-if test "X$(PREFIX)" != "X/usr/local"
++if test "X$PREFIX" != "X/usr/local"
+ then
+ 	edit="$edit -e '/DEFAULT_PATH/s;/usr/local;$PREFIX;g'"
+ fi


Property changes on: trunk/textproc/sgmls/files/patch-configure
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/sgmls/pkg-descr
===================================================================
--- trunk/textproc/sgmls/pkg-descr	                        (rev 0)
+++ trunk/textproc/sgmls/pkg-descr	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,4 @@
+An SGML System conforming to International Standard ISO 8879:
+    sgmls    - a validating SGML parser
+    sgmlsasp - translate output of sgmls using ASP replacement files
+    rast     - translate output of sgmls to RAST format


Property changes on: trunk/textproc/sgmls/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/sgmls/pkg-plist
===================================================================
--- trunk/textproc/sgmls/pkg-plist	                        (rev 0)
+++ trunk/textproc/sgmls/pkg-plist	2019-02-14 01:52:40 UTC (rev 25016)
@@ -0,0 +1,6 @@
+bin/rast
+bin/sgmls
+bin/sgmlsasp
+man/man1/rast.1.gz
+man/man1/sgmls.1.gz
+man/man1/sgmlsasp.1.gz


Property changes on: trunk/textproc/sgmls/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list