aboutsummaryrefslogtreecommitdiffstats
path: root/print/xdvik
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1998-06-15 06:00:05 +0800
committerkuriyama <kuriyama@FreeBSD.org>1998-06-15 06:00:05 +0800
commiteb5f45357128b97cb7f652e4058f1d97d4492f5a (patch)
treeadd775e1094baf4a270dc6b7acf67644528e06a9 /print/xdvik
parenta094b5a0fe468c6c53729cbc1b22703d69b8eea7 (diff)
downloadfreebsd-ports-gnome-eb5f45357128b97cb7f652e4058f1d97d4492f5a.tar.gz
freebsd-ports-gnome-eb5f45357128b97cb7f652e4058f1d97d4492f5a.tar.zst
freebsd-ports-gnome-eb5f45357128b97cb7f652e4058f1d97d4492f5a.zip
DVI Previewer(kpathsearch) for X.
PR: ports/5882 Submitted by: Kentaro Inagaki <JBD01226@niftyserve.ne.jp>
Diffstat (limited to 'print/xdvik')
-rw-r--r--print/xdvik/Makefile36
-rw-r--r--print/xdvik/distinfo2
-rw-r--r--print/xdvik/files/patch-aa48
-rw-r--r--print/xdvik/pkg-comment1
-rw-r--r--print/xdvik/pkg-descr10
-rw-r--r--print/xdvik/pkg-plist9
6 files changed, 106 insertions, 0 deletions
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 <JBD01226@niftyserve.ne.jp>
+#
+# $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 <bsd.port.mk>
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