summaryrefslogtreecommitdiffstats
path: root/japanese/dvipsk-vflib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/dvipsk-vflib/Makefile')
-rw-r--r--japanese/dvipsk-vflib/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/japanese/dvipsk-vflib/Makefile b/japanese/dvipsk-vflib/Makefile
index f83cb8f..cc607e0 100644
--- a/japanese/dvipsk-vflib/Makefile
+++ b/japanese/dvipsk-vflib/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: dvipsk + jpatch + vflib-patch
-# Version required: 5.78a + p1.4 + 1.1alpha
+# Version required: 5.78a + p1.4c + 1.1alpha
# Date created: 25 Aug 1997
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
#
@@ -14,13 +14,13 @@ MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/ \
ftp://ftp.riken.go.jp/pub/CTAN/dviware/dvipsk/ \
ftp://ftp.u-aizu.ac.jp/pub/tex/CTAN/dviware/dvipsk/ \
http://math.shinshu-u.ac.jp/~nakayama/howto/tex/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} dvipsk-jpatch-p1.4.tar.gz \
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} dvipsk-jpatch-p1.4c.tar.gz \
dvipsk-vflib-1.1alpha.patch.tgz
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
RUN_DEPENDS= ptex-common:${PORTSDIR}/japanese/ptex-common \
- ${PREFIX}/share/fonts/vf-a2bk:${PORTSDIR}/japanese/vftool
+ ${LOCALBASE}/share/fonts/vf-a2bk:${PORTSDIR}/japanese/vftool
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
MANUAL_PACKAGE_BUILD= incompatible with other versions of dvipsk-*
@@ -29,15 +29,15 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_install="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}"
MAKE_FLAGS= XCFLAGS="-I${PREFIX}/include" XLOADLIBES="-L${PREFIX}/lib"
+SCRIPTS_ENV= MV=${MV} SED=${SED}
MAN1= dvips.1 afm2tfm.1
+IS_INTERACTIVE= yes
TEXMF= ${PREFIX}/share/texmf
DVIPSDIR= ${TEXMF}/dvips
TEXDIR= ${TEXMF}/tex
BINARIES= dvips afm2tfm
-BACKUP_FILES= base/asex.enc base/psfonts.map config/config.ps
-BASE_FILES= vffonts.pro cmfonts.map cyrfonts.map eufonts.map lafonts.map \
- reencode/asex.enc
+BASE_FILES= config.ps cmfonts.map cyrfonts.map eufonts.map lafonts.map
CONTRIB_DIRS= afm-extra bbfig configs psfig volker
CONTRIB_FILES= MakeTeXPK.pl PSTricks colorsep.pro config.proto crop.lpr \
timesmat.sty whichinpath afm-extra/*.ed bbfig/bb* \
@@ -57,18 +57,10 @@ post-build:
../squeeze < colorsep.lpro > colorsep.pro \
)
-pre-install:
- @for i in ${BACKUP_FILES} ; do \
- if [ -f ${DVIPSDIR}/$$i ] ; then \
- ${MV} ${DVIPSDIR}/$$i ${DVIPSDIR}/$$i.bak ; \
- fi ; \
- done
-
post-install:
@for i in ${BINARIES} ; do \
strip ${PREFIX}/bin/$$i ; \
done
- @${MKDIR} ${DVIPSDIR}/config
@for i in ${CONTRIB_DIRS} ; do \
${MKDIR} ${DVIPSDIR}/contrib/$$i ; \
done
@@ -78,7 +70,6 @@ post-install:
for i in ${BASE_FILES} ; do \
${INSTALL_DATA} $$i ${DVIPSDIR}/base ; \
done ; \
- ${INSTALL_DATA} config.ps ${DVIPSDIR}/config ; \
cd ${WRKSRC}/dvipsk/contrib ; \
for i in ${CONTRIB_FILES} ; do \
${INSTALL_DATA} $$i ${DVIPSDIR}/contrib/$$i ; \
@@ -98,8 +89,8 @@ post-install:
@${LN} -fs ${DVIPSDIR}/contrib ${PREFIX}/share/doc/dvips/contrib
.endif
.if defined(BATCH)
- @${SETENV} PKG_PREFIX=${PREFIX} \
- ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL BATCH
+ @${SETENV} PKG_PREFIX=${PREFIX} BATCH=yes \
+ ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.else
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
OpenPOWER on IntegriCloud