1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add advi 1.6.0, active-DVI viewer.

PR:		ports/101957
Submitted by:	Stanislav Sedov <ssedov at mbsd.msk.ru>
This commit is contained in:
Rong-En Fan 2006-08-14 16:14:29 +00:00
parent 5d9464e0eb
commit 4d1cfc4e31
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170608
7 changed files with 101 additions and 0 deletions

View File

@ -13,6 +13,7 @@
SUBDIR += acroread7
SUBDIR += acroreadwrapper
SUBDIR += adobe-cmaps
SUBDIR += advi
SUBDIR += afm
SUBDIR += alignmargins
SUBDIR += amspsfnt

50
print/advi/Makefile Normal file
View File

@ -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>

3
print/advi/distinfo Normal file
View File

@ -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

View File

@ -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;

View File

@ -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

5
print/advi/pkg-descr Normal file
View File

@ -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/

20
print/advi/pkg-plist Normal file
View File

@ -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