mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
(1) Moved japanese/vfxdvik to japanese/xdvik-vflib
(2) Added slave ports, japanese/xdvik-vflib-pk*, of japanese/xdvik-vflib (after Asami-san copied repository of japanese/xdvik-vflib to ones of slave ports) PR: 15989 Submitted by: maintainer
This commit is contained in:
parent
60c353bd7a
commit
aee1dc8201
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25060
@ -6,130 +6,13 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
CATEGORIES= japanese print
|
||||
MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.iij.ad.jp/pub/TeX/CTAN/dviware/xdvik/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
|
||||
ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
PKGNAME= ja-xdvik-vflib-pk${BDPI}-22.15
|
||||
|
||||
PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
PATCHFILES= xdvik-22.15-j1.03.patch.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/texmf/fonts/pk/${MF_MODE}/pk${BDPI}:${PORTSDIR}/japanese/ptex-pkfonts${BDPI}
|
||||
|
||||
MAINTAINER= inagaki@tg.rim.or.jp
|
||||
FONTTYPE= pkfont
|
||||
BDPI= 118
|
||||
SHRINK= 4
|
||||
MASTERDIR= ${.CURDIR}/../xdvik-vflib
|
||||
|
||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||
RUN_DEPENDS= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
DIST_SUBDIR= xdvik
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= \
|
||||
--enable-a4 --enable-bdpi=300 --enable-shrink=8 \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
||||
VFFONTS= .:${PREFIX}/share/fonts/makejvf/vf//
|
||||
TFMFONTS= .:${PREFIX}/share/fonts/makejvf/tfm/ptex//
|
||||
PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'"
|
||||
PATCH_STRIP= -p1
|
||||
MAN1= xdvi.1
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf
|
||||
VARTEXFONTS= /var/tmp/texfonts
|
||||
XDVIDIR= ${TEXMF}/xdvi
|
||||
MAKEJVFDIR= ${PREFIX}/share/fonts/makejvf
|
||||
MAKETEX_MODE?= ljfour
|
||||
DVIPS?= dvipsk
|
||||
|
||||
PTEXTFM= standard nmin-ngoth jis morisawa
|
||||
DOCS= FAQ \
|
||||
xdvi.icon \
|
||||
CHANGES.xdvik-jp \
|
||||
README \
|
||||
README.xdvik-jp \
|
||||
READMEs/ChangeLog.xdvik20a-j1.1 \
|
||||
READMEs/ChangeLog.xdvik20c-j1.0 \
|
||||
READMEs/HEADERS.DOC \
|
||||
READMEs/InternalVars \
|
||||
READMEs/README.jp+toc+hal2 \
|
||||
READMEs/README.jp-patch \
|
||||
READMEs/README.markpage+toc+printdvi \
|
||||
READMEs/README.markpage+toc+printdvi+paper \
|
||||
READMEs/README.miyu-beta6 \
|
||||
READMEs/README.ptex \
|
||||
READMEs/README.tasai-ussy \
|
||||
READMEs/README.xdvik18f-j1.0.patch \
|
||||
READMEs/README.xdvik18f-j1.1p5.patch \
|
||||
READMEs/README.xdvik20a-j1.1.patch \
|
||||
READMEs/README.xdvik20c-j1.0+hal2+dvisel \
|
||||
READMEs/README.xdvik20c-j1.0p1.patch
|
||||
|
||||
# ******************
|
||||
# DVIPS:
|
||||
# Please set up [dvipsk¡Ãdvipsk-vflib¡Ãdvi2ps] to DVIPS when I want to
|
||||
# change it.
|
||||
# Also, please change script $ PREFIX/libexec/xdviprint after installation
|
||||
# when the choice other than this wants.
|
||||
# MAKETEX_MODE:
|
||||
# When MetaFont is used the kind of the printer that I use is set up.
|
||||
# The default is ljfour.
|
||||
# It does not need to change it particularly because it is able to set up it
|
||||
# with the option of xdvi.
|
||||
# ******************
|
||||
|
||||
.if ${DVIPS} == dvi2ps
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvi2ps
|
||||
.elif ${DVIPS} == dvipsk-vflib
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.elif ${DVIPS} == dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.else
|
||||
DVIPS=dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.endif
|
||||
|
||||
#.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@( \
|
||||
${ECHO} "************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "************************************************************")
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}/texk/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
||||
${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
||||
post-install:
|
||||
@$(INSTALL_DATA) $(FILESDIR)/vfontmap $(XDVIDIR)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/xdvi
|
||||
@for i in ${DOCS} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
|
||||
done
|
||||
.endif
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -6,130 +6,13 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
CATEGORIES= japanese print
|
||||
MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.iij.ad.jp/pub/TeX/CTAN/dviware/xdvik/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
|
||||
ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
PKGNAME= ja-xdvik-vflib-pk${BDPI}-22.15
|
||||
|
||||
PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
PATCHFILES= xdvik-22.15-j1.03.patch.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/texmf/fonts/pk/${MF_MODE}/pk${BDPI}:${PORTSDIR}/japanese/ptex-pkfonts${BDPI}
|
||||
|
||||
MAINTAINER= inagaki@tg.rim.or.jp
|
||||
FONTTYPE= pkfont
|
||||
BDPI= 240
|
||||
SHRINK= 6
|
||||
MASTERDIR= ${.CURDIR}/../xdvik-vflib
|
||||
|
||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||
RUN_DEPENDS= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
DIST_SUBDIR= xdvik
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= \
|
||||
--enable-a4 --enable-bdpi=300 --enable-shrink=8 \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
||||
VFFONTS= .:${PREFIX}/share/fonts/makejvf/vf//
|
||||
TFMFONTS= .:${PREFIX}/share/fonts/makejvf/tfm/ptex//
|
||||
PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'"
|
||||
PATCH_STRIP= -p1
|
||||
MAN1= xdvi.1
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf
|
||||
VARTEXFONTS= /var/tmp/texfonts
|
||||
XDVIDIR= ${TEXMF}/xdvi
|
||||
MAKEJVFDIR= ${PREFIX}/share/fonts/makejvf
|
||||
MAKETEX_MODE?= ljfour
|
||||
DVIPS?= dvipsk
|
||||
|
||||
PTEXTFM= standard nmin-ngoth jis morisawa
|
||||
DOCS= FAQ \
|
||||
xdvi.icon \
|
||||
CHANGES.xdvik-jp \
|
||||
README \
|
||||
README.xdvik-jp \
|
||||
READMEs/ChangeLog.xdvik20a-j1.1 \
|
||||
READMEs/ChangeLog.xdvik20c-j1.0 \
|
||||
READMEs/HEADERS.DOC \
|
||||
READMEs/InternalVars \
|
||||
READMEs/README.jp+toc+hal2 \
|
||||
READMEs/README.jp-patch \
|
||||
READMEs/README.markpage+toc+printdvi \
|
||||
READMEs/README.markpage+toc+printdvi+paper \
|
||||
READMEs/README.miyu-beta6 \
|
||||
READMEs/README.ptex \
|
||||
READMEs/README.tasai-ussy \
|
||||
READMEs/README.xdvik18f-j1.0.patch \
|
||||
READMEs/README.xdvik18f-j1.1p5.patch \
|
||||
READMEs/README.xdvik20a-j1.1.patch \
|
||||
READMEs/README.xdvik20c-j1.0+hal2+dvisel \
|
||||
READMEs/README.xdvik20c-j1.0p1.patch
|
||||
|
||||
# ******************
|
||||
# DVIPS:
|
||||
# Please set up [dvipsk¡Ãdvipsk-vflib¡Ãdvi2ps] to DVIPS when I want to
|
||||
# change it.
|
||||
# Also, please change script $ PREFIX/libexec/xdviprint after installation
|
||||
# when the choice other than this wants.
|
||||
# MAKETEX_MODE:
|
||||
# When MetaFont is used the kind of the printer that I use is set up.
|
||||
# The default is ljfour.
|
||||
# It does not need to change it particularly because it is able to set up it
|
||||
# with the option of xdvi.
|
||||
# ******************
|
||||
|
||||
.if ${DVIPS} == dvi2ps
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvi2ps
|
||||
.elif ${DVIPS} == dvipsk-vflib
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.elif ${DVIPS} == dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.else
|
||||
DVIPS=dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.endif
|
||||
|
||||
#.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@( \
|
||||
${ECHO} "************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "************************************************************")
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}/texk/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
||||
${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
||||
post-install:
|
||||
@$(INSTALL_DATA) $(FILESDIR)/vfontmap $(XDVIDIR)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/xdvi
|
||||
@for i in ${DOCS} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
|
||||
done
|
||||
.endif
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -6,130 +6,13 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
CATEGORIES= japanese print
|
||||
MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.iij.ad.jp/pub/TeX/CTAN/dviware/xdvik/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
|
||||
ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
PKGNAME= ja-xdvik-vflib-pk${BDPI}-22.15
|
||||
|
||||
PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
PATCHFILES= xdvik-22.15-j1.03.patch.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/texmf/fonts/pk/${MF_MODE}/pk${BDPI}:${PORTSDIR}/japanese/ptex-pkfonts${BDPI}
|
||||
|
||||
MAINTAINER= inagaki@tg.rim.or.jp
|
||||
FONTTYPE= pkfont
|
||||
BDPI= 300
|
||||
SHRINK= 6
|
||||
MASTERDIR= ${.CURDIR}/../xdvik-vflib
|
||||
|
||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||
RUN_DEPENDS= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
DIST_SUBDIR= xdvik
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= \
|
||||
--enable-a4 --enable-bdpi=300 --enable-shrink=8 \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
||||
VFFONTS= .:${PREFIX}/share/fonts/makejvf/vf//
|
||||
TFMFONTS= .:${PREFIX}/share/fonts/makejvf/tfm/ptex//
|
||||
PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'"
|
||||
PATCH_STRIP= -p1
|
||||
MAN1= xdvi.1
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf
|
||||
VARTEXFONTS= /var/tmp/texfonts
|
||||
XDVIDIR= ${TEXMF}/xdvi
|
||||
MAKEJVFDIR= ${PREFIX}/share/fonts/makejvf
|
||||
MAKETEX_MODE?= ljfour
|
||||
DVIPS?= dvipsk
|
||||
|
||||
PTEXTFM= standard nmin-ngoth jis morisawa
|
||||
DOCS= FAQ \
|
||||
xdvi.icon \
|
||||
CHANGES.xdvik-jp \
|
||||
README \
|
||||
README.xdvik-jp \
|
||||
READMEs/ChangeLog.xdvik20a-j1.1 \
|
||||
READMEs/ChangeLog.xdvik20c-j1.0 \
|
||||
READMEs/HEADERS.DOC \
|
||||
READMEs/InternalVars \
|
||||
READMEs/README.jp+toc+hal2 \
|
||||
READMEs/README.jp-patch \
|
||||
READMEs/README.markpage+toc+printdvi \
|
||||
READMEs/README.markpage+toc+printdvi+paper \
|
||||
READMEs/README.miyu-beta6 \
|
||||
READMEs/README.ptex \
|
||||
READMEs/README.tasai-ussy \
|
||||
READMEs/README.xdvik18f-j1.0.patch \
|
||||
READMEs/README.xdvik18f-j1.1p5.patch \
|
||||
READMEs/README.xdvik20a-j1.1.patch \
|
||||
READMEs/README.xdvik20c-j1.0+hal2+dvisel \
|
||||
READMEs/README.xdvik20c-j1.0p1.patch
|
||||
|
||||
# ******************
|
||||
# DVIPS:
|
||||
# Please set up [dvipsk¡Ãdvipsk-vflib¡Ãdvi2ps] to DVIPS when I want to
|
||||
# change it.
|
||||
# Also, please change script $ PREFIX/libexec/xdviprint after installation
|
||||
# when the choice other than this wants.
|
||||
# MAKETEX_MODE:
|
||||
# When MetaFont is used the kind of the printer that I use is set up.
|
||||
# The default is ljfour.
|
||||
# It does not need to change it particularly because it is able to set up it
|
||||
# with the option of xdvi.
|
||||
# ******************
|
||||
|
||||
.if ${DVIPS} == dvi2ps
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvi2ps
|
||||
.elif ${DVIPS} == dvipsk-vflib
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.elif ${DVIPS} == dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.else
|
||||
DVIPS=dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.endif
|
||||
|
||||
#.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@( \
|
||||
${ECHO} "************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "************************************************************")
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}/texk/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
||||
${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
||||
post-install:
|
||||
@$(INSTALL_DATA) $(FILESDIR)/vfontmap $(XDVIDIR)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/xdvi
|
||||
@for i in ${DOCS} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
|
||||
done
|
||||
.endif
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -6,130 +6,13 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
CATEGORIES= japanese print
|
||||
MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.iij.ad.jp/pub/TeX/CTAN/dviware/xdvik/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
|
||||
ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
PKGNAME= ja-xdvik-vflib-pk${BDPI}-22.15
|
||||
|
||||
PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
PATCHFILES= xdvik-22.15-j1.03.patch.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/texmf/fonts/pk/${MF_MODE}/pk${BDPI}:${PORTSDIR}/japanese/ptex-pkfonts${BDPI}
|
||||
|
||||
MAINTAINER= inagaki@tg.rim.or.jp
|
||||
FONTTYPE= pkfont
|
||||
BDPI= 360
|
||||
SHRINK= 6
|
||||
MASTERDIR= ${.CURDIR}/../xdvik-vflib
|
||||
|
||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||
RUN_DEPENDS= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
DIST_SUBDIR= xdvik
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= \
|
||||
--enable-a4 --enable-bdpi=300 --enable-shrink=8 \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
||||
VFFONTS= .:${PREFIX}/share/fonts/makejvf/vf//
|
||||
TFMFONTS= .:${PREFIX}/share/fonts/makejvf/tfm/ptex//
|
||||
PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'"
|
||||
PATCH_STRIP= -p1
|
||||
MAN1= xdvi.1
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf
|
||||
VARTEXFONTS= /var/tmp/texfonts
|
||||
XDVIDIR= ${TEXMF}/xdvi
|
||||
MAKEJVFDIR= ${PREFIX}/share/fonts/makejvf
|
||||
MAKETEX_MODE?= ljfour
|
||||
DVIPS?= dvipsk
|
||||
|
||||
PTEXTFM= standard nmin-ngoth jis morisawa
|
||||
DOCS= FAQ \
|
||||
xdvi.icon \
|
||||
CHANGES.xdvik-jp \
|
||||
README \
|
||||
README.xdvik-jp \
|
||||
READMEs/ChangeLog.xdvik20a-j1.1 \
|
||||
READMEs/ChangeLog.xdvik20c-j1.0 \
|
||||
READMEs/HEADERS.DOC \
|
||||
READMEs/InternalVars \
|
||||
READMEs/README.jp+toc+hal2 \
|
||||
READMEs/README.jp-patch \
|
||||
READMEs/README.markpage+toc+printdvi \
|
||||
READMEs/README.markpage+toc+printdvi+paper \
|
||||
READMEs/README.miyu-beta6 \
|
||||
READMEs/README.ptex \
|
||||
READMEs/README.tasai-ussy \
|
||||
READMEs/README.xdvik18f-j1.0.patch \
|
||||
READMEs/README.xdvik18f-j1.1p5.patch \
|
||||
READMEs/README.xdvik20a-j1.1.patch \
|
||||
READMEs/README.xdvik20c-j1.0+hal2+dvisel \
|
||||
READMEs/README.xdvik20c-j1.0p1.patch
|
||||
|
||||
# ******************
|
||||
# DVIPS:
|
||||
# Please set up [dvipsk¡Ãdvipsk-vflib¡Ãdvi2ps] to DVIPS when I want to
|
||||
# change it.
|
||||
# Also, please change script $ PREFIX/libexec/xdviprint after installation
|
||||
# when the choice other than this wants.
|
||||
# MAKETEX_MODE:
|
||||
# When MetaFont is used the kind of the printer that I use is set up.
|
||||
# The default is ljfour.
|
||||
# It does not need to change it particularly because it is able to set up it
|
||||
# with the option of xdvi.
|
||||
# ******************
|
||||
|
||||
.if ${DVIPS} == dvi2ps
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvi2ps
|
||||
.elif ${DVIPS} == dvipsk-vflib
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.elif ${DVIPS} == dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.else
|
||||
DVIPS=dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.endif
|
||||
|
||||
#.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@( \
|
||||
${ECHO} "************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "************************************************************")
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}/texk/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
||||
${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
||||
post-install:
|
||||
@$(INSTALL_DATA) $(FILESDIR)/vfontmap $(XDVIDIR)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/xdvi
|
||||
@for i in ${DOCS} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
|
||||
done
|
||||
.endif
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -6,130 +6,13 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
CATEGORIES= japanese print
|
||||
MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.iij.ad.jp/pub/TeX/CTAN/dviware/xdvik/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
|
||||
ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
PKGNAME= ja-xdvik-vflib-pk${BDPI}-22.15
|
||||
|
||||
PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
PATCHFILES= xdvik-22.15-j1.03.patch.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/texmf/fonts/pk/${MF_MODE}/pk${BDPI}:${PORTSDIR}/japanese/ptex-pkfonts${BDPI}
|
||||
|
||||
MAINTAINER= inagaki@tg.rim.or.jp
|
||||
FONTTYPE= pkfont
|
||||
BDPI= 400
|
||||
SHRINK= 7
|
||||
MASTERDIR= ${.CURDIR}/../xdvik-vflib
|
||||
|
||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||
RUN_DEPENDS= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
DIST_SUBDIR= xdvik
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= \
|
||||
--enable-a4 --enable-bdpi=300 --enable-shrink=8 \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
||||
VFFONTS= .:${PREFIX}/share/fonts/makejvf/vf//
|
||||
TFMFONTS= .:${PREFIX}/share/fonts/makejvf/tfm/ptex//
|
||||
PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'"
|
||||
PATCH_STRIP= -p1
|
||||
MAN1= xdvi.1
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf
|
||||
VARTEXFONTS= /var/tmp/texfonts
|
||||
XDVIDIR= ${TEXMF}/xdvi
|
||||
MAKEJVFDIR= ${PREFIX}/share/fonts/makejvf
|
||||
MAKETEX_MODE?= ljfour
|
||||
DVIPS?= dvipsk
|
||||
|
||||
PTEXTFM= standard nmin-ngoth jis morisawa
|
||||
DOCS= FAQ \
|
||||
xdvi.icon \
|
||||
CHANGES.xdvik-jp \
|
||||
README \
|
||||
README.xdvik-jp \
|
||||
READMEs/ChangeLog.xdvik20a-j1.1 \
|
||||
READMEs/ChangeLog.xdvik20c-j1.0 \
|
||||
READMEs/HEADERS.DOC \
|
||||
READMEs/InternalVars \
|
||||
READMEs/README.jp+toc+hal2 \
|
||||
READMEs/README.jp-patch \
|
||||
READMEs/README.markpage+toc+printdvi \
|
||||
READMEs/README.markpage+toc+printdvi+paper \
|
||||
READMEs/README.miyu-beta6 \
|
||||
READMEs/README.ptex \
|
||||
READMEs/README.tasai-ussy \
|
||||
READMEs/README.xdvik18f-j1.0.patch \
|
||||
READMEs/README.xdvik18f-j1.1p5.patch \
|
||||
READMEs/README.xdvik20a-j1.1.patch \
|
||||
READMEs/README.xdvik20c-j1.0+hal2+dvisel \
|
||||
READMEs/README.xdvik20c-j1.0p1.patch
|
||||
|
||||
# ******************
|
||||
# DVIPS:
|
||||
# Please set up [dvipsk¡Ãdvipsk-vflib¡Ãdvi2ps] to DVIPS when I want to
|
||||
# change it.
|
||||
# Also, please change script $ PREFIX/libexec/xdviprint after installation
|
||||
# when the choice other than this wants.
|
||||
# MAKETEX_MODE:
|
||||
# When MetaFont is used the kind of the printer that I use is set up.
|
||||
# The default is ljfour.
|
||||
# It does not need to change it particularly because it is able to set up it
|
||||
# with the option of xdvi.
|
||||
# ******************
|
||||
|
||||
.if ${DVIPS} == dvi2ps
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvi2ps
|
||||
.elif ${DVIPS} == dvipsk-vflib
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.elif ${DVIPS} == dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.else
|
||||
DVIPS=dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.endif
|
||||
|
||||
#.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@( \
|
||||
${ECHO} "************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "************************************************************")
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}/texk/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
||||
${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
||||
post-install:
|
||||
@$(INSTALL_DATA) $(FILESDIR)/vfontmap $(XDVIDIR)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/xdvi
|
||||
@for i in ${DOCS} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
|
||||
done
|
||||
.endif
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -6,130 +6,13 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
CATEGORIES= japanese print
|
||||
MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.iij.ad.jp/pub/TeX/CTAN/dviware/xdvik/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
|
||||
ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
PKGNAME= ja-xdvik-vflib-pk${BDPI}-22.15
|
||||
|
||||
PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
PATCHFILES= xdvik-22.15-j1.03.patch.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/texmf/fonts/pk/${MF_MODE}/pk${BDPI}:${PORTSDIR}/japanese/ptex-pkfonts${BDPI}
|
||||
|
||||
MAINTAINER= inagaki@tg.rim.or.jp
|
||||
FONTTYPE= pkfont
|
||||
BDPI= 600
|
||||
SHRINK= 8
|
||||
MASTERDIR= ${.CURDIR}/../xdvik-vflib
|
||||
|
||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||
RUN_DEPENDS= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
DIST_SUBDIR= xdvik
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= \
|
||||
--enable-a4 --enable-bdpi=300 --enable-shrink=8 \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
||||
VFFONTS= .:${PREFIX}/share/fonts/makejvf/vf//
|
||||
TFMFONTS= .:${PREFIX}/share/fonts/makejvf/tfm/ptex//
|
||||
PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'"
|
||||
PATCH_STRIP= -p1
|
||||
MAN1= xdvi.1
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf
|
||||
VARTEXFONTS= /var/tmp/texfonts
|
||||
XDVIDIR= ${TEXMF}/xdvi
|
||||
MAKEJVFDIR= ${PREFIX}/share/fonts/makejvf
|
||||
MAKETEX_MODE?= ljfour
|
||||
DVIPS?= dvipsk
|
||||
|
||||
PTEXTFM= standard nmin-ngoth jis morisawa
|
||||
DOCS= FAQ \
|
||||
xdvi.icon \
|
||||
CHANGES.xdvik-jp \
|
||||
README \
|
||||
README.xdvik-jp \
|
||||
READMEs/ChangeLog.xdvik20a-j1.1 \
|
||||
READMEs/ChangeLog.xdvik20c-j1.0 \
|
||||
READMEs/HEADERS.DOC \
|
||||
READMEs/InternalVars \
|
||||
READMEs/README.jp+toc+hal2 \
|
||||
READMEs/README.jp-patch \
|
||||
READMEs/README.markpage+toc+printdvi \
|
||||
READMEs/README.markpage+toc+printdvi+paper \
|
||||
READMEs/README.miyu-beta6 \
|
||||
READMEs/README.ptex \
|
||||
READMEs/README.tasai-ussy \
|
||||
READMEs/README.xdvik18f-j1.0.patch \
|
||||
READMEs/README.xdvik18f-j1.1p5.patch \
|
||||
READMEs/README.xdvik20a-j1.1.patch \
|
||||
READMEs/README.xdvik20c-j1.0+hal2+dvisel \
|
||||
READMEs/README.xdvik20c-j1.0p1.patch
|
||||
|
||||
# ******************
|
||||
# DVIPS:
|
||||
# Please set up [dvipsk¡Ãdvipsk-vflib¡Ãdvi2ps] to DVIPS when I want to
|
||||
# change it.
|
||||
# Also, please change script $ PREFIX/libexec/xdviprint after installation
|
||||
# when the choice other than this wants.
|
||||
# MAKETEX_MODE:
|
||||
# When MetaFont is used the kind of the printer that I use is set up.
|
||||
# The default is ljfour.
|
||||
# It does not need to change it particularly because it is able to set up it
|
||||
# with the option of xdvi.
|
||||
# ******************
|
||||
|
||||
.if ${DVIPS} == dvi2ps
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvi2ps
|
||||
.elif ${DVIPS} == dvipsk-vflib
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.elif ${DVIPS} == dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.else
|
||||
DVIPS=dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.endif
|
||||
|
||||
#.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@( \
|
||||
${ECHO} "************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "************************************************************")
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}/texk/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
||||
${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
||||
post-install:
|
||||
@$(INSTALL_DATA) $(FILESDIR)/vfontmap $(XDVIDIR)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/xdvi
|
||||
@for i in ${DOCS} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
|
||||
done
|
||||
.endif
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -6,130 +6,11 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
CATEGORIES= japanese print
|
||||
MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.iij.ad.jp/pub/TeX/CTAN/dviware/xdvik/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
|
||||
ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
PKGNAME= ja-xdvik-vflib-${FONTTYPE}-22.15
|
||||
|
||||
PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/xdvi/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
PATCHFILES= xdvik-22.15-j1.03.patch.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
FONTTYPE= pkall
|
||||
BDPI= 300
|
||||
SHRINK= 6
|
||||
MASTERDIR= ${.CURDIR}/../xdvik-vflib
|
||||
|
||||
MAINTAINER= inagaki@tg.rim.or.jp
|
||||
|
||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||
RUN_DEPENDS= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
DIST_SUBDIR= xdvik
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= \
|
||||
--enable-a4 --enable-bdpi=300 --enable-shrink=8 \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
||||
VFFONTS= .:${PREFIX}/share/fonts/makejvf/vf//
|
||||
TFMFONTS= .:${PREFIX}/share/fonts/makejvf/tfm/ptex//
|
||||
PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'"
|
||||
PATCH_STRIP= -p1
|
||||
MAN1= xdvi.1
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf
|
||||
VARTEXFONTS= /var/tmp/texfonts
|
||||
XDVIDIR= ${TEXMF}/xdvi
|
||||
MAKEJVFDIR= ${PREFIX}/share/fonts/makejvf
|
||||
MAKETEX_MODE?= ljfour
|
||||
DVIPS?= dvipsk
|
||||
|
||||
PTEXTFM= standard nmin-ngoth jis morisawa
|
||||
DOCS= FAQ \
|
||||
xdvi.icon \
|
||||
CHANGES.xdvik-jp \
|
||||
README \
|
||||
README.xdvik-jp \
|
||||
READMEs/ChangeLog.xdvik20a-j1.1 \
|
||||
READMEs/ChangeLog.xdvik20c-j1.0 \
|
||||
READMEs/HEADERS.DOC \
|
||||
READMEs/InternalVars \
|
||||
READMEs/README.jp+toc+hal2 \
|
||||
READMEs/README.jp-patch \
|
||||
READMEs/README.markpage+toc+printdvi \
|
||||
READMEs/README.markpage+toc+printdvi+paper \
|
||||
READMEs/README.miyu-beta6 \
|
||||
READMEs/README.ptex \
|
||||
READMEs/README.tasai-ussy \
|
||||
READMEs/README.xdvik18f-j1.0.patch \
|
||||
READMEs/README.xdvik18f-j1.1p5.patch \
|
||||
READMEs/README.xdvik20a-j1.1.patch \
|
||||
READMEs/README.xdvik20c-j1.0+hal2+dvisel \
|
||||
READMEs/README.xdvik20c-j1.0p1.patch
|
||||
|
||||
# ******************
|
||||
# DVIPS:
|
||||
# Please set up [dvipsk¡Ãdvipsk-vflib¡Ãdvi2ps] to DVIPS when I want to
|
||||
# change it.
|
||||
# Also, please change script $ PREFIX/libexec/xdviprint after installation
|
||||
# when the choice other than this wants.
|
||||
# MAKETEX_MODE:
|
||||
# When MetaFont is used the kind of the printer that I use is set up.
|
||||
# The default is ljfour.
|
||||
# It does not need to change it particularly because it is able to set up it
|
||||
# with the option of xdvi.
|
||||
# ******************
|
||||
|
||||
.if ${DVIPS} == dvi2ps
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvi2ps
|
||||
.elif ${DVIPS} == dvipsk-vflib
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.elif ${DVIPS} == dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.else
|
||||
DVIPS=dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.endif
|
||||
|
||||
#.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@( \
|
||||
${ECHO} "************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "************************************************************")
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}/texk/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
||||
${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
||||
post-install:
|
||||
@$(INSTALL_DATA) $(FILESDIR)/vfontmap $(XDVIDIR)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/xdvi
|
||||
@for i in ${DOCS} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
|
||||
done
|
||||
.endif
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
PKGNAME?= ja-xdvik-vflib-22.15
|
||||
CATEGORIES= japanese print
|
||||
MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
@ -18,7 +18,7 @@ MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
|
||||
ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
#DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
@ -31,40 +31,41 @@ PATCH_DIST_STRIP= -p1
|
||||
MAINTAINER= inagaki@tg.rim.or.jp
|
||||
|
||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||
RUN_DEPENDS= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
RUN_DEPENDS+= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
DIST_SUBDIR= xdvik
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= \
|
||||
--enable-a4 --enable-bdpi=300 --enable-shrink=8 \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
CONFIGURE_ARGS= --enable-a4 --enable-bdpi=${BDPI} --enable-shrink=${SHRINK} \
|
||||
--with-dvifilter=${DVIPS} \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint \
|
||||
--enable-smallpanel --enable-zoombutton \
|
||||
--enable-vikey
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
||||
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}" \
|
||||
XDEFS='-DMFMODE=\"${MF_MODE}\"'
|
||||
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
||||
VFFONTS= .:${PREFIX}/share/fonts/makejvf/vf//
|
||||
TFMFONTS= .:${PREFIX}/share/fonts/makejvf/tfm/ptex//
|
||||
PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'"
|
||||
#MAKE_ENV= 'XDEFS=${XDEFS}'
|
||||
PATCH_STRIP= -p1
|
||||
MAN1= xdvi.1
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf
|
||||
VARTEXFONTS= /var/tmp/texfonts
|
||||
#VARTEXFONTS= /var/tmp/texfonts
|
||||
XDVIDIR= ${TEXMF}/xdvi
|
||||
MAKEJVFDIR= ${PREFIX}/share/fonts/makejvf
|
||||
MAKETEX_MODE?= ljfour
|
||||
DVIPS?= dvipsk
|
||||
|
||||
PTEXTFM= standard nmin-ngoth jis morisawa
|
||||
DOCS= FAQ \
|
||||
xdvi.icon \
|
||||
CHANGES.xdvik-jp \
|
||||
README \
|
||||
README.xdvik-jp \
|
||||
#VFFONTS= .:${MAKEJVFDIR}/vf//
|
||||
#XDEFS+= -DDEFAULT_VFFONTS=\"\\\"${VFFONTS}\\\"\"
|
||||
#TFMFONTS= .:${MAKEJVFDIR}/tfm/ptex//
|
||||
#XDEFS+= -DDEFAULT_TFMFONTS=\"\\\"${TFMFONTS}\\\"\"
|
||||
#PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
#XDEFS+= -DDEFAULT_PKFONTS=\"\\\"${PKFONTS}\\\"\"
|
||||
|
||||
DOCS= FAQ xdvi.icon CHANGES.xdvik-jp \
|
||||
README README.xdvik-jp \
|
||||
READMEs/ChangeLog.xdvik20a-j1.1 \
|
||||
READMEs/ChangeLog.xdvik20c-j1.0 \
|
||||
READMEs/HEADERS.DOC \
|
||||
@ -83,37 +84,65 @@ DOCS= FAQ \
|
||||
READMEs/README.xdvik20c-j1.0p1.patch
|
||||
|
||||
# ******************
|
||||
# DVIPS:
|
||||
# Please set up [dvipsk¡Ãdvipsk-vflib¡Ãdvi2ps] to DVIPS when I want to
|
||||
# change it.
|
||||
# Also, please change script $ PREFIX/libexec/xdviprint after installation
|
||||
# when the choice other than this wants.
|
||||
# USEPK_MODE:
|
||||
# Mode name of Metafont to give to print/pkfonts* is set.
|
||||
# It is care-and-attention to the other program how MetaFont wants to
|
||||
# be executed that do not use modeless. Kpathsea always searches
|
||||
# modeless because even if you specify any kind of mode.
|
||||
# MAKETEX_MODE:
|
||||
# When MetaFont is used the kind of the printer that I use is set up.
|
||||
# The default is ljfour.
|
||||
# It does not need to change it particularly because it is able to set up it
|
||||
# with the option of xdvi.
|
||||
# It is mode name of default at executing MetaFont. The default is ljfour.
|
||||
# This needs not to be changed. It can be changed with an option or resource.
|
||||
# DVIPS:
|
||||
# Specification of `dvi -> ps' conversion program to use.
|
||||
# You can set following one: dvips, dvipsk-vflib, dvi2ps.
|
||||
# Other way... After installation if you change script
|
||||
# ${PREFIX}/libexec/xdviprint, any kind of program can be used.
|
||||
# ******************
|
||||
FONTTYPE?= metafont
|
||||
USEPK_MODE?= preview
|
||||
MAKETEX_MODE?= ljfour
|
||||
SHRINK?= 6
|
||||
BDPI?= 300
|
||||
DVIPS?= dvips
|
||||
|
||||
.if ${DVIPS} == dvi2ps
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvi2ps
|
||||
.elif ${DVIPS} == dvipsk-vflib
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.elif ${DVIPS} == dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.if ${FONTTYPE} == metafont
|
||||
RUN_DEPENDS+= ptex-common:${PORTSDIR}/japanese/ptex-common
|
||||
MF_MODE= ${MAKETEX_MODE}
|
||||
.else
|
||||
DVIPS=dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
MF_MODE= ${USEPK_MODE}
|
||||
CONFIGURE_ARGS+=--without-mktexpk-default
|
||||
.endif
|
||||
|
||||
#.include <bsd.port.pre.mk>
|
||||
.BEGIN:
|
||||
.if ${FONTTYPE} != metafont && \
|
||||
${FONTTYPE} != pkfont && ${FONTTYPE} != pkall
|
||||
@${ECHO} "Error: invalid value for FONTTYPE: \"${FONTTYPE}\""
|
||||
@${ECHO} "Possible values are: metafont, pkall and pkfont."
|
||||
@${FALSE}
|
||||
.endif
|
||||
.if ${BDPI} != 118 && ${BDPI} != 240 && \
|
||||
${BDPI} != 300 && ${BDPI} != 360 && \
|
||||
${BDPI} != 400 && ${BDPI} != 600
|
||||
@${ECHO} "Error: invalid value for BDPI: \"${BDPI}\""
|
||||
@${ECHO} "Possible values are: all, 118, 240, 300, 360, 400 and 600."
|
||||
@${FALSE}
|
||||
.endif
|
||||
.if ${DVIPS} != dvi2ps && ${DVIPS} != dvips
|
||||
@${ECHO} "Error: invalid value for DVIPS: \"${DVIPS}\""
|
||||
@${ECHO} "Possible values are: dvi2ps and dvips."
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@( \
|
||||
${ECHO} "************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "************************************************************")
|
||||
${ECHO} "**************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "* or, after installation, please change *"; \
|
||||
${ECHO} "* ${PREFIX}/libexec/xdviprint. *"; \
|
||||
${ECHO} "**************************************************************")
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
@ -127,9 +156,9 @@ post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/xdvi
|
||||
@for i in ${DOCS} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i \
|
||||
${PREFIX}/share/doc/xdvi ; \
|
||||
done
|
||||
.endif
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -8,6 +8,8 @@ Japanese dvi file previewer for X.
|
||||
5. built-in EPS preview (need to any ghostscript)
|
||||
6. print out from this program (use lpr).
|
||||
7. convert dvi -> ps (default use japanese/dvipsk).
|
||||
8. support wheel mouse.
|
||||
8. wheel mouse supports.
|
||||
|
||||
- Kentaro Inagaki <inagaki@tg.rim.or.jp>
|
||||
|
||||
WWW: http://www.ipc.chiba-u.ac.jp/~yamaga/index-j.html
|
||||
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
DISTNAME= xdvik-22.15
|
||||
PKGNAME= ja-vfxdvik-22.15
|
||||
PKGNAME?= ja-xdvik-vflib-22.15
|
||||
CATEGORIES= japanese print
|
||||
MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
@ -18,7 +18,7 @@ MASTER_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
|
||||
ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
#DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
PATCH_SITES= ftp://ftp.appi.keio.ac.jp/pub/xdvi/ \
|
||||
ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \
|
||||
@ -31,40 +31,41 @@ PATCH_DIST_STRIP= -p1
|
||||
MAINTAINER= inagaki@tg.rim.or.jp
|
||||
|
||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||
RUN_DEPENDS= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
RUN_DEPENDS+= makejvf:${PORTSDIR}/japanese/makejvf
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
DIST_SUBDIR= xdvik
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= \
|
||||
--enable-a4 --enable-bdpi=300 --enable-shrink=8 \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
CONFIGURE_ARGS= --enable-a4 --enable-bdpi=${BDPI} --enable-shrink=${SHRINK} \
|
||||
--with-dvifilter=${DVIPS} \
|
||||
--enable-xdviprint=${PREFIX}/libexec/xdviprint \
|
||||
--enable-smallpanel --enable-zoombutton \
|
||||
--enable-vikey
|
||||
CONFIGURE_ENV= INSTALL="${INSTALL}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
||||
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}" \
|
||||
XDEFS='-DMFMODE=\"${MF_MODE}\"'
|
||||
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
||||
VFFONTS= .:${PREFIX}/share/fonts/makejvf/vf//
|
||||
TFMFONTS= .:${PREFIX}/share/fonts/makejvf/tfm/ptex//
|
||||
PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'"
|
||||
#MAKE_ENV= 'XDEFS=${XDEFS}'
|
||||
PATCH_STRIP= -p1
|
||||
MAN1= xdvi.1
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf
|
||||
VARTEXFONTS= /var/tmp/texfonts
|
||||
#VARTEXFONTS= /var/tmp/texfonts
|
||||
XDVIDIR= ${TEXMF}/xdvi
|
||||
MAKEJVFDIR= ${PREFIX}/share/fonts/makejvf
|
||||
MAKETEX_MODE?= ljfour
|
||||
DVIPS?= dvipsk
|
||||
|
||||
PTEXTFM= standard nmin-ngoth jis morisawa
|
||||
DOCS= FAQ \
|
||||
xdvi.icon \
|
||||
CHANGES.xdvik-jp \
|
||||
README \
|
||||
README.xdvik-jp \
|
||||
#VFFONTS= .:${MAKEJVFDIR}/vf//
|
||||
#XDEFS+= -DDEFAULT_VFFONTS=\"\\\"${VFFONTS}\\\"\"
|
||||
#TFMFONTS= .:${MAKEJVFDIR}/tfm/ptex//
|
||||
#XDEFS+= -DDEFAULT_TFMFONTS=\"\\\"${TFMFONTS}\\\"\"
|
||||
#PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}//
|
||||
#XDEFS+= -DDEFAULT_PKFONTS=\"\\\"${PKFONTS}\\\"\"
|
||||
|
||||
DOCS= FAQ xdvi.icon CHANGES.xdvik-jp \
|
||||
README README.xdvik-jp \
|
||||
READMEs/ChangeLog.xdvik20a-j1.1 \
|
||||
READMEs/ChangeLog.xdvik20c-j1.0 \
|
||||
READMEs/HEADERS.DOC \
|
||||
@ -83,37 +84,65 @@ DOCS= FAQ \
|
||||
READMEs/README.xdvik20c-j1.0p1.patch
|
||||
|
||||
# ******************
|
||||
# DVIPS:
|
||||
# Please set up [dvipsk¡Ãdvipsk-vflib¡Ãdvi2ps] to DVIPS when I want to
|
||||
# change it.
|
||||
# Also, please change script $ PREFIX/libexec/xdviprint after installation
|
||||
# when the choice other than this wants.
|
||||
# USEPK_MODE:
|
||||
# Mode name of Metafont to give to print/pkfonts* is set.
|
||||
# It is care-and-attention to the other program how MetaFont wants to
|
||||
# be executed that do not use modeless. Kpathsea always searches
|
||||
# modeless because even if you specify any kind of mode.
|
||||
# MAKETEX_MODE:
|
||||
# When MetaFont is used the kind of the printer that I use is set up.
|
||||
# The default is ljfour.
|
||||
# It does not need to change it particularly because it is able to set up it
|
||||
# with the option of xdvi.
|
||||
# It is mode name of default at executing MetaFont. The default is ljfour.
|
||||
# This needs not to be changed. It can be changed with an option or resource.
|
||||
# DVIPS:
|
||||
# Specification of `dvi -> ps' conversion program to use.
|
||||
# You can set following one: dvips, dvipsk-vflib, dvi2ps.
|
||||
# Other way... After installation if you change script
|
||||
# ${PREFIX}/libexec/xdviprint, any kind of program can be used.
|
||||
# ******************
|
||||
FONTTYPE?= metafont
|
||||
USEPK_MODE?= preview
|
||||
MAKETEX_MODE?= ljfour
|
||||
SHRINK?= 6
|
||||
BDPI?= 300
|
||||
DVIPS?= dvips
|
||||
|
||||
.if ${DVIPS} == dvi2ps
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvi2ps
|
||||
.elif ${DVIPS} == dvipsk-vflib
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.elif ${DVIPS} == dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
.if ${FONTTYPE} == metafont
|
||||
RUN_DEPENDS+= ptex-common:${PORTSDIR}/japanese/ptex-common
|
||||
MF_MODE= ${MAKETEX_MODE}
|
||||
.else
|
||||
DVIPS=dvipsk
|
||||
CONFIGURE_ARGS+= --with-dvifilter=dvips
|
||||
MF_MODE= ${USEPK_MODE}
|
||||
CONFIGURE_ARGS+=--without-mktexpk-default
|
||||
.endif
|
||||
|
||||
#.include <bsd.port.pre.mk>
|
||||
.BEGIN:
|
||||
.if ${FONTTYPE} != metafont && \
|
||||
${FONTTYPE} != pkfont && ${FONTTYPE} != pkall
|
||||
@${ECHO} "Error: invalid value for FONTTYPE: \"${FONTTYPE}\""
|
||||
@${ECHO} "Possible values are: metafont, pkall and pkfont."
|
||||
@${FALSE}
|
||||
.endif
|
||||
.if ${BDPI} != 118 && ${BDPI} != 240 && \
|
||||
${BDPI} != 300 && ${BDPI} != 360 && \
|
||||
${BDPI} != 400 && ${BDPI} != 600
|
||||
@${ECHO} "Error: invalid value for BDPI: \"${BDPI}\""
|
||||
@${ECHO} "Possible values are: all, 118, 240, 300, 360, 400 and 600."
|
||||
@${FALSE}
|
||||
.endif
|
||||
.if ${DVIPS} != dvi2ps && ${DVIPS} != dvips
|
||||
@${ECHO} "Error: invalid value for DVIPS: \"${DVIPS}\""
|
||||
@${ECHO} "Possible values are: dvi2ps and dvips."
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@( \
|
||||
${ECHO} "************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "************************************************************")
|
||||
${ECHO} "**************************************************************"; \
|
||||
${ECHO} "* japanese/dvipsk is used in default. *"; \
|
||||
${ECHO} "* Please refer to Makefile about a change. *"; \
|
||||
${ECHO} "* or, after installation, please change *"; \
|
||||
${ECHO} "* ${PREFIX}/libexec/xdviprint. *"; \
|
||||
${ECHO} "**************************************************************")
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
@ -127,9 +156,9 @@ post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/xdvi
|
||||
@for i in ${DOCS} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${PREFIX}/share/doc/xdvi ; \
|
||||
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i \
|
||||
${PREFIX}/share/doc/xdvi ; \
|
||||
done
|
||||
.endif
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -8,6 +8,8 @@ Japanese dvi file previewer for X.
|
||||
5. built-in EPS preview (need to any ghostscript)
|
||||
6. print out from this program (use lpr).
|
||||
7. convert dvi -> ps (default use japanese/dvipsk).
|
||||
8. support wheel mouse.
|
||||
8. wheel mouse supports.
|
||||
|
||||
- Kentaro Inagaki <inagaki@tg.rim.or.jp>
|
||||
|
||||
WWW: http://www.ipc.chiba-u.ac.jp/~yamaga/index-j.html
|
||||
|
Loading…
Reference in New Issue
Block a user