install some icons and use them for the desktop. bump package.
maintainer and ajacoutot@ ok.
This commit is contained in:
parent
a4a0e88a9b
commit
6ef5bed285
@ -1,9 +1,9 @@
|
|||||||
# $OpenBSD: Makefile,v 1.7 2007/12/15 21:43:03 ajacoutot Exp $
|
# $OpenBSD: Makefile,v 1.8 2008/05/02 11:55:42 fgsch Exp $
|
||||||
|
|
||||||
COMMENT= lightweight PDF document viewer
|
COMMENT= lightweight PDF document viewer
|
||||||
|
|
||||||
DISTNAME= epdfview-0.1.6
|
DISTNAME= epdfview-0.1.6
|
||||||
PKGNAME= ${DISTNAME}p3
|
PKGNAME= ${DISTNAME}p4
|
||||||
CATEGORIES= print
|
CATEGORIES= print
|
||||||
HOMEPAGE= http://trac.emma-soft.com/epdfview/
|
HOMEPAGE= http://trac.emma-soft.com/epdfview/
|
||||||
|
|
||||||
@ -47,4 +47,13 @@ CONFIGURE_ARGS+= --with-cups
|
|||||||
CONFIGURE_ARGS+= --without-cups
|
CONFIGURE_ARGS+= --without-cups
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
ICONDIR = $(PREFIX)/share/icons/hicolor
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
${INSTALL_DATA_DIR} ${ICONDIR}/{24x24,32x32,48x48}/apps
|
||||||
|
for i in 24 32 48; do \
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/data/icon_epdfview-$${i}.png \
|
||||||
|
${ICONDIR}/$${i}x$${i}/apps/epdfview.png; \
|
||||||
|
done
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
12
print/epdfview/patches/patch-data_epdfview_desktop
Normal file
12
print/epdfview/patches/patch-data_epdfview_desktop
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
$OpenBSD: patch-data_epdfview_desktop,v 1.1 2008/05/02 11:55:42 fgsch Exp $
|
||||||
|
--- data/epdfview.desktop.orig Thu May 1 14:20:04 2008
|
||||||
|
+++ data/epdfview.desktop Thu May 1 14:23:04 2008
|
||||||
|
@@ -8,7 +8,7 @@ Exec=epdfview %f
|
||||||
|
GenericName=PDF Viewer
|
||||||
|
GenericName[ca]=Visor PDF
|
||||||
|
GenericName[es]=Visor PDF
|
||||||
|
-Icon=postscript-viewer.png
|
||||||
|
+Icon=epdfview.png
|
||||||
|
Name=ePDFViewer
|
||||||
|
Name[ca]=ePDFViewer
|
||||||
|
Name[es]=ePDFViewer
|
@ -1,6 +1,5 @@
|
|||||||
@comment $OpenBSD: PLIST,v 1.3 2007/12/15 21:43:04 ajacoutot Exp $
|
@comment $OpenBSD: PLIST,v 1.4 2008/05/02 11:55:42 fgsch Exp $
|
||||||
bin/epdfview
|
bin/epdfview
|
||||||
share/applications/
|
|
||||||
share/applications/epdfview.desktop
|
share/applications/epdfview.desktop
|
||||||
share/epdfview/
|
share/epdfview/
|
||||||
share/epdfview/pixmaps/
|
share/epdfview/pixmaps/
|
||||||
@ -15,6 +14,17 @@ share/epdfview/pixmaps/stock_zoom-page-width.png
|
|||||||
share/epdfview/ui/
|
share/epdfview/ui/
|
||||||
share/epdfview/ui/epdfview-ui-print.xml
|
share/epdfview/ui/epdfview-ui-print.xml
|
||||||
share/epdfview/ui/epdfview-ui.xml
|
share/epdfview/ui/epdfview-ui.xml
|
||||||
|
share/icons/
|
||||||
|
share/icons/hicolor/
|
||||||
|
share/icons/hicolor/24x24/
|
||||||
|
share/icons/hicolor/24x24/apps/
|
||||||
|
share/icons/hicolor/24x24/apps/epdfview.png
|
||||||
|
share/icons/hicolor/32x32/
|
||||||
|
share/icons/hicolor/32x32/apps/
|
||||||
|
share/icons/hicolor/32x32/apps/epdfview.png
|
||||||
|
share/icons/hicolor/48x48/
|
||||||
|
share/icons/hicolor/48x48/apps/
|
||||||
|
share/icons/hicolor/48x48/apps/epdfview.png
|
||||||
share/locale/ca/LC_MESSAGES/epdfview.mo
|
share/locale/ca/LC_MESSAGES/epdfview.mo
|
||||||
share/locale/de/LC_MESSAGES/epdfview.mo
|
share/locale/de/LC_MESSAGES/epdfview.mo
|
||||||
share/locale/el/LC_MESSAGES/epdfview.mo
|
share/locale/el/LC_MESSAGES/epdfview.mo
|
||||||
@ -24,5 +34,7 @@ share/locale/pl/LC_MESSAGES/epdfview.mo
|
|||||||
share/locale/ru/LC_MESSAGES/epdfview.mo
|
share/locale/ru/LC_MESSAGES/epdfview.mo
|
||||||
share/locale/vi/LC_MESSAGES/epdfview.mo
|
share/locale/vi/LC_MESSAGES/epdfview.mo
|
||||||
share/locale/zh_TW/LC_MESSAGES/epdfview.mo
|
share/locale/zh_TW/LC_MESSAGES/epdfview.mo
|
||||||
|
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
|
||||||
|
@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
|
||||||
@exec %D/bin/update-desktop-database
|
@exec %D/bin/update-desktop-database
|
||||||
@unexec %D/bin/update-desktop-database
|
@unexec %D/bin/update-desktop-database
|
||||||
|
Loading…
Reference in New Issue
Block a user