aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xdvik-vflib-pk400/Makefile
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1998-06-14 15:58:50 +0800
committerkuriyama <kuriyama@FreeBSD.org>1998-06-14 15:58:50 +0800
commit813ea47e1e2dd23c84ae82a444515a888323ddc6 (patch)
treebf5fe7e66ffc71e0e67e9b2b787bff79eb2d9508 /japanese/xdvik-vflib-pk400/Makefile
parent3a555a3650b51bfb476ba05f439598e92bc7af36 (diff)
downloadfreebsd-ports-gnome-813ea47e1e2dd23c84ae82a444515a888323ddc6.tar.gz
freebsd-ports-gnome-813ea47e1e2dd23c84ae82a444515a888323ddc6.tar.zst
freebsd-ports-gnome-813ea47e1e2dd23c84ae82a444515a888323ddc6.zip
DVI Previewer(kpathsearch) for X + jp-patch.
PR: ports/5881 Submitted by: Kentaro Inagaki <JBD01226@niftyserve.ne.jp>
Diffstat (limited to 'japanese/xdvik-vflib-pk400/Makefile')
-rw-r--r--japanese/xdvik-vflib-pk400/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/japanese/xdvik-vflib-pk400/Makefile b/japanese/xdvik-vflib-pk400/Makefile
new file mode 100644
index 000000000000..e4022e0f742d
--- /dev/null
+++ b/japanese/xdvik-vflib-pk400/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: xdvik+jp-patch(use VFlib)
+# Version required: 20
+# Date created: 26 Feb 1998
+# Whom: Kentaro Inagaki <JBD01226@niftyserve.ne.jp>
+#
+# $Id$
+#
+
+DISTNAME= xdvik-20a
+PKGNAME= ja-vfxdvik-20a
+CATEGORIES= japanese print
+MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20/ \
+ ${MASTER_SITE_LOCAL}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xdvik20a-j1.1p15.patch.gz
+
+MAINTAINER= JBD01226@niftyserve.ne.jp
+
+RUN_DEPENDS= mf:${PORTSDIR}/japanese/ptex-common
+LIB_DEPENDS= VFlib\\.2\\.:${PORTSDIR}/japanese/vflib
+
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+GNU_CONFIGURE=YES
+CONFIGURE_ARGS=--with-dvifilter=dvi2ps
+#CONFIGURE_ARGS=--enable-shared=yes --with-dvifilter=dvi2ps
+USE_GMAKE=YES
+
+MAN1=xdvi.1 gsftopk.1
+
+pre-patch:
+ (cd ${WRKSRC}/xdvik ; \
+ ${GZCAT} ${DISTDIR}/xdvik20a-j1.1p15.patch.gz | ${PATCH} -s )
+
+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:
+ $(INSTALL_DATA) $(FILESDIR)/vfontmap $(PREFIX)/share/texmf/xdvi
+ ${MKDIR} ${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>