aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2009-03-29 16:07:00 +0800
committerhrs <hrs@FreeBSD.org>2009-03-29 16:07:00 +0800
commit50af326065e6f01a670b03906d5859ab6f3d30c4 (patch)
tree844c4e6e39d4ffa42af79e96cb8732b7b5beda7d /print
parentf6424afe668f0564d600711928d65c029648e837 (diff)
downloadfreebsd-ports-gnome-50af326065e6f01a670b03906d5859ab6f3d30c4.tar.gz
freebsd-ports-gnome-50af326065e6f01a670b03906d5859ab6f3d30c4.tar.zst
freebsd-ports-gnome-50af326065e6f01a670b03906d5859ab6f3d30c4.zip
Fix packing list.
Spotted by: QAT
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%%