aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-20 18:16:00 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-20 18:16:00 +0000
commit060ae2a71d9aedf78f4f04488c18286c14a072e0 (patch)
tree365041338cf3d9ead46e988491e16f51f99fc7f0 /print
parent98065ed058ea5310fadb991f6145125ba5a3e8ac (diff)
downloadports-060ae2a71d9aedf78f4f04488c18286c14a072e0.tar.gz
ports-060ae2a71d9aedf78f4f04488c18286c14a072e0.zip
Do not install the .desktop file.
Requested by: maintainer, krion
Notes
Notes: svn path=/head/; revision=162895
Diffstat (limited to 'print')
-rw-r--r--print/acroread7/Makefile7
-rw-r--r--print/acroread7/files/pkg-install.in16
-rw-r--r--print/acroread7/pkg-deinstall10
3 files changed, 3 insertions, 30 deletions
diff --git a/print/acroread7/Makefile b/print/acroread7/Makefile
index 9a5aaa0ae449..bf314498eb98 100644
--- a/print/acroread7/Makefile
+++ b/print/acroread7/Makefile
@@ -7,7 +7,7 @@
PORTNAME= acroread7
PORTVERSION?= 7.0.1
-PORTREVISION?= 1
+PORTREVISION?= 2
PORTEPOCH?= 1
CATEGORIES?= print linux
MASTER_SITES?= http://ardownload.adobe.com/pub/adobe/reader/unix/7x/${VERSIONDIR}/${ADOBE_LANG:L}/ \
@@ -34,8 +34,8 @@ PLIST_SUB= ACRODIR=${ACRODIR} \
PLUGINDIR=${PLUGINDIR} \
ADOBE_LANG=${ADOBE_LANG:U} \
LOCALE_NAME=${LOCALE_NAME}
-SUB_FILES= ln mv rm pkg-message pkg-install
-SUB_LIST= ADOBE_LANG=${ADOBE_LANG:U} ACRODIR=${ACRODIR}
+SUB_FILES= ln mv rm pkg-message
+SUB_LIST= ADOBE_LANG=${ADOBE_LANG:U}
PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC= ${WRKDIR}/AdobeReader
@@ -84,7 +84,6 @@ do-install:
@cd ${WRKSRC} && ${SETENV} PATH=${WRKDIR}/bin:${PATH} ${INSTALLEXEC}
${CHMOD} 0 ${INSTALLDIR}/Reader/intellinux/plug_ins/PPKLite.api
${BRANDELF} -t Linux ${INSTALLDIR}/Reader/intellinux/bin/acroread
- @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.if ${ADOBE_LANG:U} != ENU
post-install:
diff --git a/print/acroread7/files/pkg-install.in b/print/acroread7/files/pkg-install.in
deleted file mode 100644
index 6d2c888c684c..000000000000
--- a/print/acroread7/files/pkg-install.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-[ "$2" != "POST-INSTALL" ] && exit 0
-
-if [ ! -e $PKG_PREFIX/share/applications/AdobeReader.desktop ]; then
- mkdir -p $PKG_PREFIX/share/applications
- cp -p $PKG_PREFIX/%%ACRODIR%%/Resource/Support/AdobeReader_GNOME.desktop \
- $PKG_PREFIX/share/applications/AdobeReader.desktop
- cat >>$PKG_PREFIX/share/applications/AdobeReader.desktop <<EOF
-Comment=View PDF documents
-StartupNotify=true
-EOF
- cp -p $PKG_PREFIX/%%ACRODIR%%/Resource/Icons/AdobeReader.png \
- $PKG_PREFIX/share/pixmaps
- update-desktop-database >/dev/null || true
-fi
diff --git a/print/acroread7/pkg-deinstall b/print/acroread7/pkg-deinstall
deleted file mode 100644
index 0a6ab65f7d81..000000000000
--- a/print/acroread7/pkg-deinstall
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-[ "$2" != "POST-DEINSTALL" ] && exit 0
-
-if [ ! -e $PKG_PREFIX/Adobe/Acrobat7.0 ]; then
- rm -f $PKG_PREFIX/share/applications/AdobeReader.desktop
- rm -f $PKG_PREFIX/share/pixmaps/AdobeReader.png
- rmdir $PKG_PREFIX/share/applications 2>/dev/null || true
- update-desktop-database >/dev/null || true
-fi