Makefile 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # $OpenBSD: Makefile,v 1.68 2017/05/31 11:49:28 landry Exp $
  2. COMMENT = desktop geographical information system
  3. DISTNAME = qgis-2.18.9
  4. EXTRACT_SUFX = .tar.bz2
  5. CATEGORIES = geo x11
  6. SHARED_LIBS = qgis_core 17.0 \
  7. qgis_app 5.0 \
  8. qgis_gui 16.0 \
  9. qgis_analysis 8.0 \
  10. qgis_server 5.0 \
  11. qgispython 5.0 \
  12. qgis_networkanalysis 2.0
  13. HOMEPAGE = http://www.qgis.org/
  14. # GPLv2
  15. PERMIT_PACKAGE_CDROM = Yes
  16. MAINTAINER = Landry Breuil <landry@openbsd.org>
  17. MASTER_SITES = ${HOMEPAGE}/downloads/
  18. MODULES = devel/cmake \
  19. devel/gettext \
  20. lang/python
  21. COMPILER = gcc
  22. BUILD_DEPENDS = x11/py-qt4>=4.8.4 \
  23. security/qca-ossl \
  24. editors/py-qscintilla \
  25. devel/bison>=2.4 \
  26. geo/gdal,-python
  27. RUN_DEPENDS = x11/py-qt4>=4.8.4 \
  28. www/py-requests \
  29. security/qca-ossl \
  30. geo/gdal,-python \
  31. databases/py-psycopg2 \
  32. editors/py-qscintilla \
  33. devel/desktop-file-utils
  34. LIB_DEPENDS = ${MODPY_LIB_DEPENDS} \
  35. databases/sqlite3 \
  36. devel/proj \
  37. x11/qt4>=4.7.2 \
  38. x11/qwt \
  39. www/fcgi \
  40. editors/qscintilla \
  41. geo/gdal \
  42. geo/geos \
  43. geo/spatialite/libspatialite \
  44. geo/spatialindex \
  45. devel/gsl \
  46. devel/qjson \
  47. security/qca2 \
  48. databases/postgresql
  49. WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c expat \
  50. fontconfig freetype glib-2.0 gobject-2.0 gthread-2.0 lcms m \
  51. mng png pthread util z proj \
  52. QtGui QtNetwork QtXml QtSql QtCore QtScript QtSvg \
  53. QtWebKit gdal geos_c gsl gslcblas pq qwt fcgi qca2 \
  54. QtTest spatialindex spatialite sqlite3 qscintilla2 qjson
  55. WANTLIB += ${MODPY_WANTLIB} jpeg tiff
  56. CONFIGURE_ENV+= VERBOSE=1
  57. CONFIGURE_ARGS = -DWITH_SERVER=TRUE -DWITH_SERVER_PLUGINS=TRUE -DWITH_PYSPATIALITE=TRUE
  58. pre-configure:
  59. # otherwise takes precedence over systemwide file
  60. rm -f ${WRKSRC}/cmake/FindIconv.cmake
  61. ${SUBST_CMD} ${WRKSRC}/cmake/Find{GDAL,GEOS,Postgres}.cmake
  62. post-install:
  63. ${INSTALL_DATA_DIR} ${PREFIX}/share/{pixmaps,applications}
  64. ln -f ${PREFIX}/share/{qgis/images/icons,pixmaps}/qgis-icon.png
  65. ${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
  66. -c ${WRKSRC}/debian/qgis.desktop \
  67. ${PREFIX}/share/applications/qgis.desktop
  68. .include <bsd.port.mk>