mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
a9dcad2fff
With hat: portmgr Sponsored by: Absolight
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Created by: MITA Yoshio <mita@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xpdf
|
|
PORTVERSION= 3.03
|
|
PORTREVISION= 2
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
|
|
PKGNAMESUFFIX= -jafont
|
|
DISTNAME= xpdf-japanese
|
|
DIST_SUBDIR= ${DISTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Japanese font support for xpdf
|
|
|
|
RUN_DEPENDS= xpdf:graphics/xpdf \
|
|
${ADOBECMAPDIR}/ai0/CMap/Identity-H:print/adobe-cmaps \
|
|
${FONTSDIR}/Ryumin-Light:japanese/font-std \
|
|
${FONTSDIR}/GothicBBB-Medium:japanese/font-std
|
|
|
|
NO_BUILD= yes
|
|
SUB_FILES= dot.xpdfrc
|
|
SUB_LIST= ADOBECMAPDIR=${ADOBECMAPDIR} \
|
|
FONTSDIR=${FONTSDIR}
|
|
PLIST_SUB= EXTRARC=${EXTRARC}
|
|
|
|
FONTSDIR= ${LOCALBASE}/share/fonts/std.ja_JP
|
|
EXTRARC= ${DATADIR}/japanese/dot.xpdfrc
|
|
ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps
|
|
INSTALL_FILES= Adobe-Japan1.cidToUnicode ISO-2022-JP.unicodeMap \
|
|
EUC-JP.unicodeMap Shift-JIS.unicodeMap \
|
|
README ../dot.xpdfrc
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/japanese
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_DATA} ${INSTALL_FILES} ${STAGEDIR}${DATADIR}/japanese
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/japanese/CMap
|
|
cd ${STAGEDIR}${DATADIR}/japanese/CMap && \
|
|
${FIND} ${ADOBECMAPDIR}/aj16/CMap ${ADOBECMAPDIR}/aj20/CMap \
|
|
-type f -exec ${LN} -s -f {} . \;
|
|
|
|
.include <bsd.port.mk>
|