# New ports collection makefile for: dvipdfmx # Date created: 8 March 2001 # Whom: Shen Chuan-Hsing # # $FreeBSD$ # PORTNAME= dvipdfmx PORTVERSION= 20030813 CATEGORIES= print MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/ MAINTAINER= statue@freebsd.sinica.edu.tw COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX LIB_DEPENDS= png:${PORTSDIR}/graphics/png RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \ kpsepath:${PORTSDIR}/print/teTeX GNU_CONFIGURE= yes post-patch: @${RM} ${WRKSRC}/data/config/dvipdfmx.cfg.orig pre-install: ${CP} ${LOCALBASE}/bin/dvipdfm ${LOCALBASE}/bin/dvipdfm-orig > /dev/null 2>&1 || ${TRUE} ${MV} ${LOCALBASE}/share/texmf/dvipdfm ${LOCALBASE}/share/texmf/dvipdfm-orig > /dev/null 2>&1 || ${TRUE} post-install: @${LN} -fs ${LOCALBASE}/share/ghostscript/Resource ${PREFIX}/share/texmf/dvipdfm/ ${LOCALBASE}/bin/mktexlsr .include