From ea892826bec7a015bd03e8ac372cfdf578d2d27a Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Sun, 14 Jun 1998 22:00:05 +0000 Subject: DVI Previewer(kpathsearch) for X. PR: ports/5882 Submitted by: Kentaro Inagaki --- print/xdvik/Makefile | 36 ++++++++++++++++++++++++++++++++++ print/xdvik/distinfo | 2 ++ print/xdvik/files/patch-aa | 48 ++++++++++++++++++++++++++++++++++++++++++++++ print/xdvik/pkg-comment | 1 + print/xdvik/pkg-descr | 10 ++++++++++ print/xdvik/pkg-plist | 9 +++++++++ 6 files changed, 106 insertions(+) create mode 100644 print/xdvik/Makefile create mode 100644 print/xdvik/distinfo create mode 100644 print/xdvik/files/patch-aa create mode 100644 print/xdvik/pkg-comment create mode 100644 print/xdvik/pkg-descr create mode 100644 print/xdvik/pkg-plist (limited to 'print/xdvik') diff --git a/print/xdvik/Makefile b/print/xdvik/Makefile new file mode 100644 index 000000000000..90e5d8dae011 --- /dev/null +++ b/print/xdvik/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: xdvik +# Version required: 20 +# Date created: 26 Feb 1998 +# Whom: Kentaro Inagaki +# +# $Id$ +# + +DISTNAME= xdvik-20a +CATEGORIES= print +MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20/ \ + ${MASTER_SITE_LOCAL} + +MAINTAINER= JBD01226@niftyserve.ne.jp + +RUN_DEPENDS= mf:${PORTSDIR}/print/tex + +GNU_CONFIGURE=YES +#CONFIGURE_ARGS=--enable-shared=yes +USE_GMAKE=YES + +MAN1=xdvi.1 gsftopk.1 + +pre-build: + (cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;) + +do-install: + (cd ${WRKSRC}/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) + +post-install: + ${MKDIR} ${PREFIX}/share/doc/xdvi + ${INSTALL_DATA} ${WRKSRC}/xdvik/xdvi.FAQ ${PREFIX}/share/doc/xdvi + ${INSTALL_DATA} ${WRKSRC}/xdvik/README ${PREFIX}/share/doc/xdvi + ${INSTALL_DATA} ${WRKSRC}/xdvik/ChangeLog ${PREFIX}/share/doc/xdvi + +.include diff --git a/print/xdvik/distinfo b/print/xdvik/distinfo new file mode 100644 index 000000000000..c7bc83229af4 --- /dev/null +++ b/print/xdvik/distinfo @@ -0,0 +1,2 @@ +MD5 (xdvik-20a.tar.gz) = 58090c0a4e8f4cc5a406f47a95b81b67 +MD5 (xdvik20a-j1.1p15.patch.gz) = e260055ad86755b933326d30bc887a92 diff --git a/print/xdvik/files/patch-aa b/print/xdvik/files/patch-aa new file mode 100644 index 000000000000..081533cf9331 --- /dev/null +++ b/print/xdvik/files/patch-aa @@ -0,0 +1,48 @@ +diff -ru ../xdvik-20a.orig/configure ./configure +--- ../xdvik-20a.orig/configure Tue Feb 4 04:22:07 1997 ++++ ./configure Tue Feb 24 23:12:05 1998 +@@ -890,6 +890,7 @@ + fi + fi + echo "$ac_t""$INSTALL" 1>&6 ++ac_given_INSTALL=${INSTALL} + + # Use test -z because SunOS4 sh mishandles braces in ${var-val}. + # It thinks the first close brace ends the variable substitution. +diff -ru ../xdvik-20a.orig/kpathsea/configure ./kpathsea/configure +--- ../xdvik-20a.orig/kpathsea/configure Tue Feb 4 04:27:18 1997 ++++ ./kpathsea/configure Tue Feb 24 23:13:09 1998 +@@ -774,6 +774,7 @@ + fi + fi + echo "$ac_t""$INSTALL" 1>&6 ++ac_given_INSTALL=${INSTALL} + + # Use test -z because SunOS4 sh mishandles braces in ${var-val}. + # It thinks the first close brace ends the variable substitution. +diff -ru ../xdvik-20a.orig/xdvik/configure ./xdvik/configure +--- ../xdvik-20a.orig/xdvik/configure Tue Feb 24 23:09:22 1998 ++++ ./xdvik/configure Tue Feb 24 23:15:44 1998 +@@ -786,6 +786,7 @@ + fi + fi + echo "$ac_t""$INSTALL" 1>&6 ++ac_given_INSTALL=${INSTALL} + + # Use test -z because SunOS4 sh mishandles braces in ${var-val}. + # It thinks the first close brace ends the variable substitution. +diff -ru ../xdvik-20a.orig/klibtool ./klibtool +--- ../xdvik-20a.orig/klibtool Sat Dec 28 07:50:27 1996 ++++ ./klibtool Fri Feb 27 23:54:11 1998 +@@ -251,6 +251,11 @@ + + # Override defaults for this system. + case $host_type in ++ *-*-freebsd*) ++ shared_support=true ++ SHARED_postinstall='ldconfig -m $libdir' ++ ;; ++ + *-*-linux*) + shared_support=true + SHARED_postinstall='ldconfig $libdir' diff --git a/print/xdvik/pkg-comment b/print/xdvik/pkg-comment new file mode 100644 index 000000000000..29575acfbd04 --- /dev/null +++ b/print/xdvik/pkg-comment @@ -0,0 +1 @@ +DVI Previewer(kpathsearch) for X. diff --git a/print/xdvik/pkg-descr b/print/xdvik/pkg-descr new file mode 100644 index 000000000000..6f6d3c1af3a0 --- /dev/null +++ b/print/xdvik/pkg-descr @@ -0,0 +1,10 @@ + +dvi file previewer for X. + + 1. require METAFONT + 2. require kpathsearch libraries version 3.0 (search library) + 3. built-in EPS preview(need to any ghostscript) + 4. print out from this program(use lpr). + +- Kentarou Inagaki +JBD01226@niftyserve.ne.jp diff --git a/print/xdvik/pkg-plist b/print/xdvik/pkg-plist new file mode 100644 index 000000000000..ef4a5746fc06 --- /dev/null +++ b/print/xdvik/pkg-plist @@ -0,0 +1,9 @@ +bin/xdvi +bin/gsftopk +man/man1/gsftopk.1.gz +man/man1/xdvi.1.gz +share/texmf/dvips/render.ps +share/doc/xdvi/ChangeLog +share/doc/xdvi/README +share/doc/xdvi/xdvi.FAQ +@dirrm share/doc/xdvi -- cgit v1.2.3