summaryrefslogtreecommitdiff
path: root/print/dvipdfmx/Makefile
blob: 5018976229a2a8e8f31c10deb380b13cdef59787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.30 2009/06/09 21:31:04 minskim Exp $

DISTNAME=	dvipdfmx-20070518
PKGNAME=	${DISTNAME:S/-/-0.0.0./}
PKGREVISION=	2
CATEGORIES=	print converters
MASTER_SITES=	http://project.ktug.or.kr/dvipdfmx/snapshot/release/

MAINTAINER=	kei@NetBSD.org
HOMEPAGE=	http://project.ktug.or.kr/dvipdfmx/
COMMENT=	Dvi to pdf converter with CID-keyed font support

DEPENDS+=	adobe-cmaps>=20060615:../../fonts/adobe-cmaps

CONFLICTS+=	dvipdfm-[0-9]*
CONFLICTS+=	ja-dvipdfm-[0-9]*

USE_DIRS+=		texmf-1.4
USE_TOOLS+=		gs:run
GNU_CONFIGURE=		YES
MAKE_ENV+=		PKG_LOCALTEXMFPREFIX=${PREFIX:Q}/share/texmf-dist

.include "../../graphics/png/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../print/dvipdfmx/map.mk"
.include "../../print/kpathsea/buildlink3.mk"
.include "../../print/kpathsea/texmf.mk"

post-install:
	cd ${PREFIX}/share/texmf-dist/dvipdfm; \
	for file in ../../Adobe/Resource/CMap/*; do \
		${LN} -sf $$file `${BASENAME} $$file`; \
	done
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dvipdfmx
	${MV} ${PREFIX}/share/texmf-dist/dvipdfm/dvipdfmx.cfg \
		${PREFIX}/share/examples/dvipdfmx/

.include "../../mk/bsd.pkg.mk"