aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-06-26 20:40:54 +0800
committerpav <pav@FreeBSD.org>2004-06-26 20:40:54 +0800
commit5f6c3155478c1fb3da2a593e226cc9142a988903 (patch)
tree5da40ee4a08480ddd6d94ec169ca3be376cef5b3 /science
parent0d86d79e009992c74529c73c6deaab62168f07e6 (diff)
downloadfreebsd-ports-gnome-5f6c3155478c1fb3da2a593e226cc9142a988903.tar.gz
freebsd-ports-gnome-5f6c3155478c1fb3da2a593e226cc9142a988903.tar.zst
freebsd-ports-gnome-5f6c3155478c1fb3da2a593e226cc9142a988903.zip
- Update to 0.4.5
Made possible by: marcus (installing XDG entries to ${X11BASE})
Diffstat (limited to 'science')
-rw-r--r--science/gchempaint/Makefile7
-rw-r--r--science/gchempaint/distinfo4
-rw-r--r--science/gchempaint/pkg-plist4
3 files changed, 12 insertions, 3 deletions
diff --git a/science/gchempaint/Makefile b/science/gchempaint/Makefile
index ef981a1c9753..58e65e8a0c84 100644
--- a/science/gchempaint/Makefile
+++ b/science/gchempaint/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= gchempaint
-PORTVERSION= 0.4.4
+PORTVERSION= 0.4.5
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -20,6 +20,11 @@ USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix intlhack libgnomeprintui libgnomeui lthack
USE_GMAKE= yes
USE_LIBTOOL_VER=13
+USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
+post-patch:
+ @${REINPLACE_CMD} -e 's|$$(datadir)/mime/|${PREFIX}/share/mime/|' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|$$(datadir)/mime$$|${PREFIX}/share/mime|' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/science/gchempaint/distinfo b/science/gchempaint/distinfo
index ef5a5d7463d1..8c7730eace25 100644
--- a/science/gchempaint/distinfo
+++ b/science/gchempaint/distinfo
@@ -1,2 +1,2 @@
-MD5 (gchempaint-0.4.4.tar.bz2) = 1d877cff475eda565e8db4a67f4f7c02
-SIZE (gchempaint-0.4.4.tar.bz2) = 619320
+MD5 (gchempaint-0.4.5.tar.bz2) = b074f844b044868ee999eaaf680ba975
+SIZE (gchempaint-0.4.5.tar.bz2) = 622075
diff --git a/science/gchempaint/pkg-plist b/science/gchempaint/pkg-plist
index 3857ff72ff31..904a8950fc49 100644
--- a/science/gchempaint/pkg-plist
+++ b/science/gchempaint/pkg-plist
@@ -62,6 +62,8 @@ share/locale/fr/LC_MESSAGES/gchempaint.mo
share/locale/it/LC_MESSAGES/gchempaint.mo
share/locale/pl/LC_MESSAGES/gchempaint.mo
share/locale/zh_CN/LC_MESSAGES/gchempaint.mo
+share/mime/application/x-gchempaint.xml
+share/mime/packages/gchempaint.xml
@dirrm share/gnome/gchempaint/glade
@dirrm share/gnome/gchempaint
@dirrm share/gnome/help/gchempaint/C/figures
@@ -69,3 +71,5 @@ share/locale/zh_CN/LC_MESSAGES/gchempaint.mo
@dirrm share/gnome/help/gchempaint
@dirrm share/gnome/omf/gchempaint
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gchempaint/gchempaint-C.omf 2>/dev/null || /usr/bin/true
+@exec update-mime-database %D/share/mime
+@unexec update-mime-database %D/share/mime