Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gperiodic |
8 |
PORTNAME= gperiodic |
9 |
PORTVERSION= 2.0.7 |
9 |
PORTVERSION= 2.0.8 |
10 |
PORTREVISION= 3 |
|
|
11 |
CATEGORIES= biology |
10 |
CATEGORIES= biology |
12 |
MASTER_SITES= http://koti.welho.com/jfrantz/software/ |
11 |
MASTER_SITES= http://koti.welho.com/jfrantz/software/ |
13 |
|
12 |
|
Lines 15-30
Link Here
|
15 |
COMMENT= Displays a periodic table of the elements |
14 |
COMMENT= Displays a periodic table of the elements |
16 |
|
15 |
|
17 |
USE_X_PREFIX= yes |
16 |
USE_X_PREFIX= yes |
18 |
USE_GNOME= gtk20 |
17 |
USE_GNOME= gnomehier gtk20 |
19 |
ALL_TARGET= ${PORTNAME} |
|
|
20 |
USE_REINPLACE= yes |
18 |
USE_REINPLACE= yes |
|
|
19 |
ALL_TARGET= ${PORTNAME} |
21 |
|
20 |
|
22 |
LANGS= da fr pl sv tr |
21 |
LANGS= da fr pl sv tr |
23 |
|
22 |
|
24 |
post-patch: |
23 |
post-patch: |
25 |
@${REINPLACE_CMD} -e "s|^CFLAGS=|CFLAGS+=|; \ |
24 |
@${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \ |
26 |
s|-DGTK_DISABLE_DEPRECATED||" \ |
25 |
s|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile |
27 |
${WRKSRC}/Makefile |
|
|
28 |
|
26 |
|
29 |
post-build: |
27 |
post-build: |
30 |
.for lang in ${LANGS} |
28 |
.for lang in ${LANGS} |
Lines 33-38
Link Here
|
33 |
|
31 |
|
34 |
do-install: |
32 |
do-install: |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin |
|
|
34 |
${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \ |
35 |
${PREFIX}/share/gnome/applications |
36 |
${INSTALL_DATA} ${WRKSRC}/gperiodic.png \ |
37 |
${PREFIX}/share/gnome/pixmaps |
38 |
${INSTALL_DATA} ${WRKSRC}/gperiodic-crystal.png \ |
39 |
${PREFIX}/share/gnome/pixmaps |
36 |
.for lang in ${LANGS} |
40 |
.for lang in ${LANGS} |
37 |
@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES |
41 |
@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES |
38 |
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ |
42 |
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ |