blob: a4ad7e7fd67004db82bc7e51b5474a69b87c7be1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
# $NetBSD: Makefile,v 1.5 2009/08/26 19:58:04 sno Exp $
#
DISTNAME= zyGrib-3.5.1
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.zygrib.org/files/
EXTRACT_SUFX= .tgz
MAINTAINER= plunky@rya-online.net
HOMEPAGE= http://www.zygrib.org/
COMMENT= GRIB file viewer for weather data
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/zyGrib/src
USE_LANGUAGES= c c++
USE_TOOLS+= make
PKG_DESTDIR_SUPPORT= user-destdir
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-patch
SUBST_MESSAGE.paths= Fixing shared data paths.
SUBST_FILES.paths= GisReader.cpp GribAnimator.cpp
SUBST_FILES.paths+= MenuBar.cpp MainWindow.cpp main.cpp
SUBST_SED.paths+= -e "s|maps/|${PREFIX}/share/zyGrib/maps/|"
SUBST_SED.paths+= -e "s|img/|${PREFIX}/share/zyGrib/img/|"
SUBST_SED.paths+= -e "s|tr/|${PREFIX}/share/zyGrib/tr/|"
INSTALLATION_DIRS+= bin share/zyGrib/img
INSTALLATION_DIRS+= share/zyGrib/maps/gis
INSTALLATION_DIRS+= share/zyGrib/maps/gshhs
INSTALLATION_DIRS+= share/zyGrib/tr
INSTALL_FILES= img/1leftarrow.png
INSTALL_FILES+= img/1rightarrow.png
INSTALL_FILES+= img/2leftarrow.png
INSTALL_FILES+= img/2rightarrow.png
INSTALL_FILES+= img/anim.png
INSTALL_FILES+= img/back.png
INSTALL_FILES+= img/connect_no.png
INSTALL_FILES+= img/down.png
INSTALL_FILES+= img/exit.png
INSTALL_FILES+= img/fileclose.png
INSTALL_FILES+= img/fileopen.png
INSTALL_FILES+= img/forward.png
INSTALL_FILES+= img/help.png
INSTALL_FILES+= img/info.png
INSTALL_FILES+= img/network.png
INSTALL_FILES+= img/player_eject.png
INSTALL_FILES+= img/player_end.png
INSTALL_FILES+= img/player_fwd.png
INSTALL_FILES+= img/player_pause.png
INSTALL_FILES+= img/player_play.png
INSTALL_FILES+= img/player_playlist.png
INSTALL_FILES+= img/player_rew.png
INSTALL_FILES+= img/player_start.png
INSTALL_FILES+= img/player_stop.png
INSTALL_FILES+= img/reload.png
INSTALL_FILES+= img/up.png
INSTALL_FILES+= img/viewmag+.png
INSTALL_FILES+= img/viewmag-.png
INSTALL_FILES+= img/viewmag1.png
INSTALL_FILES+= img/viewmagfit.png
INSTALL_FILES+= maps/gis/cities.txt.gz
INSTALL_FILES+= maps/gis/countries_en.txt.gz
INSTALL_FILES+= maps/gis/countries_fr.txt.gz
INSTALL_FILES+= maps/gshhs/README.gshhs
INSTALL_FILES+= maps/gshhs/README.gshhs.rangs
INSTALL_FILES+= maps/gshhs/gshhs_2.rim
INSTALL_FILES+= maps/gshhs/gshhs_3.rim
INSTALL_FILES+= maps/gshhs/gshhs_4.rim
INSTALL_FILES+= maps/gshhs/rangs_2.cat
INSTALL_FILES+= maps/gshhs/rangs_2.cel
INSTALL_FILES+= maps/gshhs/rangs_3.cat
INSTALL_FILES+= maps/gshhs/rangs_3.cel
INSTALL_FILES+= maps/gshhs/rangs_4.cat
INSTALL_FILES+= maps/gshhs/rangs_4.cel
INSTALL_FILES+= maps/gshhs/wdb_borders_c.b
INSTALL_FILES+= maps/gshhs/wdb_borders_i.b
INSTALL_FILES+= maps/gshhs/wdb_borders_l.b
INSTALL_FILES+= maps/gshhs/wdb_rivers_c.b
INSTALL_FILES+= maps/gshhs/wdb_rivers_i.b
INSTALL_FILES+= maps/gshhs/wdb_rivers_l.b
INSTALL_FILES+= tr/zyGrib_de.qm
INSTALL_FILES+= tr/zyGrib_de.ts
INSTALL_FILES+= tr/zyGrib_en.qm
INSTALL_FILES+= tr/zyGrib_en.ts
INSTALL_FILES+= tr/zyGrib_es.qm
INSTALL_FILES+= tr/zyGrib_es.ts
INSTALL_FILES+= tr/zyGrib_it.qm
INSTALL_FILES+= tr/zyGrib_it.ts
INSTALL_FILES+= tr/zyGrib_nl.qm
INSTALL_FILES+= tr/zyGrib_nl.ts
INSTALL_FILES+= tr/zyGrib_ru.qm
INSTALL_FILES+= tr/zyGrib_ru.ts
do-configure:
cd ${WRKSRC} && ${QTDIR}/bin/qmake
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/../zyGrib ${DESTDIR}${PREFIX}/bin
.for f in ${INSTALL_FILES}
${INSTALL_DATA} ${WRKDIR}/zyGrib/${f} ${DESTDIR}${PREFIX}/share/zyGrib/${f}
.endfor
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../misc/proj/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|