diff options
author | thierry <thierry@FreeBSD.org> | 2006-12-18 06:19:04 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2006-12-18 06:19:04 +0800 |
commit | e20ff1a4be41b2a3f558187e03dc9c87e7aafee4 (patch) | |
tree | bdaf0b35b1ea8ec87ed81aa1e16130e99913bae3 /textproc/sowing | |
parent | ff4432700bf5a97c398475b4e10dad7c9ed3b8ab (diff) | |
download | freebsd-ports-gnome-e20ff1a4be41b2a3f558187e03dc9c87e7aafee4.tar.gz freebsd-ports-gnome-e20ff1a4be41b2a3f558187e03dc9c87e7aafee4.tar.zst freebsd-ports-gnome-e20ff1a4be41b2a3f558187e03dc9c87e7aafee4.zip |
Finally import sowing, which is used by mpich2-1.0.5 to build its docs.
Diffstat (limited to 'textproc/sowing')
-rw-r--r-- | textproc/sowing/Makefile | 38 | ||||
-rw-r--r-- | textproc/sowing/distinfo | 3 | ||||
-rw-r--r-- | textproc/sowing/files/patch-Makefile.in | 35 | ||||
-rw-r--r-- | textproc/sowing/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/sowing/pkg-plist | 32 |
5 files changed, 112 insertions, 0 deletions
diff --git a/textproc/sowing/Makefile b/textproc/sowing/Makefile new file mode 100644 index 000000000000..d480809a95bb --- /dev/null +++ b/textproc/sowing/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: sowing +# Date created: 27 September 2004 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD$ +# + +PORTNAME= sowing +PORTVERSION= 1.1.11 +CATEGORIES= textproc +MASTER_SITES= ftp://info.mcs.anl.gov/pub/sowing/ + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Text processing tools to generate documentation from source files + +BUILD_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm \ + latex:${PORTSDIR}/print/teTeX-base +RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm \ + dvips:${PORTSDIR}/print/dvipsk-tetex + +USE_PERL5= yes +USE_GHOSTSCRIPT=yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" +CONFIGURE_ARGS= --datadir=${DATADIR} +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +ALL_TARGET= all-redirect + +MAN1= bfort.1 doctext.1 tohtml.1 + +.if defined(MAINTAINER_MODE) +regression-test: install + @(cd ${BUILD_WRKSRC}; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} testing) +.endif + +.include <bsd.port.mk> diff --git a/textproc/sowing/distinfo b/textproc/sowing/distinfo new file mode 100644 index 000000000000..ff343df4ac63 --- /dev/null +++ b/textproc/sowing/distinfo @@ -0,0 +1,3 @@ +MD5 (sowing-1.1.11.tar.gz) = 70671db1c55c4722a3fbaba2e3570ba1 +SHA256 (sowing-1.1.11.tar.gz) = 4ac108d7c877a2757b3bf2294dd8047a872f36ac7b7efda0b2d0b212954eb770 +SIZE (sowing-1.1.11.tar.gz) = 629621 diff --git a/textproc/sowing/files/patch-Makefile.in b/textproc/sowing/files/patch-Makefile.in new file mode 100644 index 000000000000..f86f1df1234a --- /dev/null +++ b/textproc/sowing/files/patch-Makefile.in @@ -0,0 +1,35 @@ +--- ./Makefile.in.orig Mon Feb 27 17:45:34 2006 ++++ ./Makefile.in Sat Dec 16 23:59:53 2006 +@@ -7,6 +7,7 @@ + man1dir = @mandir@/man1 + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ ++INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_DATA = @INSTALL_DATA@ + SHELL = @SHELL@ + +@@ -62,13 +63,13 @@ + @MKDIR@ $(man1dir) ; fi + @if [ ! -d $(man1dir) ] ; then \ + echo "Please create $(man1dir)" ; exit 1 ; fi +- $(INSTALL_PROGRAM) bin/bib2html $(bindir)/bib2html ++ $(INSTALL_SCRIPT) bin/bib2html $(bindir)/bib2html + $(INSTALL_PROGRAM) src/doctext/doctext $(bindir)/doctext + $(INSTALL_PROGRAM) src/doctext/doc2lt $(bindir)/doc2lt + $(INSTALL_PROGRAM) src/tohtml/tohtml $(bindir)/tohtml + if [ "`cd bin && pwd`" != "`cd $(bindir) && pwd`" ] ; then \ +- $(INSTALL_PROGRAM) bin/pstoxbm $(bindir)/pstoxbm ; \ +- $(INSTALL_PROGRAM) bin/pstogif $(bindir)/pstogif ; \ ++ $(INSTALL_SCRIPT) bin/pstoxbm $(bindir)/pstoxbm ; \ ++ $(INSTALL_SCRIPT) bin/pstogif $(bindir)/pstogif ; \ + fi + $(INSTALL_PROGRAM) src/bfort/bfort $(bindir)/bfort + $(INSTALL_PROGRAM) src/mapnames/mapnames $(bindir)/mapnames +@@ -90,6 +91,7 @@ + $(INSTALL_DATA) share/refman.sty $(datadir)/refman.sty ;\ + $(INSTALL_DATA) share/doctext/html.def $(datadir)/doctext/html.def ;\ + $(INSTALL_DATA) share/doctext/htmltabl.def $(datadir)/doctext/htmltabl.def ;\ ++ $(INSTALL_DATA) share/doctext/htmlcolor.def $(datadir)/doctext/htmlcolor.def ;\ + $(INSTALL_DATA) share/doctext/htmlargtbl.def \ + $(datadir)/doctext/htmlargtbl.def ;\ + $(INSTALL_DATA) share/doctext/latex.def $(datadir)/doctext/latex.def ;\ diff --git a/textproc/sowing/pkg-descr b/textproc/sowing/pkg-descr new file mode 100644 index 000000000000..933377151af0 --- /dev/null +++ b/textproc/sowing/pkg-descr @@ -0,0 +1,4 @@ +Text processing tools developed by Bill Gropp. +It is required to build the PETSc & MPICH documentation. + +WWW: http://www-unix.mcs.anl.gov/petsc/petsc-2/developers/ diff --git a/textproc/sowing/pkg-plist b/textproc/sowing/pkg-plist new file mode 100644 index 000000000000..da724d41bb4f --- /dev/null +++ b/textproc/sowing/pkg-plist @@ -0,0 +1,32 @@ +bin/bfort +bin/bib2html +bin/doc2lt +bin/doctext +bin/mapnames +bin/pstogif +bin/pstoxbm +bin/tohtml +%%DATADIR%%/basedefs.txt +%%DATADIR%%/blueball.gif +%%DATADIR%%/doctext/html.def +%%DATADIR%%/doctext/htmlargtbl.def +%%DATADIR%%/doctext/htmltabl.def +%%DATADIR%%/doctext/htmlcolor.def +%%DATADIR%%/doctext/latex.def +%%DATADIR%%/doctext/latexargtbl.def +%%DATADIR%%/doctext/nroff.def +%%DATADIR%%/greenball.gif +%%DATADIR%%/html.def +%%DATADIR%%/latex.def +%%DATADIR%%/next.xbm +%%DATADIR%%/nroff.def +%%DATADIR%%/previous.xbm +%%DATADIR%%/pstoppm.ps +%%DATADIR%%/purpleball.gif +%%DATADIR%%/redball.gif +%%DATADIR%%/refman.def +%%DATADIR%%/refman.sty +%%DATADIR%%/up.xbm +%%DATADIR%%/yellowball.gif +@dirrm %%DATADIR%%/doctext +@dirrm %%DATADIR%% |