# $NetBSD: Makefile,v 1.24 2006/03/06 23:02:13 joerg Exp $ DISTNAME= dvipdfmx-20050831 PKGNAME= ${DISTNAME:S/-/-0.0.0./} PKGREVISION= 2 CATEGORIES= print converters MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/current/ MAINTAINER= kei@NetBSD.org HOMEPAGE= http://project.ktug.or.kr/dvipdfmx/ COMMENT= Dvi to pdf converter with CID-keyed font support DEPENDS+= adobe-cmaps>=20051109:../../fonts/adobe-cmaps CONFLICTS+= dvipdfm-[0-9]* CONFLICTS+= ja-dvipdfm-[0-9]* USE_TOOLS+= gs:run GNU_CONFIGURE= YES MAKE_ENV+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX:Q} .include "../../graphics/png/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../print/dvipdfmx/map.mk" .include "../../print/teTeX/module.mk" post-install: cd ${PKG_LOCALTEXMFPREFIX}/dvipdfm/CMap; \ for file in ../../../Adobe/Resource/CMap/*; do \ ${LN} -s $$file `${BASENAME} $$file`; \ done ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dvipdfmx ${MV} ${PKG_LOCALTEXMFPREFIX}/dvipdfm/config/dvipdfmx.cfg \ ${PREFIX}/share/examples/dvipdfmx/ .include "../../mk/bsd.pkg.mk"