aboutsummaryrefslogtreecommitdiffstats
path: root/print/dvipdfmx/Makefile
blob: 6a48994dca79f394311ba30efd39ceb0849d5508 (plain) (blame)
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
# New ports collection makefile for:    dvipdfmx
# Date created:     8 March 2001
# Whom:         Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   dvipdfmx
PORTVERSION=    20030313
PORTREVISION=   1
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

MAN1=       dvipdfm.1

USE_OPENSSL=    yes
GNU_CONFIGURE=  yes

pre-install:
    ${CP} ${LOCALBASE}/bin/dvipdfm ${LOCALBASE}/bin/dvipdfm-orig || ${TRUE}
    ${MV} ${LOCALBASE}/share/texmf/dvipdfm ${LOCALBASE}/share/texmf/dvipdfm-orig || ${TRUE}

post-install:
    @${LN} -fs ${LOCALBASE}/share/ghostscript/Resource ${PREFIX}/share/texmf/dvipdfm/
    ${LOCALBASE}/bin/mktexlsr

.include <bsd.port.mk>