aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-03-29 08:07:00 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-03-29 08:07:00 +0000
commite0dfdb6afaa312a0b1261885ef126bc54cecd3cc (patch)
tree86e0bb92289dee8877d37a2d179e71524dc70b1e /print
parent1287c508152f04358bfda57cf38f1ef3d4f3a6e9 (diff)
downloadports-e0dfdb6afaa312a0b1261885ef126bc54cecd3cc.tar.gz
ports-e0dfdb6afaa312a0b1261885ef126bc54cecd3cc.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/acroread8/Makefile2
-rw-r--r--print/acroread8/files/pkg-deinstall.in3
-rw-r--r--print/acroread8/pkg-plist2
3 files changed, 6 insertions, 1 deletions
diff --git a/print/acroread8/Makefile b/print/acroread8/Makefile
index 98b5e72d785b..416c01b3191a 100644
--- a/print/acroread8/Makefile
+++ b/print/acroread8/Makefile
@@ -7,6 +7,7 @@
PORTNAME= acroread8
PORTVERSION= 8.1.4
+PORTREVISION= 1
CATEGORIES?= print linux
MASTER_SITES?= http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/${PORTVERSION}/${ADOBE_LANG:L}/ \
ftp://ftp.adobe.com/pub/adobe/reader/unix/8.x/${PORTVERSION}/${ADOBE_LANG:L}/
@@ -73,6 +74,7 @@ pre-install:
${WRKDIR}/bin
do-install:
@${ECHO_CMD} Installing...
+ @${MKDIR} ${PREFIX}/share/desktop-directories
@${MKDIR} ${INSTALLDIR}
@cd ${WRKSRC} && ${SETENV} PATH=${WRKDIR}/bin:${PATH} ${INSTALLEXEC} > /dev/null
diff --git a/print/acroread8/files/pkg-deinstall.in b/print/acroread8/files/pkg-deinstall.in
index 44fe15e010b5..8fa47f424567 100644
--- a/print/acroread8/files/pkg-deinstall.in
+++ b/print/acroread8/files/pkg-deinstall.in
@@ -7,6 +7,8 @@ if [ "$2" != "POST-DEINSTALL" \
fi
cat <<EOT | while read F; do rm -f %%PREFIX%%/$F; done
+share/applications/AdobeReader.desktop
+share/applications/defaults.list.new
share/icons/hicolor/.xdg-icon-resource-dummy
share/icons/hicolor/128x128/apps/AdobeReader8.png
share/icons/hicolor/128x128/apps/adobe.pdf.png
@@ -136,4 +138,3 @@ share/icons/hicolor/20x20/mimetypes
share/icons/hicolor/20x20/apps
share/icons/hicolor/20x20
EOT
-
diff --git a/print/acroread8/pkg-plist b/print/acroread8/pkg-plist
index 5f76fedf94cc..f096d4e91d7d 100644
--- a/print/acroread8/pkg-plist
+++ b/print/acroread8/pkg-plist
@@ -1752,5 +1752,7 @@
@dirrm %%ACRODIR%%/Adobe/Help
@dirrm %%ACRODIR%%/Adobe
@dirrm %%ACRODIR%%
+@exec /bin/mkdir -p %D/share/desktop-directories
+@dirrmtry share/desktop-directories
@dirrmtry %%ACROBASE%%
@dirrmtry %%ADOBEBASE%%