From a3b8ad1e386c6c7cb50ce9bb0866940be06d5473 Mon Sep 17 00:00:00 2001 From: lme Date: Tue, 31 Jul 2007 21:08:54 +0000 Subject: Update to 2.0.10 PR: 114738 Submitted by: KATO Tsuguru Approved by: miwi (mentor) --- biology/gperiodic/Makefile | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'biology/gperiodic/Makefile') diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile index e49c771662a2..792bfedd3b37 100644 --- a/biology/gperiodic/Makefile +++ b/biology/gperiodic/Makefile @@ -6,39 +6,36 @@ # $MCom: ports/biology/gperiodic/Makefile,v 1.1 2006/09/29 23:42:13 ahze Exp $ PORTNAME= gperiodic -PORTVERSION= 2.0.8 -PORTREVISION= 4 +PORTVERSION= 2.0.10 CATEGORIES= biology -MASTER_SITES= http://koti.welho.com/jfrantz/software/ +MASTER_SITES= http://www.frantz.fi/software/ MAINTAINER= ports@FreeBSD.org COMMENT= Displays a periodic table of the elements USE_XLIB= yes -USE_GNOME= gnomeprefix gtk20 -ALL_TARGET= ${PORTNAME} +USE_GNOME= gtk20 USE_GETTEXT= yes -LANGS= da fr pl sv tr -post-patch: - @${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \ - s|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile +LANGS= da fr gl it pl ru sv tr -post-build: +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} `pkg-config --cflags --libs gtk+-2.0` \ + gperiodic.c -o gperiodic .for lang in ${LANGS} cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin - @${MKDIR} ${PREFIX}/share/gnome/applications + @${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \ - ${PREFIX}/share/gnome/applications - @${MKDIR} ${PREFIX}/share/gnome/pixmaps + ${PREFIX}/share/applications + @${MKDIR} ${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/gperiodic.png \ - ${PREFIX}/share/gnome/pixmaps + ${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/gperiodic-crystal.png \ - ${PREFIX}/share/gnome/pixmaps + ${PREFIX}/share/pixmaps .for lang in ${LANGS} @${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ -- cgit