aboutsummaryrefslogtreecommitdiff
path: root/graphics/comix
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-01-30 20:12:04 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-01-30 20:12:04 +0000
commitf8173df16e28f01b846276943ec558a35d3f9e6f (patch)
tree8d09ed518e42a0f84416947a894c239e787e6320 /graphics/comix
parent6f09005a38f74978b079239f61ec10d0c6ff9c17 (diff)
downloadports-f8173df16e28f01b846276943ec558a35d3f9e6f.tar.gz
ports-f8173df16e28f01b846276943ec558a35d3f9e6f.zip
Notes
Diffstat (limited to 'graphics/comix')
-rw-r--r--graphics/comix/Makefile13
-rw-r--r--graphics/comix/distinfo6
-rw-r--r--graphics/comix/pkg-plist10
3 files changed, 22 insertions, 7 deletions
diff --git a/graphics/comix/Makefile b/graphics/comix/Makefile
index ba73b7b439e5..7aa2fb44ee6d 100644
--- a/graphics/comix/Makefile
+++ b/graphics/comix/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= comix
-PORTVERSION= 2.6
+PORTVERSION= 2.7
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,7 +18,7 @@ RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar \
${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
NO_BUILD= yes
-USE_GNOME= pygtk2
+USE_GNOME= desktopfileutils pygtk2
USE_PYTHON= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
@@ -27,7 +27,7 @@ DOCS= COPYING ChangeLog README
MAN1= comix.1
post-extract:
- @${GUNZIP_CMD} ${WRKSRC}/comix.1.gz
+ @${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|g ; s|1.gz|1|g' \
@@ -36,9 +36,14 @@ post-patch:
do-install:
@(cd ${WRKSRC} ; \
${PYTHON_CMD} install.py install --installdir ${PREFIX})
+ @${MKDIR} ${PREFIX}/share/mime/packages/
+ @${INSTALL_DATA} ${WRKSRC}/mime/${PORTNAME}.xml \
+ ${PREFIX}/share/mime/packages/
-.ifndef (NOPORTDOCS)
post-install:
+ @-update-desktop-database
+ @-update-mime-database ${PREFIX}/share/mime
+.ifndef (NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
diff --git a/graphics/comix/distinfo b/graphics/comix/distinfo
index eb00f5f53699..cb81a7175604 100644
--- a/graphics/comix/distinfo
+++ b/graphics/comix/distinfo
@@ -1,3 +1,3 @@
-MD5 (comix-2.6.tar.gz) = 5f25239adc7842c0fff234f4caaae340
-SHA256 (comix-2.6.tar.gz) = d08727cf7115069a65865a0e04822378386826b27d6ffb6d09e46505a7a20b46
-SIZE (comix-2.6.tar.gz) = 95886
+MD5 (comix-2.7.tar.gz) = 95dc7c392251014e73cca0a7fe562803
+SHA256 (comix-2.7.tar.gz) = 4249d6234dc7095bd501017eaab1127d769dbb1c2f9380f4060fe2349f05de26
+SIZE (comix-2.7.tar.gz) = 125077
diff --git a/graphics/comix/pkg-plist b/graphics/comix/pkg-plist
index 24672f02d600..ccb818a20192 100644
--- a/graphics/comix/pkg-plist
+++ b/graphics/comix/pkg-plist
@@ -3,9 +3,15 @@ share/applications/comix.desktop
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
+share/locale/de/LC_MESSAGES/comix.mo
share/locale/es/LC_MESSAGES/comix.mo
+share/locale/pt_BR/LC_MESSAGES/comix.mo
share/locale/sv/LC_MESSAGES/comix.mo
share/locale/zh_CN/LC_MESSAGES/comix.mo
+share/mime/application/x-cbr.xml
+share/mime/application/x-cbt.xml
+share/mime/application/x-cbz.xml
+share/mime/packages/comix.xml
share/pixmaps/comix.png
share/pixmaps/comix/stock-flip-horizontal-16.png
share/pixmaps/comix/stock-flip-vertical-16.png
@@ -15,3 +21,7 @@ share/pixmaps/comix/stock-rotate-90-16.png
@dirrm share/pixmaps/comix
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true