Annotation of pkgsrc/misc/zyGrib/Makefile, Revision 1.26
1.26 ! plunky 1: # $NetBSD: Makefile,v 1.25 2012/03/03 00:13:38 wiz Exp $
1.1 plunky 2: #
3:
1.26 ! plunky 4: DISTNAME= zyGrib-5.1.2
1.1 plunky 5: CATEGORIES= misc
1.15 plunky 6: MASTER_SITES= http://www.zygrib.org/getfile.php?file=
1.1 plunky 7: EXTRACT_SUFX= .tgz
8:
9: MAINTAINER= plunky@rya-online.net
10: HOMEPAGE= http://www.zygrib.org/
11: COMMENT= GRIB file viewer for weather data
1.3 wiz 12: LICENSE= gnu-gpl-v3
1.1 plunky 13:
1.10 plunky 14: DEPENDS+= liberation-ttf-[0-9]*:../../fonts/liberation-ttf
15:
16: WRKSRC= ${WRKDIR}/${DISTNAME}/src
1.1 plunky 17: USE_LANGUAGES= c c++
18: USE_TOOLS+= make
19:
1.15 plunky 20: CONFIGURE_ENV+= QTDIR=${QTDIR}
21:
1.1 plunky 22: PKG_DESTDIR_SUPPORT= user-destdir
23:
24: SUBST_CLASSES+= paths
25: SUBST_STAGE.paths= post-patch
26: SUBST_MESSAGE.paths= Fixing shared data paths.
1.18 plunky 27: SUBST_FILES.paths= util/Util.h
28: SUBST_SED.paths+= -e "s|\"data/|\"${PREFIX}/share/zyGrib/|"
1.1 plunky 29:
1.18 plunky 30: INSTALLATION_DIRS+= bin
31: INSTALLATION_DIRS+= share/zyGrib/colors
32: INSTALLATION_DIRS+= share/zyGrib/config
33: INSTALLATION_DIRS+= share/zyGrib/gis
34: INSTALLATION_DIRS+= share/zyGrib/img
1.1 plunky 35: INSTALLATION_DIRS+= share/zyGrib/maps/gshhs
1.18 plunky 36: INSTALLATION_DIRS+= share/zyGrib/stuff
1.1 plunky 37: INSTALLATION_DIRS+= share/zyGrib/tr
38:
1.18 plunky 39: INSTALL_FILES+= colors/colors_binary.txt
40: INSTALL_FILES+= colors/colors_cape_jkg.txt
41: INSTALL_FILES+= colors/colors_clouds_black_pc.txt
42: INSTALL_FILES+= colors/colors_clouds_white_pc.txt
1.26 ! plunky 43: INSTALL_FILES+= colors/colors_current_kts.txt
1.18 plunky 44: INSTALL_FILES+= colors/colors_deltatemp_celcius.txt
45: INSTALL_FILES+= colors/colors_humidrel_pc.txt
46: INSTALL_FILES+= colors/colors_rain_mmh.txt
47: INSTALL_FILES+= colors/colors_snowdepth_m.txt
48: INSTALL_FILES+= colors/colors_temp_celcius.txt
1.26 ! plunky 49: INSTALL_FILES+= colors/colors_waveheight_m.txt
! 50: INSTALL_FILES+= colors/colors_whitecap_prb.txt
! 51: INSTALL_FILES+= colors/colors_whitecap_prb.txt.colors
1.18 plunky 52: INSTALL_FILES+= colors/colors_wind_kts.txt
53: INSTALL_FILES+= gis/cities_10k-more.txt.gz
54: INSTALL_FILES+= gis/cities_3k-10k.txt.gz
55: INSTALL_FILES+= gis/countries_en.txt.gz
56: INSTALL_FILES+= gis/countries_fr.txt.gz
57: INSTALL_FILES+= img/1leftarrow.png
1.1 plunky 58: INSTALL_FILES+= img/1rightarrow.png
59: INSTALL_FILES+= img/2leftarrow.png
60: INSTALL_FILES+= img/2rightarrow.png
61: INSTALL_FILES+= img/anim.png
62: INSTALL_FILES+= img/back.png
63: INSTALL_FILES+= img/connect_no.png
64: INSTALL_FILES+= img/down.png
1.26 ! plunky 65: INSTALL_FILES+= img/drapeau_ar.png
1.10 plunky 66: INSTALL_FILES+= img/drapeau_cz.png
67: INSTALL_FILES+= img/drapeau_de.png
68: INSTALL_FILES+= img/drapeau_en.png
69: INSTALL_FILES+= img/drapeau_es.png
70: INSTALL_FILES+= img/drapeau_fr.png
71: INSTALL_FILES+= img/drapeau_it.png
72: INSTALL_FILES+= img/drapeau_nl.png
73: INSTALL_FILES+= img/drapeau_pt.png
74: INSTALL_FILES+= img/drapeau_ru.png
1.1 plunky 75: INSTALL_FILES+= img/exit.png
76: INSTALL_FILES+= img/fileclose.png
77: INSTALL_FILES+= img/fileopen.png
78: INSTALL_FILES+= img/forward.png
79: INSTALL_FILES+= img/help.png
80: INSTALL_FILES+= img/info.png
1.10 plunky 81: INSTALL_FILES+= img/media-floppy.png
1.18 plunky 82: INSTALL_FILES+= img/meteoblue.png
1.1 plunky 83: INSTALL_FILES+= img/network.png
84: INSTALL_FILES+= img/player_eject.png
85: INSTALL_FILES+= img/player_end.png
86: INSTALL_FILES+= img/player_fwd.png
87: INSTALL_FILES+= img/player_pause.png
88: INSTALL_FILES+= img/player_play.png
89: INSTALL_FILES+= img/player_playlist.png
90: INSTALL_FILES+= img/player_rew.png
91: INSTALL_FILES+= img/player_start.png
92: INSTALL_FILES+= img/player_stop.png
93: INSTALL_FILES+= img/reload.png
1.18 plunky 94: INSTALL_FILES+= img/resource.rc
1.1 plunky 95: INSTALL_FILES+= img/up.png
96: INSTALL_FILES+= img/viewmag+.png
97: INSTALL_FILES+= img/viewmag-.png
98: INSTALL_FILES+= img/viewmag1.png
99: INSTALL_FILES+= img/viewmagfit.png
1.18 plunky 100: INSTALL_FILES+= img/zyGrib.icns
101: INSTALL_FILES+= img/zyGrib_32.ico
102: INSTALL_FILES+= img/zyGrib_32.xpm
1.1 plunky 103: INSTALL_FILES+= maps/gshhs/README.gshhs
104: INSTALL_FILES+= maps/gshhs/README.gshhs.rangs
105: INSTALL_FILES+= maps/gshhs/gshhs_2.rim
106: INSTALL_FILES+= maps/gshhs/gshhs_3.rim
107: INSTALL_FILES+= maps/gshhs/gshhs_4.rim
108: INSTALL_FILES+= maps/gshhs/rangs_2.cat
109: INSTALL_FILES+= maps/gshhs/rangs_2.cel
110: INSTALL_FILES+= maps/gshhs/rangs_3.cat
111: INSTALL_FILES+= maps/gshhs/rangs_3.cel
112: INSTALL_FILES+= maps/gshhs/rangs_4.cat
113: INSTALL_FILES+= maps/gshhs/rangs_4.cel
114: INSTALL_FILES+= maps/gshhs/wdb_borders_c.b
115: INSTALL_FILES+= maps/gshhs/wdb_borders_i.b
116: INSTALL_FILES+= maps/gshhs/wdb_borders_l.b
117: INSTALL_FILES+= maps/gshhs/wdb_rivers_c.b
118: INSTALL_FILES+= maps/gshhs/wdb_rivers_i.b
119: INSTALL_FILES+= maps/gshhs/wdb_rivers_l.b
1.18 plunky 120: INSTALL_FILES+= stuff/boat_parameters.csv
1.26 ! plunky 121: INSTALL_FILES+= tr/zyGrib_ar.qm
! 122: INSTALL_FILES+= tr/zyGrib_ar.ts
1.10 plunky 123: INSTALL_FILES+= tr/zyGrib_cz.qm
124: INSTALL_FILES+= tr/zyGrib_cz.ts
1.4 plunky 125: INSTALL_FILES+= tr/zyGrib_de.qm
126: INSTALL_FILES+= tr/zyGrib_de.ts
127: INSTALL_FILES+= tr/zyGrib_es.qm
128: INSTALL_FILES+= tr/zyGrib_es.ts
1.10 plunky 129: INSTALL_FILES+= tr/zyGrib_fr.qm
130: INSTALL_FILES+= tr/zyGrib_fr.ts
1.4 plunky 131: INSTALL_FILES+= tr/zyGrib_it.qm
132: INSTALL_FILES+= tr/zyGrib_it.ts
133: INSTALL_FILES+= tr/zyGrib_nl.qm
134: INSTALL_FILES+= tr/zyGrib_nl.ts
135: INSTALL_FILES+= tr/zyGrib_ru.qm
136: INSTALL_FILES+= tr/zyGrib_ru.ts
1.1 plunky 137:
138: do-configure:
139: cd ${WRKSRC} && ${QTDIR}/bin/qmake
140:
141: do-install:
1.10 plunky 142: ${INSTALL_PROGRAM} ${WRKSRC}/zyGrib ${DESTDIR}${PREFIX}/bin
1.1 plunky 143: .for f in ${INSTALL_FILES}
1.18 plunky 144: ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/data/${f} ${DESTDIR}${PREFIX}/share/zyGrib/${f}
1.1 plunky 145: .endfor
146:
147: .include "../../archivers/bzip2/buildlink3.mk"
148: .include "../../devel/zlib/buildlink3.mk"
1.7 wiz 149: .include "../../geography/proj/buildlink3.mk"
1.22 dholland 150: .include "../../security/openssl/buildlink3.mk"
1.1 plunky 151: .include "../../x11/qt4-libs/buildlink3.mk"
152: .include "../../x11/qt4-tools/buildlink3.mk"
1.26 ! plunky 153: .include "../../x11/qwt6-qt4/buildlink3.mk"
1.1 plunky 154: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>