summaryrefslogtreecommitdiffstats
path: root/japanese/vfxdvi300/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-01-21 06:32:54 +0000
committerasami <asami@FreeBSD.org>1999-01-21 06:32:54 +0000
commit9d791f3410abbc7d60ac71e3a99ff167d931d83a (patch)
treead72d621b85315e00358389a23a4d42d5ccd1989 /japanese/vfxdvi300/Makefile
parent20a838ee9a9973b8fe6b09a699f56cf1e32b78e1 (diff)
downloadFreeBSD-ports-9d791f3410abbc7d60ac71e3a99ff167d931d83a.zip
FreeBSD-ports-9d791f3410abbc7d60ac71e3a99ff167d931d83a.tar.gz
Resurrect ja-vfxdvi[RESOLUTION] - these were not replacable by ja-vfxdvik.
Requested by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
Diffstat (limited to 'japanese/vfxdvi300/Makefile')
-rw-r--r--japanese/vfxdvi300/Makefile70
1 files changed, 70 insertions, 0 deletions
diff --git a/japanese/vfxdvi300/Makefile b/japanese/vfxdvi300/Makefile
new file mode 100644
index 0000000..ace47e1
--- /dev/null
+++ b/japanese/vfxdvi300/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for: xdvi-17miyu + patches + vector font library
+# Version required: pl17
+# Date created: 8 Nov 1996
+# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
+#
+# $Id: Makefile,v 1.15 1998/12/23 01:27:41 steve Exp $
+#
+
+DISTNAME= xdvi-17
+PKGNAME= ja-vfxdvi${RESOLUTION}-17
+CATEGORIES= japanese print
+MASTER_SITES= http://www.jp.FreeBSD.org/~mita/LOCAL_PORTS/ \
+ ftp://ftp.hipecs.hokudai.ac.jp/pub/news-archive/fj.comp.texhax/volume95/Sep/ \
+ ftp://ftp.hipecs.hokudai.ac.jp/pub/news-archive/fj.comp.texhax/volume95/Oct/ \
+ ftp://ftp.hipecs.hokudai.ac.jp/pub/news-archive/fj.comp.texhax/volume95/Nov/
+DISTFILES= xdvi-17.tar.gz xdvi-17miyu.patch-beta6.gz \
+ xdvi18-okagawa-patch \
+ 950923.02.Z 951007.02.Z 951109.04.Z
+
+MAINTAINER= mita@jp.FreeBSD.org
+
+LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
+RUN_DEPENDS= ${LOCALBASE}/lib/fonts/pk${RESOLUTION}:${PORTSDIR}/print/pkfonts${RESOLUTION}
+
+WRKSRC= ${WRKDIR}
+DIST_SUBDIR= xdvi
+USE_IMAKE= yes
+XMKMF= xmkmf
+EXTRACT_ONLY= xdvi-17.tar.gz
+
+.if !defined(RESOLUTION)
+RESOLUTION= 300
+.else
+.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \
+ ${RESOLUTION} != 300 && ${RESOLUTION} != 360 && \
+ ${RESOLUTION} != 400 && ${RESOLUTION} != 600
+.BEGIN:
+ @${ECHO} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\""
+ @${ECHO} "Possible values are: 118, 240, 300, 360, 400 and 600."
+ @${FALSE}
+.endif
+.endif
+
+pre-patch:
+ @(cd ${WRKDIR} ; \
+ ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/950923.02.Z | uudecode ; \
+ ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/951109.04.Z | uudecode ; \
+ uudecode ${DISTDIR}/${DIST_SUBDIR}/xdvi18-okagawa-patch ; \
+ gzip -d xdvi18.vflib.patch.gz ; \
+ ${PATCH} < ${FILESDIR}/xdvi18.vflib.patch.of.patch >/dev/null 2>&1; \
+ gzip -d xdvi-17+ptex.fixed.patch.gz ; \
+ ${PATCH} < ${FILESDIR}/xdvi-17+ptex.fixed.patch.of.patch >/dev/null 2>&1; \
+ ${MKDIR} tmp; \
+ cd tmp; \
+ ${PATCH} -f < ../xdvi18.vflib.patch >/dev/null 2>&1; \
+ cd .. ; \
+ ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/xdvi-17miyu.patch-beta6.gz | patch -d . >/dev/null 2>&1; \
+ ${GZCAT} xdvi-pl17+markpage+toc+printdvi+paper.patch.gz | patch -d . >/dev/null 2>&1 ; \
+ ${PATCH} -d . < xdvi-17+ptex.fixed.patch >/dev/null 2>&1; \
+ ${CP} tmp/dnpzeit.c tmp/zeit.c . ; \
+ )
+
+post-patch:
+.if defined(BATCH)
+ @(cd ${WRKDIR}; sh ${FILESDIR}/customize.sh ${RESOLUTION} BATCH)
+.else
+ @(cd ${WRKDIR}; sh ${FILESDIR}/customize.sh ${RESOLUTION})
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud