aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-24 18:13:13 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-24 18:13:13 +0000
commita7975925ff49ef40ac3db42ede8b64c99c2e4e48 (patch)
tree9e9c18e8063bfbea2e2ee2a8b35045fc0d5cb2b0 /science
parent6b5c068dfbbc1580fa22d4dab9b6b6ba4c74f11a (diff)
downloadports-a7975925ff49ef40ac3db42ede8b64c99c2e4e48.tar.gz
ports-a7975925ff49ef40ac3db42ede8b64c99c2e4e48.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/gchemutils/Makefile9
-rw-r--r--science/gchemutils/distinfo4
-rw-r--r--science/gchemutils/pkg-plist11
3 files changed, 19 insertions, 5 deletions
diff --git a/science/gchemutils/Makefile b/science/gchemutils/Makefile
index af174bcdeca8..91e85ac68ed7 100644
--- a/science/gchemutils/Makefile
+++ b/science/gchemutils/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= gchemutils
-PORTVERSION= 0.2.5
-PORTREVISION= 1
+PORTVERSION= 0.2.7
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -20,10 +19,14 @@ LIB_DEPENDS= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext \
USE_BZIP2= yes
USE_X_PREFIX= yes
-USE_GNOME= gnomehack gnomeprefix libglade2 libgnomeprint libgnomeui
+USE_GNOME= gnomehack gnomeprefix intlhack libglade2 libgnomeprint libgnomeui
USE_GMAKE= yes
USE_LIBTOOL_VER=15
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
+post-patch:
+ @${REINPLACE_CMD} -e 's|(datadir)/mime$$|(prefix)/share/mime| ; s|(datadir)/mime/|(prefix)/share/mime/|g' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/science/gchemutils/distinfo b/science/gchemutils/distinfo
index f4d2c50abc07..e06f3c68cfb3 100644
--- a/science/gchemutils/distinfo
+++ b/science/gchemutils/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome-chemistry-utils-0.2.5.tar.bz2) = 40aab80476187645e05dabf1ffb3caad
-SIZE (gnome-chemistry-utils-0.2.5.tar.bz2) = 385604
+MD5 (gnome-chemistry-utils-0.2.7.tar.bz2) = bff67ef7ffc53f004c09c0b739f965b1
+SIZE (gnome-chemistry-utils-0.2.7.tar.bz2) = 396124
diff --git a/science/gchemutils/pkg-plist b/science/gchemutils/pkg-plist
index 8e7024867f95..c0fb84d6bdd6 100644
--- a/science/gchemutils/pkg-plist
+++ b/science/gchemutils/pkg-plist
@@ -1,4 +1,5 @@
bin/gchem3d
+bin/gchem3d-viewer
include/gcu/chem3d/gtkchem3dviewer.h
include/gcu/chemistry/atom.h
include/gcu/chemistry/bond.h
@@ -28,6 +29,7 @@ lib/libgtkperiodic.so
lib/libgtkperiodic.so.2
libdata/bonobo/servers/gchem3d.server
libdata/pkgconfig/gcu.pc
+share/gnome/applications/gchem3d-viewer.desktop
share/gnome/doc/gchemutils/reference/html/annotated.html
share/gnome/doc/gchemutils/reference/html/atom_8h-source.html
share/gnome/doc/gchemutils/reference/html/bond_8h-source.html
@@ -71,6 +73,8 @@ share/gnome/doc/gchemutils/reference/html/files.html
share/gnome/doc/gchemutils/reference/html/functions.html
share/gnome/doc/gchemutils/reference/html/functions_func.html
share/gnome/doc/gchemutils/reference/html/functions_vars.html
+share/gnome/doc/gchemutils/reference/html/gchem3d-viewer_8c.html
+share/gnome/doc/gchemutils/reference/html/gchem3d-viewer_8c-source.html
share/gnome/doc/gchemutils/reference/html/globals.html
share/gnome/doc/gchemutils/reference/html/globals_enum.html
share/gnome/doc/gchemutils/reference/html/globals_func.html
@@ -111,9 +115,14 @@ share/gnome/gchemutils/elements.xml
share/gnome/gchemutils/glade/gtkperiodic.glade
share/gnome/mime-info/gchemutils.keys
share/gnome/mime-info/gchemutils.mime
+share/locale/de/LC_MESSAGES/gnome-chemistry-utils.mo
share/locale/fr/LC_MESSAGES/gnome-chemistry-utils.mo
share/locale/it/LC_MESSAGES/gnome-chemistry-utils.mo
share/locale/pl/LC_MESSAGES/gnome-chemistry-utils.mo
+share/mime/chemical/x-mdl-molfile.xml
+share/mime/chemical/x-pdb.xml
+share/mime/chemical/x-xyz.xml
+share/mime/packages/gchemutils.xml
@dirrm include/gcu/chem3d
@dirrm include/gcu/chemistry
@dirrm include/gcu/crystalviewer
@@ -125,3 +134,5 @@ share/locale/pl/LC_MESSAGES/gnome-chemistry-utils.mo
@dirrm share/gnome/doc/gchemutils/reference
@dirrm share/gnome/doc/gchemutils
@dirrm share/gnome/doc
+@exec update-mime-database %D/share/mime
+@unexec update-mime-database %D/share/mime