Makefile 911 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.25 2017/04/10 11:46:20 sthen Exp $
  2. COMMENT = OpenStreetMap editor
  3. GH_ACCOUNT = openstreetmap
  4. GH_PROJECT = merkaartor
  5. GH_TAGNAME = 0.18.3
  6. CATEGORIES = geo x11
  7. HOMEPAGE = http://www.merkaartor.be/
  8. MAINTAINER = Landry Breuil <landry@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM = Yes
  11. NO_TEST = Yes
  12. MODULES = devel/gettext x11/qt4
  13. RUN_DEPENDS = devel/desktop-file-utils \
  14. x11/gtk+3,-guic
  15. # spatialite is marked as non-working
  16. LIB_DEPENDS = devel/proj \
  17. geo/gdal
  18. WANTLIB += QtGui QtNetwork QtSvg QtWebKit QtXml c m proj pthread gdal
  19. WANTLIB += ${LIBCXX} z ICE SM X11 Xext Xi Xinerama Xrender fontconfig freetype
  20. do-configure:
  21. cd ${WRKSRC} && env ${CONFIGURE_ENV} qmake4 PROJ=1 NODEBUG=1 RELEASE=1 \
  22. PREFIX=${WRKINST}${PREFIX} TRANSDIR_MERKAARTOR=${WRKINST}/${PREFIX}/share/merkaartor/translations
  23. pre-build:
  24. cd ${WRKSRC}/translations && ${MAKE} release
  25. .include <bsd.port.mk>