| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.56 2020/03/10 22:10:37 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.57 2020/03/30 19:38:34 joerg Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= zyGrib-8.0.1 | | 4 | DISTNAME= zyGrib-8.0.1 |
5 | PKGREVISION= 3 | | 5 | PKGREVISION= 3 |
6 | CATEGORIES= misc | | 6 | CATEGORIES= misc |
7 | MASTER_SITES= https://www.zygrib.org/getfile.php?file= | | 7 | MASTER_SITES= https://www.zygrib.org/getfile.php?file= |
8 | EXTRACT_SUFX= .tgz | | 8 | EXTRACT_SUFX= .tgz |
9 | | | 9 | |
10 | MAINTAINER= plunky@NetBSD.org | | 10 | MAINTAINER= plunky@NetBSD.org |
11 | HOMEPAGE= https://www.zygrib.org/ | | 11 | HOMEPAGE= https://www.zygrib.org/ |
12 | COMMENT= GRIB file viewer for weather data | | 12 | COMMENT= GRIB file viewer for weather data |
13 | LICENSE= gnu-gpl-v3 | | 13 | LICENSE= gnu-gpl-v3 |
14 | | | 14 | |
| @@ -141,26 +141,30 @@ INSTALL_FILES+= tr/zyGrib_fi.ts | | | @@ -141,26 +141,30 @@ INSTALL_FILES+= tr/zyGrib_fi.ts |
141 | INSTALL_FILES+= tr/zyGrib_fr.qm | | 141 | INSTALL_FILES+= tr/zyGrib_fr.qm |
142 | INSTALL_FILES+= tr/zyGrib_fr.ts | | 142 | INSTALL_FILES+= tr/zyGrib_fr.ts |
143 | INSTALL_FILES+= tr/zyGrib_gr.qm | | 143 | INSTALL_FILES+= tr/zyGrib_gr.qm |
144 | INSTALL_FILES+= tr/zyGrib_gr.ts | | 144 | INSTALL_FILES+= tr/zyGrib_gr.ts |
145 | INSTALL_FILES+= tr/zyGrib_it.qm | | 145 | INSTALL_FILES+= tr/zyGrib_it.qm |
146 | INSTALL_FILES+= tr/zyGrib_it.ts | | 146 | INSTALL_FILES+= tr/zyGrib_it.ts |
147 | INSTALL_FILES+= tr/zyGrib_nl.qm | | 147 | INSTALL_FILES+= tr/zyGrib_nl.qm |
148 | INSTALL_FILES+= tr/zyGrib_nl.ts | | 148 | INSTALL_FILES+= tr/zyGrib_nl.ts |
149 | INSTALL_FILES+= tr/zyGrib_pt.qm | | 149 | INSTALL_FILES+= tr/zyGrib_pt.qm |
150 | INSTALL_FILES+= tr/zyGrib_pt.ts | | 150 | INSTALL_FILES+= tr/zyGrib_pt.ts |
151 | INSTALL_FILES+= tr/zyGrib_ru.qm | | 151 | INSTALL_FILES+= tr/zyGrib_ru.qm |
152 | INSTALL_FILES+= tr/zyGrib_ru.ts | | 152 | INSTALL_FILES+= tr/zyGrib_ru.ts |
153 | | | 153 | |
| | | 154 | .include "../../mk/bsd.prefs.mk" |
| | | 155 | |
| | | 156 | CXXFLAGS+= -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H |
| | | 157 | |
154 | do-configure: | | 158 | do-configure: |
155 | cd ${WRKSRC} && ${QTDIR}/bin/qmake "QMAKE_RPATHDIR+=${QWT_DIR}/lib" "QMAKE_LIBDIR+=${QWT_DIR}/lib" | | 159 | cd ${WRKSRC} && ${QTDIR}/bin/qmake "QMAKE_RPATHDIR+=${QWT_DIR}/lib" "QMAKE_LIBDIR+=${QWT_DIR}/lib" |
156 | | | 160 | |
157 | do-install: | | 161 | do-install: |
158 | ${INSTALL_PROGRAM} ${WRKSRC}/zyGrib ${DESTDIR}${PREFIX}/bin | | 162 | ${INSTALL_PROGRAM} ${WRKSRC}/zyGrib ${DESTDIR}${PREFIX}/bin |
159 | .for f in ${INSTALL_FILES} | | 163 | .for f in ${INSTALL_FILES} |
160 | ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/data/${f} ${DESTDIR}${PREFIX}/share/zyGrib/${f} | | 164 | ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/data/${f} ${DESTDIR}${PREFIX}/share/zyGrib/${f} |
161 | .endfor | | 165 | .endfor |
162 | | | 166 | |
163 | .include "../../archivers/bzip2/buildlink3.mk" | | 167 | .include "../../archivers/bzip2/buildlink3.mk" |
164 | .include "../../devel/zlib/buildlink3.mk" | | 168 | .include "../../devel/zlib/buildlink3.mk" |
165 | .include "../../graphics/jpeg/buildlink3.mk" | | 169 | .include "../../graphics/jpeg/buildlink3.mk" |
166 | .include "../../graphics/png/buildlink3.mk" | | 170 | .include "../../graphics/png/buildlink3.mk" |