aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-01-31 04:12:04 +0800
committermezz <mezz@FreeBSD.org>2006-01-31 04:12:04 +0800
commit8f97e0047f61dc365a9f41717f5e0cab551681b5 (patch)
treeb26fac7412b7fe9b4c1a69b2ee8262714df1175f /graphics
parentb527b63f5529e7b46d33420d761d3177f263bb26 (diff)
downloadfreebsd-ports-gnome-8f97e0047f61dc365a9f41717f5e0cab551681b5.tar.gz
freebsd-ports-gnome-8f97e0047f61dc365a9f41717f5e0cab551681b5.tar.zst
freebsd-ports-gnome-8f97e0047f61dc365a9f41717f5e0cab551681b5.zip
Update to 2.7, see changelog for details:
http://comix.sourceforge.net/changelog.html
Diffstat (limited to 'graphics')
-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