diff options
author | rafan <rafan@FreeBSD.org> | 2006-08-15 00:14:29 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-08-15 00:14:29 +0800 |
commit | efd40faad555142650e83b0315a63efcfc86aedf (patch) | |
tree | bbace07fccfcbf944eca537db3237e63904513f3 /print | |
parent | f2553116906c63afd99fae0e0aa7545fc090ebf8 (diff) | |
download | freebsd-ports-gnome-efd40faad555142650e83b0315a63efcfc86aedf.tar.gz freebsd-ports-gnome-efd40faad555142650e83b0315a63efcfc86aedf.tar.zst freebsd-ports-gnome-efd40faad555142650e83b0315a63efcfc86aedf.zip |
Add advi 1.6.0, active-DVI viewer.
PR: ports/101957
Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/advi/Makefile | 50 | ||||
-rw-r--r-- | print/advi/distinfo | 3 | ||||
-rw-r--r-- | print/advi/files/patch-grY11.c | 11 | ||||
-rw-r--r-- | print/advi/files/patch-graphicsY11.ml | 11 | ||||
-rw-r--r-- | print/advi/pkg-descr | 5 | ||||
-rw-r--r-- | print/advi/pkg-plist | 20 |
7 files changed, 101 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 2350343a2b02..2f4aa9187436 100644 --- a/print/Makefile +++ b/print/Makefile @@ -13,6 +13,7 @@ SUBDIR += acroread7 SUBDIR += acroreadwrapper SUBDIR += adobe-cmaps + SUBDIR += advi SUBDIR += afm SUBDIR += alignmargins SUBDIR += amspsfnt diff --git a/print/advi/Makefile b/print/advi/Makefile new file mode 100644 index 000000000000..e7c405559df7 --- /dev/null +++ b/print/advi/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: advi +# Date created: 2006-08-13 +# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> +# +# $MBSDlabs$ +# $FreeBSD$ +# + +PORTNAME= advi +PORTVERSION= 1.6.0 +CATEGORIES= print +MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/${PORTNAME}/ +EXTRACT_SUFX= .tgz + +MAINTAINER= ssedov@mbsd.msk.ru +COMMENT= Active-DVI viewer + +BUILD_DEPENDS= ${CI_DEPEND}:${PORTSDIR}/graphics/ocaml-images \ + kpsewhich:${PORTSDIR}/print/teTeX-base +LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \ + png.5:${PORTSDIR}/graphics/png \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + tiff.4:${PORTSDIR}/graphics/tiff +RUN_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX-base + +USE_OCAML= yes +NO_OCAML_RUNDEPENDS=yes +USE_GHOSTSCRIPT=yes +USE_XPM= yes +USE_FREETYPE= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +ALL_TARGET= opt +INSTALL_TARGET= installopt installman + +CI_DEPEND= ${LOCALBASE}/${OCAML_LIBDIR}/camlimages/ci_core.a +MAN1= advi.1 + +post-extract: + @${REINPLACE_CMD} -E \ + -e 's,^(COPTIONS[[:space:]]*=).*,\1-ccopt "${CFLAGS}",' \ + -e 's,^(COPTOPTIONS[[:space:]]*=).*,\1-ccopt "${CFLAGS}",' \ + -e 's,^(X11_INCLUDES[[:space:]]*=).*,\1-I${X11BASE}/include,' \ + -e 's,install -m 644,\$${BSD_INSTALL_DATA},' \ + -e 's,install -m 755,\$${BSD_INSTALL_PROGRAM},' \ + ${WRKSRC}/Makefile + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk" +.include <bsd.port.post.mk> diff --git a/print/advi/distinfo b/print/advi/distinfo new file mode 100644 index 000000000000..c902caaabb55 --- /dev/null +++ b/print/advi/distinfo @@ -0,0 +1,3 @@ +MD5 (advi-1.6.0.tgz) = da0e71cbc99a8def27873d4f3c756fa6 +SHA256 (advi-1.6.0.tgz) = ab77eb986987b4e6750e07e3a90f6bf58bea173eaeb2b1ebb0680d7545553e6b +SIZE (advi-1.6.0.tgz) = 11436152 diff --git a/print/advi/files/patch-grY11.c b/print/advi/files/patch-grY11.c new file mode 100644 index 000000000000..0692b9e4fc59 --- /dev/null +++ b/print/advi/files/patch-grY11.c @@ -0,0 +1,11 @@ +--- grY11.c.orig Sun Aug 13 01:16:56 2006 ++++ grY11.c Sun Aug 13 01:17:06 2006 +@@ -473,7 +473,7 @@ + return Val_unit; + } + +-value caml_gr_resize_window (value wid, value w, value h) ++value caml_gr_resize_window1 (value wid, value w, value h) + { + Window win; + diff --git a/print/advi/files/patch-graphicsY11.ml b/print/advi/files/patch-graphicsY11.ml new file mode 100644 index 000000000000..0846609ef3cf --- /dev/null +++ b/print/advi/files/patch-graphicsY11.ml @@ -0,0 +1,11 @@ +--- graphicsY11.ml.orig Sun Aug 13 01:17:58 2006 ++++ graphicsY11.ml Sun Aug 13 01:18:03 2006 +@@ -109,7 +109,7 @@ + = "caml_gr_move_window";; + + external raw_resize_window : window_id -> int -> int -> unit +- = "caml_gr_resize_window";; ++ = "caml_gr_resize_window1";; + + let resize_subwindow wid height width = + if wid != null_window then begin diff --git a/print/advi/pkg-descr b/print/advi/pkg-descr new file mode 100644 index 000000000000..ca41645d5d2f --- /dev/null +++ b/print/advi/pkg-descr @@ -0,0 +1,5 @@ +Active-DVI ``plays'' the DVI files that is displays: during presentation advi +can launch arbitrary commands that were incorporated into the LaTeX source of +the DVI file to animate the presentation. + +WWW: http://caml.inria.fr/advi/ diff --git a/print/advi/pkg-plist b/print/advi/pkg-plist new file mode 100644 index 000000000000..7699dc20f498 --- /dev/null +++ b/print/advi/pkg-plist @@ -0,0 +1,20 @@ +bin/advi +share/texmf/tex/latex/advi/advi-annot.sty +share/texmf/tex/latex/advi/advi-graphicx.sty +share/texmf/tex/latex/advi/advi-slides.sty +share/texmf/tex/latex/advi/advi.sty +share/texmf/tex/latex/advi/advilogo.eps +share/texmf/tex/latex/advi/argv.sty +share/texmf/tex/latex/advi/bar.eps +share/texmf/tex/latex/advi/bubble.sty +share/texmf/tex/latex/advi/caml.eps +share/texmf/tex/latex/advi/jpfonts.conf +share/texmf/tex/latex/advi/scratch_draw_splash.dvi +share/texmf/tex/latex/advi/scratch_write_splash.dvi +share/texmf/tex/latex/advi/splash.dvi +share/texmf/tex/latex/advi/superpose.sty +share/texmf/tex/latex/advi/xwindows-colors.sty +@dirrm share/texmf/tex/latex/advi +@dirrmtry share/texmf/tex/latex +@dirrmtry share/texmf/tex +@dirrmtry share/texmf |