aboutsummaryrefslogtreecommitdiff
path: root/print/dvipdfmx/Makefile
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2004-02-08 16:29:16 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2004-02-08 16:29:16 +0000
commita061fccc362d3284d2bbac3a632227f290acbf5d (patch)
tree8a23bf674bbedaa6cc6ed05a31cd5f7a5ae6c13b /print/dvipdfmx/Makefile
parenta0162b67bde15c6e0d5d4cff314063987a8265e8 (diff)
Notes
Diffstat (limited to 'print/dvipdfmx/Makefile')
-rw-r--r--print/dvipdfmx/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index c4e837ee6939..3fe85519ff5a 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -7,10 +7,15 @@
PORTNAME= dvipdfmx
PORTVERSION= 20031116
+PORTREVISION= 1
CATEGORIES= print
-MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/release/
+MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/release/:main \
+ http://project.ktug.or.kr/dvipdfmx/snapshot/patch/:patch1
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:main \
+ dvipdfmx-${PORTVERSION}.patch:patch1
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= matusita@FreeBSD.org
COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX
@@ -19,6 +24,10 @@ RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTS
kpsepath:${PORTSDIR}/print/teTeX
GNU_CONFIGURE= yes
+PATCH_STRIP= -p1
+
+post-patch:
+ (cd ${WRKSRC}/src; ${PATCH} --quiet < ${DISTDIR}/dvipdfmx-${PORTVERSION}.patch)
post-install:
@${LN} -fs ${LOCALBASE}/share/ghostscript/Resource ${PREFIX}/share/texmf/dvipdfm/