summaryrefslogtreecommitdiff
path: root/japanese/xdvik-vflib-pk240
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-07-20 02:35:39 +0000
committerSteve Price <steve@FreeBSD.org>1998-07-20 02:35:39 +0000
commit881331b34d9badf4287909c20c379718baeaec27 (patch)
tree885fc4d05bd5f25e8481a3b4d3de2f9c15f07b1d /japanese/xdvik-vflib-pk240
parentTurn on enscriptfonts. (diff)
Update to new version xdvik-20c.
PR: 7096 Submitted by: maintainer
Diffstat (limited to 'japanese/xdvik-vflib-pk240')
-rw-r--r--japanese/xdvik-vflib-pk240/Makefile79
1 files changed, 54 insertions, 25 deletions
diff --git a/japanese/xdvik-vflib-pk240/Makefile b/japanese/xdvik-vflib-pk240/Makefile
index d40d701a55ef..515b2943fe2e 100644
--- a/japanese/xdvik-vflib-pk240/Makefile
+++ b/japanese/xdvik-vflib-pk240/Makefile
@@ -1,46 +1,75 @@
-# New ports collection makefile for: xdvik+jp-patch(use VFlib)
-# Version required: 20
-# Date created: 26 Feb 1998
-# Whom: Kentaro Inagaki <JBD01226@niftyserve.or.jp>
+# New ports collection makefile for: xdvik + jp-patch
+# Version required: 20c
+# Date created: 15 Jun 1998
+# Whom: Kentaro Inagaki <inagaki@tg.rim.or.jp>
#
-# $Id: Makefile,v 1.1.1.1 1998/06/14 07:58:50 kuriyama Exp $
+# $Id: Makefile,v 1.2 1998/07/11 14:06:58 kuriyama Exp $
#
-DISTNAME= xdvik-20a
-PKGNAME= ja-vfxdvik-20a
+DISTNAME= xdvik-20c
+PKGNAME= ja-vfxdvik-20c
CATEGORIES= japanese print
-MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20/ \
+MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20c/ \
${MASTER_SITE_LOCAL}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xdvik20a-j1.1p15.patch.gz
-MAINTAINER= JBD01226@niftyserve.or.jp
+PATCH_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20c/ \
+ ${MASTER_SITE_LOCAL}
+PATCHFILES= xdvik20c-j1.0p0d.patch.gz
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= inagaki@tg.rim.or.jp
-RUN_DEPENDS= mf:${PORTSDIR}/japanese/ptex-common
-LIB_DEPENDS= VFlib\\.2\\.:${PORTSDIR}/japanese/vflib
+RUN_DEPENDS= mf:${PORTSDIR}/japanese/ptex-common
+LIB_DEPENDS= VFlib2\\.23\\.:${PORTSDIR}/japanese/vflib
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+USE_GMAKE=YES
GNU_CONFIGURE=YES
-CONFIGURE_ARGS=--with-dvifilter=dvi2ps
+CONFIGURE_ARGS=--enable-shared=yes --with-dvifilter=dvips
#CONFIGURE_ARGS=--enable-shared=yes --with-dvifilter=dvi2ps
-USE_GMAKE=YES
+CONFIGURE_ENV=ac_cv_path_install="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}"
+MAKE_FLAGS=VFLIB='-L$(LOCALBASE)/lib -lVFlib2 -lttf'
+STRIP=
+MAN1=xdvi.1
-MAN1=xdvi.1 gsftopk.1
+TEXMF= ${PREFIX}/share/texmf
+XDVIDIR= ${TEXMF}/xdvi
+BINARIES= xdvi
-pre-patch:
- (cd ${WRKSRC}/xdvik ; \
- ${GZCAT} ${DISTDIR}/xdvik20a-j1.1p15.patch.gz | ${PATCH} -s )
+DOCS= xdvi.FAQ \
+ xdvi.icon \
+ README \
+ README.xdvik20a-j1.1.patch \
+ README.xdvik20c-j1.0p0.patch \
+ ChangeLog \
+ ChangeLog.xdvik20a-j1.1 \
+ ChangeLog.xdvik20c-j1.0 \
+ READMEs/HEADERS.DOC \
+ READMEs/InternalVars \
+ READMEs/README.jp-patch \
+ READMEs/README.tasai-ussy \
+ READMEs/README.markpage+toc+printdvi \
+ READMEs/README.markpage+toc+printdvi+paper \
+ READMEs/README.xdvik18f-j1.0.patch \
+ READMEs/README.xdvik18f-j1.1p5.patch
pre-build:
- (cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
+ @(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
do-install:
- (cd ${WRKSRC}/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+ @(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
+ @for i in ${BINARIES} ; do \
+ strip ${PREFIX}/bin/$$i ; \
+ done
+ @$(INSTALL_DATA) $(FILESDIR)/vfontmap $(XDVIDIR)
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/xdvi
+ @for i in ${DOCS} ; do \
+ ${INSTALL_DATA} ${WRKSRC}/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
+ done
+.endif
.include <bsd.port.mk>