aboutsummaryrefslogtreecommitdiffstats
path: root/print/acroread7
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2007-06-09 19:18:46 +0800
committerhrs <hrs@FreeBSD.org>2007-06-09 19:18:46 +0800
commita8c733b958423d9efca37c3723273ff7a9bc768a (patch)
tree685fa7860a455baaebb34ce6aba160532404fb91 /print/acroread7
parent949b1084437374fb9af6ed845237539483747a9d (diff)
downloadfreebsd-ports-gnome-a8c733b958423d9efca37c3723273ff7a9bc768a.tar.gz
freebsd-ports-gnome-a8c733b958423d9efca37c3723273ff7a9bc768a.tar.zst
freebsd-ports-gnome-a8c733b958423d9efca37c3723273ff7a9bc768a.zip
Use @dirrmtry for Adobe and Adobe/Acrobat7.0 directories
(and use ADOBEBASE and ACROBASE for consistency). PR: ports/112941 Submitted by: edwin
Diffstat (limited to 'print/acroread7')
-rw-r--r--print/acroread7/Makefile8
-rw-r--r--print/acroread7/pkg-plist.7.0.92
2 files changed, 8 insertions, 2 deletions
diff --git a/print/acroread7/Makefile b/print/acroread7/Makefile
index 5cb29e6b371a..325099d9cedd 100644
--- a/print/acroread7/Makefile
+++ b/print/acroread7/Makefile
@@ -7,7 +7,7 @@
PORTNAME= acroread7
PORTVERSION?= 7.0.9
-PORTREVISION?= 1
+PORTREVISION?= 2
PORTEPOCH?= 1
CATEGORIES?= print linux
MASTER_SITES?= http://ardownload.adobe.com/pub/adobe/reader/unix/7x/${VERSIONDIR}/${ADOBE_LANG:L}/ \
@@ -30,6 +30,8 @@ USE_X_PREFIX= yes
NO_BUILD= yes
PLIST= ${PKGDIR}/pkg-plist.${PORTVERSION}
PLIST_SUB= ACRODIR=${ACRODIR} \
+ ACROBASE=${ACROBASE} \
+ ADOBEBASE=${ADOBEBASE} \
PLUGINDIR=${PLUGINDIR} \
ADOBE_LANG=${ADOBE_LANG:U} \
LOCALE_NAME=${LOCALE_NAME}
@@ -59,7 +61,9 @@ LANG_NONENU?= "@comment "
.endif
PLIST_SUB+= LANG_NONENU=${LANG_NONENU}
-ACRODIR= Adobe/Acrobat7.0/${ADOBE_LANG:U}
+ADOBEBASE= Adobe
+ACROBASE= ${ADOBEBASE}/Acrobat7.0
+ACRODIR= ${ACROBASE}/${ADOBE_LANG:U}
PLUGINDIR= lib/browser_linux_plugins
INSTALLDIR= ${PREFIX}/${ACRODIR}
INSTALLEXEC= ${SETENV} UNAME_s=Linux \
diff --git a/print/acroread7/pkg-plist.7.0.9 b/print/acroread7/pkg-plist.7.0.9
index 188f34c78adb..08fed9319634 100644
--- a/print/acroread7/pkg-plist.7.0.9
+++ b/print/acroread7/pkg-plist.7.0.9
@@ -718,3 +718,5 @@
@dirrm %%ACRODIR%%/Browser/HowTo
@dirrm %%ACRODIR%%/Browser
@dirrm %%ACRODIR%%
+@dirrmtry %%ACROBASE%%
+@dirrmtry %%ADOBEBASE%%