aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-19 02:48:13 +0800
committerkrion <krion@FreeBSD.org>2004-12-19 02:48:13 +0800
commit9001284740ebe500dbc305264e8162d07bd787d7 (patch)
tree3dbd4365b1f6ea36f5d25dab9ebc195f6b31b506
parent8cb3861a754add4cee47d89efa8a74d25804eb62 (diff)
downloadfreebsd-ports-graphics-9001284740ebe500dbc305264e8162d07bd787d7.tar.gz
freebsd-ports-graphics-9001284740ebe500dbc305264e8162d07bd787d7.tar.zst
freebsd-ports-graphics-9001284740ebe500dbc305264e8162d07bd787d7.zip
Update to version 2.0.8
PR: ports/75106 Submitted by: Ports Fury
-rw-r--r--biology/gperiodic/Makefile22
-rw-r--r--biology/gperiodic/distinfo4
-rw-r--r--biology/gperiodic/pkg-plist3
3 files changed, 19 insertions, 10 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile
index ccdefd47480..95673a372b0 100644
--- a/biology/gperiodic/Makefile
+++ b/biology/gperiodic/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gperiodic
-PORTVERSION= 2.0.7
-PORTREVISION= 3
+PORTVERSION= 2.0.8
CATEGORIES= biology
MASTER_SITES= http://koti.welho.com/jfrantz/software/
@@ -15,16 +14,15 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Displays a periodic table of the elements
USE_X_PREFIX= yes
-USE_GNOME= gtk20
-ALL_TARGET= ${PORTNAME}
+USE_GNOME= gnomehier gtk20
USE_REINPLACE= yes
+ALL_TARGET= ${PORTNAME}
-LANGS= da fr pl sv tr
+LANGS= da fr pl sv tr
post-patch:
- @${REINPLACE_CMD} -e "s|^CFLAGS=|CFLAGS+=|; \
- s|-DGTK_DISABLE_DEPRECATED||" \
- ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \
+ s|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile
post-build:
.for lang in ${LANGS}
@@ -33,6 +31,14 @@ post-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/share/gnome/applications
+ ${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \
+ ${PREFIX}/share/gnome/applications
+ @${MKDIR} ${PREFIX}/share/gnome/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/gperiodic.png \
+ ${PREFIX}/share/gnome/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/gperiodic-crystal.png \
+ ${PREFIX}/share/gnome/pixmaps
.for lang in ${LANGS}
@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
diff --git a/biology/gperiodic/distinfo b/biology/gperiodic/distinfo
index 34f8e5d754c..96ed0f8b9ce 100644
--- a/biology/gperiodic/distinfo
+++ b/biology/gperiodic/distinfo
@@ -1,2 +1,2 @@
-MD5 (gperiodic-2.0.7.tar.gz) = b9e74139d4b468f290297fcfb61a7084
-SIZE (gperiodic-2.0.7.tar.gz) = 124798
+MD5 (gperiodic-2.0.8.tar.gz) = cfe23eaa21707c2c42bcd6399161ec2e
+SIZE (gperiodic-2.0.8.tar.gz) = 125402
diff --git a/biology/gperiodic/pkg-plist b/biology/gperiodic/pkg-plist
index fab17955c11..db8a172e1e3 100644
--- a/biology/gperiodic/pkg-plist
+++ b/biology/gperiodic/pkg-plist
@@ -2,6 +2,9 @@ bin/gperiodic
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
+share/gnome/applications/gperiodic.desktop
+share/gnome/pixmaps/gperiodic.png
+share/gnome/pixmaps/gperiodic-crystal.png
share/locale/da/LC_MESSAGES/gperiodic.mo
share/locale/fr/LC_MESSAGES/gperiodic.mo
share/locale/pl/LC_MESSAGES/gperiodic.mo