diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2009-03-29 08:51:48 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2009-03-29 08:51:48 +0000 |
commit | f63b36949a1a8950842601fc74ddfb4b4a418116 (patch) | |
tree | 881e5e968c7c8e4151c3184870ce7ec405434447 /print/acroread9 | |
parent | 5a9de0f29b66cbfcb82e8cfcef05a7bd16d87c6a (diff) | |
download | ports-f63b36949a1a8950842601fc74ddfb4b4a418116.tar.gz ports-f63b36949a1a8950842601fc74ddfb4b4a418116.zip |
Notes
Diffstat (limited to 'print/acroread9')
-rw-r--r-- | print/acroread9/Makefile | 3 | ||||
-rw-r--r-- | print/acroread9/files/pkg-deinstall.in | 2 | ||||
-rw-r--r-- | print/acroread9/pkg-plist | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/print/acroread9/Makefile b/print/acroread9/Makefile index 0e51fb312f64..fa873bbd0482 100644 --- a/print/acroread9/Makefile +++ b/print/acroread9/Makefile @@ -7,6 +7,7 @@ PORTNAME= acroread9 PORTVERSION= 9.1.0 +PORTREVISION= 1 CATEGORIES?= print linux MASTER_SITES?= http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${PORTVERSION:S,.0$,,}/${ADOBE_LANG:L}/ \ ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/${PORTVERSION:S,.0$,,}/${ADOBE_LANG:L}/ @@ -71,9 +72,11 @@ pre-install: @${INSTALL_SCRIPT} \ ${WRKDIR}/ln ${WRKDIR}/rm ${WRKDIR}/mv \ ${WRKDIR}/bin + do-install: @${ECHO_CMD} Installing... @${MKDIR} ${INSTALLDIR} + @${MKDIR} ${PREFIX}/share/desktop-directories @cd ${WRKSRC} && ${SETENV} PATH=${WRKDIR}/bin:${PATH} ${INSTALLEXEC} > /dev/null .if ${ADOBE_LANG:U} != ENU diff --git a/print/acroread9/files/pkg-deinstall.in b/print/acroread9/files/pkg-deinstall.in index 81a3e1d1f6ac..e1b0995498c9 100644 --- a/print/acroread9/files/pkg-deinstall.in +++ b/print/acroread9/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/AdobeReader9.png share/icons/hicolor/128x128/apps/adobe.pdf.png diff --git a/print/acroread9/pkg-plist b/print/acroread9/pkg-plist index 101bac0689ab..182b99516bbc 100644 --- a/print/acroread9/pkg-plist +++ b/print/acroread9/pkg-plist @@ -502,5 +502,7 @@ @dirrm %%ACRODIR%%/Adobe/Reader9 @dirrm %%ACRODIR%%/Adobe @dirrm %%ACRODIR%% +@exec /bin/mkdir -p %D/share/desktop-directories +@dirrmtry share/desktop-directories @dirrmtry %%ACROBASE%% @dirrmtry %%ADOBEBASE%% |