diff options
author | lme <lme@FreeBSD.org> | 2007-08-01 05:08:54 +0800 |
---|---|---|
committer | lme <lme@FreeBSD.org> | 2007-08-01 05:08:54 +0800 |
commit | a3b8ad1e386c6c7cb50ce9bb0866940be06d5473 (patch) | |
tree | 84c14e55cb80b04e1670be07e4e372fd7e0fa9d9 /biology/gperiodic/Makefile | |
parent | 2d3a61c85d550958eb8b2e3bc08114dfedb300c8 (diff) | |
download | freebsd-ports-gnome-a3b8ad1e386c6c7cb50ce9bb0866940be06d5473.tar.gz freebsd-ports-gnome-a3b8ad1e386c6c7cb50ce9bb0866940be06d5473.tar.zst freebsd-ports-gnome-a3b8ad1e386c6c7cb50ce9bb0866940be06d5473.zip |
Update to 2.0.10
PR: 114738
Submitted by: KATO Tsuguru <tkato432 (AT) yahoo.com>
Approved by: miwi (mentor)
Diffstat (limited to 'biology/gperiodic/Makefile')
-rw-r--r-- | biology/gperiodic/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
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 \ |