summaryrefslogtreecommitdiff
path: root/print/dvipdfmx/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'print/dvipdfmx/INSTALL')
-rw-r--r--print/dvipdfmx/INSTALL26
1 files changed, 26 insertions, 0 deletions
diff --git a/print/dvipdfmx/INSTALL b/print/dvipdfmx/INSTALL
new file mode 100644
index 00000000000..7a1472765f0
--- /dev/null
+++ b/print/dvipdfmx/INSTALL
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2003/02/24 15:29:25 kei Exp $
+
+TEXMF=@PREFIX@/share/texmf
+
+case ${STAGE} in
+PRE-INSTALL)
+ ${MV} $TEXMF/dvipdfm/config $TEXMF/dvipdfm/config.orig
+ ;;
+
+POST-INSTALL)
+ cd $TEXMF/dvipdfm/CMap
+ # @PREFIX@/share/Adobe/Resource/CMap/*
+ for file in ../../../Adobe/Resource/CMap/*; do
+ ${LN} -s $file `${BASENAME} $file`
+ done
+ @PREFIX@/bin/mktexlsr
+ ;;
+
+*)
+ ${ECHO} "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+
+esac