Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.5 2017/04/10 11:46:20 sthen Exp $
  2. COMMENT = WMS viewer built on top of spatialite and rasterlite2
  3. DISTNAME = librewms-1.0.0
  4. REVISION = 2
  5. # Licence: GPLv3
  6. LIB_DEPENDS += x11/wxWidgets \
  7. databases/sqlite3 \
  8. geo/spatialite/libspatialite \
  9. geo/spatialite/librasterlite2
  10. RUN_DEPENDS += devel/desktop-file-utils
  11. MODULES += devel/gettext
  12. WANTLIB += ICE SDL SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
  13. WANTLIB += Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo crypto curl
  14. WANTLIB += expat ffi fontconfig freetype freexl gdk-x11-2.0
  15. WANTLIB += gdk_pixbuf-2.0 geos geos_c geotiff gif gio-2.0 glib-2.0
  16. WANTLIB += gmodule-2.0 gobject-2.0 graphite2 gthread-2.0 gtk-x11-2.0
  17. WANTLIB += harfbuzz iodbc jpeg lzma m mspack nghttp2 pango-1.0
  18. WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png proj pthread
  19. WANTLIB += pthread-stubs rasterlite2 sndio spatialite sqlite3 ssl ${LIBCXX}
  20. WANTLIB += tiff usbhid webp wx_base wx_base_net wx_base_odbc wx_base_xml
  21. WANTLIB += wx_gtk2_adv wx_gtk2_aui wx_gtk2_core wx_gtk2_dbgrid
  22. WANTLIB += wx_gtk2_html wx_gtk2_qa wx_gtk2_richtext wx_gtk2_xrc xcb
  23. WANTLIB += xcb-render xcb-shm xml2 z
  24. post-install:
  25. ${INSTALL_DATA_DIR} ${PREFIX}/share/{pixmaps,applications}
  26. ${INSTALL_DATA} ${WRKSRC}/gnome_resource/*.desktop ${PREFIX}/share/applications/
  27. ${INSTALL_DATA} ${WRKSRC}/gnome_resource/*.png ${PREFIX}/share/pixmaps/
  28. .include <bsd.port.mk>