aboutsummaryrefslogtreecommitdiffstats
path: root/print/dvipdfmx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/dvipdfmx/Makefile')
-rw-r--r--print/dvipdfmx/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index 6a48994dca79..c12b90e7a2cb 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -19,14 +19,15 @@ 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
+post-patch:
+ @${RM} ${WRKSRC}/data/config/dvipdfmx.cfg.orig
+
pre-install:
- ${CP} ${LOCALBASE}/bin/dvipdfm ${LOCALBASE}/bin/dvipdfm-orig || ${TRUE}
- ${MV} ${LOCALBASE}/share/texmf/dvipdfm ${LOCALBASE}/share/texmf/dvipdfm-orig || ${TRUE}
+ ${CP} ${LOCALBASE}/bin/dvipdfm ${LOCALBASE}/bin/dvipdfm-orig > /dev/null 2>&1 || ${TRUE}
+ ${MV} ${LOCALBASE}/share/texmf/dvipdfm ${LOCALBASE}/share/texmf/dvipdfm-orig > /dev/null 2>&1 || ${TRUE}
post-install:
@${LN} -fs ${LOCALBASE}/share/ghostscript/Resource ${PREFIX}/share/texmf/dvipdfm/