# New ports collection makefile for: dvipdfmx # Date created: 8 March 2001 # Whom: Shen Chuan-Hsing # # $FreeBSD$ # PORTNAME= dvipdfmx PORTVERSION= 20100328 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/latest/ \ http://project.ktug.or.kr/dvipdfmx/snapshot/archive/ DIST_SUBDIR= dvipdfmx MAINTAINER= ports@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= png15:${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