From 2a4568caf32402e25f598b3e72ef85019c61f2dd Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 13 Mar 2006 20:36:51 +0000 Subject: Add DragonFly support. Fix PLIST. Bump revision. --- print/acroread7/Makefile | 6 +++--- print/acroread7/PLIST | 4 +++- print/acroread7/distinfo | 4 ++-- print/acroread7/files/acroread.diff | 2 +- print/acroread7/patches/patch-aa | 8 ++++---- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/print/acroread7/Makefile b/print/acroread7/Makefile index 1cf8c3a4d1e..b9b966cf5a1 100644 --- a/print/acroread7/Makefile +++ b/print/acroread7/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2006/03/10 22:44:52 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2006/03/13 20:36:51 joerg Exp $ DISTNAME= acroread7 # Overridden below PKGNAME= acroread7-7.0.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= print MASTER_SITES= http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ @@ -34,7 +34,7 @@ ONLY_FOR_PLATFORM= *-*-i386 # Default (overridden below) PLATFORM= unknown -.if ${OPSYS} == "NetBSD" +.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" . if (${MACHINE_ARCH} == "i386") DEPENDS+= suse_gtk2>=9.1:../../emulators/${SUSE_DIR_PREFIX}_gtk2 DEPENDS+= suse_locale>=9.1:../../emulators/${SUSE_DIR_PREFIX}_locale diff --git a/print/acroread7/PLIST b/print/acroread7/PLIST index efcca302437..98cfaed6295 100644 --- a/print/acroread7/PLIST +++ b/print/acroread7/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/15 14:23:31 markd Exp $ +@comment $NetBSD: PLIST,v 1.2 2006/03/13 20:36:51 joerg Exp $ Acrobat7/Browser/Browser_Plugin_HowTo.txt Acrobat7/Browser/install_browser_plugin Acrobat7/Browser/${PLATFORM}/nppdf.so @@ -107,6 +107,7 @@ Acrobat7/Reader/HowTo/ENU/Sign07.html Acrobat7/Reader/HowTo/ENU/Sign09.html Acrobat7/Reader/HowTo/ENU/Sign11.html Acrobat7/Reader/HowTo/ENU/Sign13.html +Acrobat7/Reader/HowTo/ENU/images Acrobat7/Reader/JavaScripts/JSByteCodeLin.bin Acrobat7/Reader/JavaScripts/WebSearch.js Acrobat7/Reader/Legal/ENU/License.html @@ -179,6 +180,7 @@ Acrobat7/Reader/${PLATFORM}/plug_ins/Spelling.api Acrobat7/Reader/${PLATFORM}/plug_ins/checkers.api Acrobat7/Reader/${PLATFORM}/plug_ins/ewh.api Acrobat7/Reader/${PLATFORM}/plug_ins/wwwlink.api +Acrobat7/Reader/${PLATFORM}/res Acrobat7/Resource/CMap/Identity-H Acrobat7/Resource/CMap/Identity-V Acrobat7/Resource/Font/AdobePiStd.otf diff --git a/print/acroread7/distinfo b/print/acroread7/distinfo index c6867330c91..37de4851349 100644 --- a/print/acroread7/distinfo +++ b/print/acroread7/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/08/19 14:35:28 salo Exp $ +$NetBSD: distinfo,v 1.3 2006/03/13 20:36:51 joerg Exp $ SHA1 (AdbeRdr701_linux_enu.tar.gz) = ab2c83ff58f1e71d29051c95ce745c0bafb77dea RMD160 (AdbeRdr701_linux_enu.tar.gz) = 809bd29984e3d67bac51ce93cf2ce22f43c1b331 Size (AdbeRdr701_linux_enu.tar.gz) = 39476166 bytes -SHA1 (patch-aa) = ba20e9e2e8b7670d11466a9586774fd8c5e6bb6b +SHA1 (patch-aa) = bc3fdad4e82c81f04038c66905d95248d9c072c9 diff --git a/print/acroread7/files/acroread.diff b/print/acroread7/files/acroread.diff index 3d913bb6c49..66189db1f81 100644 --- a/print/acroread7/files/acroread.diff +++ b/print/acroread7/files/acroread.diff @@ -13,7 +13,7 @@ ACRO_CONFIG=intellinux export ACRO_CONFIG ;; -+ NetBSD) ++ NetBSD | DragonFly) + machine_type=`uname -p` + case "$machine_type" in + i386) diff --git a/print/acroread7/patches/patch-aa b/print/acroread7/patches/patch-aa index 9a8a46215ad..095816fee62 100644 --- a/print/acroread7/patches/patch-aa +++ b/print/acroread7/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2005/04/15 14:23:31 markd Exp $ +$NetBSD: patch-aa,v 1.2 2006/03/13 20:36:51 joerg Exp $ --- INSTALL.orig 2005-03-12 14:50:00.000000000 +1300 +++ INSTALL @@ -15,7 +15,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/15 14:23:31 markd Exp $ if [ `uname -s` = "Linux" ] ; then size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )` -+ elif [ `uname -s|sed -e 's|.*\(...\)|\\1|'` = "BSD" ] ; then ++ elif [ `uname -s|sed -e 's|.*\(...\)|\\1|'` = "BSD" -o `uname -s` = "DragonFly" ] ; then + size=`ls -lL "$i" | ( read perm links owner group size date ; echo $size )` else size=`ls -lLon "$i" | ( read perm links owner size date ; echo $size )` @@ -24,7 +24,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/15 14:23:31 markd Exp $ AIX) defdir="/usr/lpp/Adobe/Acrobat7.0" ;; -+ NetBSD) ++ NetBSD | DragonFly) + ;; esac @@ -33,7 +33,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/15 14:23:31 markd Exp $ ReadDefaultNum="$ReadIntelLinuxNum" DefaultName="Intel/Linux" ;; -+ NetBSD) ++ NetBSD | DragonFly) + MachArch=`uname -p` + case "$MachArch" in + i386) -- cgit v1.2.3