summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/acroread8/Makefile6
-rw-r--r--print/acroread8/files/reader_prefs.diff8
2 files changed, 13 insertions, 1 deletions
diff --git a/print/acroread8/Makefile b/print/acroread8/Makefile
index 5c64889b4f8..28320435d6d 100644
--- a/print/acroread8/Makefile
+++ b/print/acroread8/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2009/11/09 19:14:53 tez Exp $
+# $NetBSD: Makefile,v 1.11 2010/01/14 19:35:55 tez Exp $
DISTNAME= acroread8 # overridden below
PKGNAME= acroread8-8.1.7
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.7/enu/
@@ -60,6 +61,9 @@ do-install:
( ${ECHO} n; ${ECHO} n ) | InstallDir=${DESTDIR}${PREFIX}/Acrobat8 ${WRKSRC}/INSTALL
post-install:
+ cd ${DESTDIR}${PREFIX}/Acrobat8/Adobe/Reader8/Reader/GlobalPrefs && \
+ ${BIN_PATCH} <${FILESDIR}/reader_prefs.diff && \
+ ${RM} -f reader_prefs.orig
cd ${DESTDIR}${PREFIX}/Acrobat8/Adobe/Reader8/bin && \
${BIN_PATCH} <${FILESDIR}/acroread.diff && \
${SED} -e 's:@PREFIX@:${PREFIX}:' \
diff --git a/print/acroread8/files/reader_prefs.diff b/print/acroread8/files/reader_prefs.diff
new file mode 100644
index 00000000000..082f24c4c16
--- /dev/null
+++ b/print/acroread8/files/reader_prefs.diff
@@ -0,0 +1,8 @@
+--- reader_prefs.orig 2010-01-14 13:15:31.064565700 -0600
++++ reader_prefs 2010-01-14 13:14:57.180723500 -0600
+@@ -9,3 +9,5 @@
+ >>]
+ >>
+
++ /JavaScriptPerms [/c << /BlackList [/t (DocMedia.newPlayer) ] >> ]
++