summaryrefslogtreecommitdiff
path: root/biology/gperiodic
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-18 18:48:13 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-18 18:48:13 +0000
commitf4bbeec3cb4ba07948b01fb43639fba73e653bf2 (patch)
tree5c0b1618950f9c704018941c2dd4c5fc6266673e /biology/gperiodic
parentUpdate to version 1.0.0 (diff)
Update to version 2.0.8
PR: ports/75106 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=124402
Diffstat (limited to 'biology/gperiodic')
-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 ccdefd47480e..95673a372b03 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 34f8e5d754cf..96ed0f8b9ce7 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 fab17955c11b..db8a172e1e3b 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