diff options
author | hrs <hrs@FreeBSD.org> | 2009-03-29 16:51:48 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2009-03-29 16:51:48 +0800 |
commit | 7d20e57f8c6577bc49de63f186ea2df566a0a35e (patch) | |
tree | 910978e4638856942e148e12675bc016e14450e3 /print | |
parent | 7f4e69b23d9034f3470acee7493c5979e518ee8f (diff) | |
download | freebsd-ports-gnome-7d20e57f8c6577bc49de63f186ea2df566a0a35e.tar.gz freebsd-ports-gnome-7d20e57f8c6577bc49de63f186ea2df566a0a35e.tar.zst freebsd-ports-gnome-7d20e57f8c6577bc49de63f186ea2df566a0a35e.zip |
Fix packing list.
Diffstat (limited to 'print')
-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%% |