diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-26 12:40:54 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-26 12:40:54 +0000 |
commit | ef24cc3e4ea3acd969d30b8686f8170e5d701896 (patch) | |
tree | 5805aa40c005b9089003756b50541c69c92aa30a /science | |
parent | 92469f652fbb864521c8d83f24169e8257bbbf8f (diff) | |
download | ports-ef24cc3e4ea3acd969d30b8686f8170e5d701896.tar.gz ports-ef24cc3e4ea3acd969d30b8686f8170e5d701896.zip |
Notes
Diffstat (limited to 'science')
-rw-r--r-- | science/gchempaint/Makefile | 7 | ||||
-rw-r--r-- | science/gchempaint/distinfo | 4 | ||||
-rw-r--r-- | science/gchempaint/pkg-plist | 4 |
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 |