View | Details | Raw Unified | Return to bug 114738
Collapse All | Expand All

(-)biology/gperiodic/Makefile (-15 / +12 lines)
Lines 6-44 Link Here
6
#    $MCom: ports/biology/gperiodic/Makefile,v 1.1 2006/09/29 23:42:13 ahze Exp $
6
#    $MCom: ports/biology/gperiodic/Makefile,v 1.1 2006/09/29 23:42:13 ahze Exp $
7
7
8
PORTNAME=	gperiodic
8
PORTNAME=	gperiodic
9
PORTVERSION=	2.0.8
9
PORTVERSION=	2.0.10
10
PORTREVISION=	4
11
CATEGORIES=	biology
10
CATEGORIES=	biology
12
MASTER_SITES=	http://koti.welho.com/jfrantz/software/
11
MASTER_SITES=	http://www.frantz.fi/software/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Displays a periodic table of the elements
14
COMMENT=	Displays a periodic table of the elements
16
15
17
USE_XLIB=	yes
16
USE_XLIB=	yes
18
USE_GNOME=	gnomeprefix gtk20
17
USE_GNOME=	gtk20
19
ALL_TARGET=	${PORTNAME}
20
USE_GETTEXT=	yes
18
USE_GETTEXT=	yes
21
LANGS=		da fr pl sv tr
22
19
23
post-patch:
20
LANGS=		da fr gl it pl ru sv tr
24
	@${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \
25
		 s|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile
26
21
27
post-build:
22
do-build:
23
	cd ${WRKSRC} && ${CC} ${CFLAGS} `pkg-config --cflags --libs gtk+-2.0` \
24
		gperiodic.c -o gperiodic
28
.for lang in ${LANGS}
25
.for lang in ${LANGS}
29
	cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po
26
	cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po
30
.endfor
27
.endfor
31
28
32
do-install:
29
do-install:
33
	${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin
30
	${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin
34
	@${MKDIR} ${PREFIX}/share/gnome/applications
31
	@${MKDIR} ${PREFIX}/share/applications
35
	${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \
32
	${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \
36
		${PREFIX}/share/gnome/applications
33
		${PREFIX}/share/applications
37
	@${MKDIR} ${PREFIX}/share/gnome/pixmaps
34
	@${MKDIR} ${PREFIX}/share/pixmaps
38
	${INSTALL_DATA} ${WRKSRC}/gperiodic.png \
35
	${INSTALL_DATA} ${WRKSRC}/gperiodic.png \
39
		${PREFIX}/share/gnome/pixmaps
36
		${PREFIX}/share/pixmaps
40
	${INSTALL_DATA} ${WRKSRC}/gperiodic-crystal.png \
37
	${INSTALL_DATA} ${WRKSRC}/gperiodic-crystal.png \
41
		${PREFIX}/share/gnome/pixmaps
38
		${PREFIX}/share/pixmaps
42
.for lang in ${LANGS}
39
.for lang in ${LANGS}
43
	@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
40
	@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
44
	${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
41
	${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
(-)biology/gperiodic/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gperiodic-2.0.8.tar.gz) = cfe23eaa21707c2c42bcd6399161ec2e
1
MD5 (gperiodic-2.0.10.tar.gz) = 9680f8a4850bdafad113fd4af7c57e45
2
SHA256 (gperiodic-2.0.8.tar.gz) = c853953ea7149574214572cb61450b3a822010775d086c8bea5abef9e692284c
2
SHA256 (gperiodic-2.0.10.tar.gz) = 78d72870c51c39e4a35c804c05b8ef5e39f88d42eced52b2934e21d74fb8d096
3
SIZE (gperiodic-2.0.8.tar.gz) = 125402
3
SIZE (gperiodic-2.0.10.tar.gz) = 131213
(-)biology/gperiodic/pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
browse through the elements, and view detailed information about each
2
browse through the elements, and view detailed information about each
3
element.
3
element.
4
4
5
WWW: http://koti.welho.com/jfrantz/software/gperiodic.html
5
WWW: http://www.frantz.fi/software/gperiodic.php
(-)biology/gperiodic/pkg-plist (-3 / +7 lines)
Lines 1-13 Link Here
1
bin/gperiodic
1
bin/gperiodic
2
share/applications/gperiodic.desktop
2
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
3
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
3
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
4
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
4
%%PORTDOCS%%%%DOCSDIR%%/README
5
%%PORTDOCS%%%%DOCSDIR%%/README
5
share/gnome/applications/gperiodic.desktop
6
share/gnome/pixmaps/gperiodic.png
7
share/gnome/pixmaps/gperiodic-crystal.png
8
share/locale/da/LC_MESSAGES/gperiodic.mo
6
share/locale/da/LC_MESSAGES/gperiodic.mo
9
share/locale/fr/LC_MESSAGES/gperiodic.mo
7
share/locale/fr/LC_MESSAGES/gperiodic.mo
8
share/locale/gl/LC_MESSAGES/gperiodic.mo
9
share/locale/it/LC_MESSAGES/gperiodic.mo
10
share/locale/pl/LC_MESSAGES/gperiodic.mo
10
share/locale/pl/LC_MESSAGES/gperiodic.mo
11
share/locale/ru/LC_MESSAGES/gperiodic.mo
11
share/locale/sv/LC_MESSAGES/gperiodic.mo
12
share/locale/sv/LC_MESSAGES/gperiodic.mo
12
share/locale/tr/LC_MESSAGES/gperiodic.mo
13
share/locale/tr/LC_MESSAGES/gperiodic.mo
14
share/pixmaps/gperiodic.png
15
share/pixmaps/gperiodic-crystal.png
13
%%PORTDOCS%%@dirrm %%DOCSDIR%%
16
%%PORTDOCS%%@dirrm %%DOCSDIR%%
17
@dirrmtry share/applications

Return to bug 114738