1998-07-19 22:35:39 -04:00
|
|
|
# New ports collection makefile for: xdvik + jp-patch
|
|
|
|
# Version required: 20c
|
|
|
|
# Date created: 15 Jun 1998
|
|
|
|
# Whom: Kentaro Inagaki <inagaki@tg.rim.or.jp>
|
1998-06-14 03:58:50 -04:00
|
|
|
#
|
1999-01-17 22:07:21 -05:00
|
|
|
# $Id: Makefile,v 1.4 1998/10/07 06:11:42 asami Exp $
|
1998-06-14 03:58:50 -04:00
|
|
|
#
|
|
|
|
|
1998-07-19 22:35:39 -04:00
|
|
|
DISTNAME= xdvik-20c
|
|
|
|
PKGNAME= ja-vfxdvik-20c
|
1998-06-14 03:58:50 -04:00
|
|
|
CATEGORIES= japanese print
|
1998-07-19 22:35:39 -04:00
|
|
|
MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20c/ \
|
1998-06-14 03:58:50 -04:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
|
1998-07-19 22:35:39 -04:00
|
|
|
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
|
1998-06-14 03:58:50 -04:00
|
|
|
|
1998-07-19 22:35:39 -04:00
|
|
|
RUN_DEPENDS= mf:${PORTSDIR}/japanese/ptex-common
|
1999-01-17 22:07:21 -05:00
|
|
|
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
1998-06-14 03:58:50 -04:00
|
|
|
|
1998-07-19 22:35:39 -04:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1998-06-14 03:58:50 -04:00
|
|
|
|
1998-07-19 22:35:39 -04:00
|
|
|
USE_GMAKE=YES
|
1998-06-14 03:58:50 -04:00
|
|
|
GNU_CONFIGURE=YES
|
1998-07-19 22:35:39 -04:00
|
|
|
CONFIGURE_ARGS=--enable-shared=yes --with-dvifilter=dvips
|
1998-06-14 03:58:50 -04:00
|
|
|
#CONFIGURE_ARGS=--enable-shared=yes --with-dvifilter=dvi2ps
|
1998-07-19 22:35:39 -04:00
|
|
|
CONFIGURE_ENV=ac_cv_path_install="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}"
|
|
|
|
MAKE_FLAGS=VFLIB='-L$(LOCALBASE)/lib -lVFlib2 -lttf'
|
|
|
|
STRIP=
|
|
|
|
MAN1=xdvi.1
|
1998-06-14 03:58:50 -04:00
|
|
|
|
1998-07-19 22:35:39 -04:00
|
|
|
TEXMF= ${PREFIX}/share/texmf
|
|
|
|
XDVIDIR= ${TEXMF}/xdvi
|
|
|
|
BINARIES= xdvi
|
1998-06-14 03:58:50 -04:00
|
|
|
|
1998-07-19 22:35:39 -04:00
|
|
|
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
|
1998-06-14 03:58:50 -04:00
|
|
|
|
|
|
|
pre-build:
|
1998-07-19 22:35:39 -04:00
|
|
|
@(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
1998-06-14 03:58:50 -04:00
|
|
|
|
|
|
|
do-install:
|
1998-07-19 22:35:39 -04:00
|
|
|
@(cd ${WRKSRC}/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
1998-06-14 03:58:50 -04:00
|
|
|
|
|
|
|
post-install:
|
1998-07-19 22:35:39 -04:00
|
|
|
@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
|
1998-06-14 03:58:50 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|