2002-05-03 05:48:25 -04:00
|
|
|
# New ports collection makefile for: ja-xpdf
|
|
|
|
# Date created: 21 Avr 2002
|
|
|
|
# Whom: MITA Yoshio <mita@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xpdf
|
2004-04-19 06:55:31 -04:00
|
|
|
PORTVERSION= 3.00
|
2006-02-20 15:34:53 -05:00
|
|
|
PORTREVISION= 2
|
2002-05-03 05:48:25 -04:00
|
|
|
CATEGORIES= japanese
|
|
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
|
|
|
|
DISTNAME= xpdf-japanese
|
|
|
|
|
2006-02-20 15:34:53 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 01:14:21 -05:00
|
|
|
COMMENT= Japanese xpdf font support
|
2002-05-03 05:48:25 -04:00
|
|
|
|
2004-04-19 06:55:31 -04:00
|
|
|
RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf \
|
2006-02-20 15:34:53 -05:00
|
|
|
${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
|
2004-04-19 06:55:31 -04:00
|
|
|
${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho-subst.ttf:${PORTSDIR}/japanese/kochi-ttfonts
|
2002-05-03 05:48:25 -04:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2006-02-20 15:34:53 -05:00
|
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= dot.xpdfrc
|
|
|
|
SUB_LIST= ADOBECMAPDIR=${ADOBECMAPDIR}
|
|
|
|
|
2002-05-03 05:48:25 -04:00
|
|
|
INSTALL_FILES= Adobe-Japan1.cidToUnicode ISO-2022-JP.unicodeMap \
|
|
|
|
EUC-JP.unicodeMap Shift-JIS.unicodeMap \
|
2006-02-20 15:34:53 -05:00
|
|
|
README
|
|
|
|
ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps
|
2004-04-19 06:55:31 -04:00
|
|
|
|
2006-01-25 23:09:47 -05:00
|
|
|
.if defined(WITHOUT_X11)
|
|
|
|
BROKEN= "Broken dependency when WITHOUT_X11 set"
|
|
|
|
.endif
|
|
|
|
|
2002-05-03 05:48:25 -04:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/xpdf/japanese
|
2006-02-20 15:34:53 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/dot.xpdfrc ${PREFIX}/share/xpdf/japanese
|
2002-05-03 05:48:25 -04:00
|
|
|
.for i in ${INSTALL_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/xpdf/japanese
|
|
|
|
.endfor
|
|
|
|
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|