1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-09 02:22:18 +00:00
freebsd-ports/print/dvipdfmx/Makefile

50 lines
1.4 KiB
Makefile

# New ports collection makefile for: dvipdfmx
# Date created: 8 March 2001
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#
PORTNAME= dvipdfmx
PORTVERSION= 20100328
#PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/latest/ \
http://project.ktug.or.kr/dvipdfmx/snapshot/archive/
DIST_SUBDIR= dvipdfmx
MAINTAINER= matusita@FreeBSD.org
COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
paper:${PORTSDIR}/print/libpaper
RUN_DEPENDS= ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
kpsepath:${PORTSDIR}/print/teTeX-base
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${LOCALBASE}/share
PLIST_SUB= DVIPDFMXDIR=${DVIPDFMXDIR} \
FONTMAPDIR=${FONTMAPDIR} \
GLYPHMAPDIR=${GLYPHMAPDIR} \
FONTCMAPDIR=${FONTCMAPDIR} \
MKTEXLSR=${MKTEXLSR} \
ADOBECMAPDIR=${ADOBECMAPDIR}
MAN1= extractbb.1
TEXMFDIR= share/texmf
DVIPDFMXDIR= ${TEXMFDIR}/dvipdfmx
FONTMAPDIR= ${TEXMFDIR}/fonts/map/dvipdfmx
GLYPHMAPDIR= ${TEXMFDIR}/fonts/map/glyphlist
FONTCMAPDIR= ${TEXMFDIR}/fonts/cmap
ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
post-install:
${MKDIR} ${LOCALBASE}/${FONTCMAPDIR}
${LN} -s -f ${ADOBECMAPDIR} \
${LOCALBASE}/${FONTCMAPDIR}/adobe-cmaps
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
.include <bsd.port.mk>