48 lines
1.4 KiB
Makefile
48 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= 20080607
|
|
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= 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}
|
|
|
|
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>
|