summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/acroread/Makefile2
-rw-r--r--print/acroread/pkg-plist52
2 files changed, 28 insertions, 26 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile
index 143ca0f09ebc..0c659a24cb18 100644
--- a/print/acroread/Makefile
+++ b/print/acroread/Makefile
@@ -32,8 +32,10 @@ NO_FILTER_SHLIBS= yes
.if ${ARCH} == "i386"
WRKSRC= ${WRKDIR}/ILINXR.install
+PLIST_SUB= "ARCHDIR=intellinux"
.elif ${ARCH} == "alpha"
WRKSRC= ${WRKDIR}/AOSFR.install
+PLIST_SUB= "ARCHDIR=alphaosf"
.endif
pre-configure:
diff --git a/print/acroread/pkg-plist b/print/acroread/pkg-plist
index 98447d5ce340..61484a72246e 100644
--- a/print/acroread/pkg-plist
+++ b/print/acroread/pkg-plist
@@ -1,5 +1,5 @@
Acrobat3/Browsers/netscape
-Acrobat3/Browsers/intellinux/nppdf.so
+Acrobat3/Browsers/%%ARCHDIR%%/nppdf.so
Acrobat3/Fonts/AcroRead.upr
Acrobat3/Fonts/AdobeSansMM
Acrobat3/Fonts/AdobeSansMM.MMM
@@ -26,43 +26,43 @@ Acrobat3/Reader/MapTypes.pdf
Acrobat3/Reader/ReadMe
Acrobat3/Reader/ReadMe302
Acrobat3/Reader/help/reader.pdf
-Acrobat3/Reader/intellinux/app-defaults/AcroRead
-Acrobat3/Reader/intellinux/bin/acroread
-Acrobat3/Reader/intellinux/lib/XKeysymDB
-Acrobat3/Reader/intellinux/lib/libagm.so
-Acrobat3/Reader/intellinux/lib/libagm.so.2.0
-Acrobat3/Reader/intellinux/lib/libpfs.so
-Acrobat3/Reader/intellinux/lib/libpfs.so.2.5
-Acrobat3/Reader/intellinux/lib/libreadcore.so
-Acrobat3/Reader/intellinux/lib/libreadcore.so.3.0
-Acrobat3/Reader/intellinux/plug_ins/AFString.js
-Acrobat3/Reader/intellinux/plug_ins/AForm.js
-Acrobat3/Reader/intellinux/plug_ins/AcroForm.api
-Acrobat3/Reader/intellinux/plug_ins/Highlight.api
-Acrobat3/Reader/intellinux/plug_ins/ewh.api
-Acrobat3/Reader/intellinux/plug_ins/wwwlink.api
+Acrobat3/Reader/%%ARCHDIR%%/app-defaults/AcroRead
+Acrobat3/Reader/%%ARCHDIR%%/bin/acroread
+Acrobat3/Reader/%%ARCHDIR%%/lib/XKeysymDB
+Acrobat3/Reader/%%ARCHDIR%%/lib/libagm.so
+Acrobat3/Reader/%%ARCHDIR%%/lib/libagm.so.2.0
+Acrobat3/Reader/%%ARCHDIR%%/lib/libpfs.so
+Acrobat3/Reader/%%ARCHDIR%%/lib/libpfs.so.2.5
+Acrobat3/Reader/%%ARCHDIR%%/lib/libreadcore.so
+Acrobat3/Reader/%%ARCHDIR%%/lib/libreadcore.so.3.0
+Acrobat3/Reader/%%ARCHDIR%%/plug_ins/AFString.js
+Acrobat3/Reader/%%ARCHDIR%%/plug_ins/AForm.js
+Acrobat3/Reader/%%ARCHDIR%%/plug_ins/AcroForm.api
+Acrobat3/Reader/%%ARCHDIR%%/plug_ins/Highlight.api
+Acrobat3/Reader/%%ARCHDIR%%/plug_ins/ewh.api
+Acrobat3/Reader/%%ARCHDIR%%/plug_ins/wwwlink.api
Acrobat3/Reader/res/splashScreen11R.xbm
Acrobat3/Reader/res/splashScreen18R.xpm
Acrobat3/Reader/res/splashScreen21.xbm
Acrobat3/Reader/res/splashScreen28.xpm
Acrobat3/bin/acroread
bin/acroread
-@exec ln -sf ../../Fonts %D/Acrobat3/Reader/intellinux/fonts
-@unexec rm -f %D/Acrobat3/Reader/intellinux/fonts
-@exec ln -sf ../../res %D/Acrobat3/Reader/intellinux/res
-@unexec rm -f %D/Acrobat3/Reader/intellinux/res
+@exec ln -sf ../../Fonts %D/Acrobat3/Reader/%%ARCHDIR%%/fonts
+@unexec rm -f %D/Acrobat3/Reader/%%ARCHDIR%%/fonts
+@exec ln -sf ../../res %D/Acrobat3/Reader/%%ARCHDIR%%/res
+@unexec rm -f %D/Acrobat3/Reader/%%ARCHDIR%%/res
@exec echo "Be sure to read the license agreement in"
@exec echo "%D/Acrobat3/Reader/License.pdf"
@dirrm Acrobat3/bin
@dirrm Acrobat3/Reader/res
-@dirrm Acrobat3/Reader/intellinux/plug_ins
-@dirrm Acrobat3/Reader/intellinux/lib
-@dirrm Acrobat3/Reader/intellinux/bin
-@dirrm Acrobat3/Reader/intellinux/app-defaults
-@dirrm Acrobat3/Reader/intellinux
+@dirrm Acrobat3/Reader/%%ARCHDIR%%/plug_ins
+@dirrm Acrobat3/Reader/%%ARCHDIR%%/lib
+@dirrm Acrobat3/Reader/%%ARCHDIR%%/bin
+@dirrm Acrobat3/Reader/%%ARCHDIR%%/app-defaults
+@dirrm Acrobat3/Reader/%%ARCHDIR%%
@dirrm Acrobat3/Reader/help
@dirrm Acrobat3/Reader
@dirrm Acrobat3/Fonts
-@dirrm Acrobat3/Browsers/intellinux
+@dirrm Acrobat3/Browsers/%%ARCHDIR%%
@dirrm Acrobat3/Browsers
@dirrm Acrobat3