Makefile 925 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.26 2016/10/01 11:54:15 naddy Exp $
  2. COMMENT= offline maps viewer
  3. MODPY_EGG_VERSION= 0.8.0.4
  4. DISTNAME= mapcatcher_${MODPY_EGG_VERSION}
  5. WRKDIST= ${WRKDIR}/mapcatcher-${MODPY_EGG_VERSION}
  6. PKGNAME= gmapcatcher-${MODPY_EGG_VERSION}
  7. CATEGORIES= geo x11
  8. HOMEPAGE= https://code.google.com/p/gmapcatcher/
  9. # GPLv2+
  10. PERMIT_PACKAGE_CDROM= Yes
  11. MASTER_SITES= ${MASTER_SITE_GOOGLECODE:=gmapcatcher/}
  12. MODULES= lang/python
  13. BUILD_DEPENDS= x11/py-gtk2 \
  14. databases/py-sqlite2 \
  15. graphics/py-Pillow
  16. RUN_DEPENDS= x11/py-gtk2 \
  17. databases/py-sqlite2 \
  18. graphics/py-Pillow \
  19. devel/desktop-file-utils
  20. pre-configure:
  21. sed -i -e 's,/usr/share,${PREFIX}/share,' \
  22. ${WRKSRC}/gmapcatcher/widgets/mapPixbuf.py
  23. gunzip ${WRKSRC}/man/*.gz
  24. xpost-install:
  25. ${INSTALL_SCRIPT} ${WRKSRC}/maps.py ${PREFIX}/bin/mapcatcher
  26. ${INSTALL_SCRIPT} ${WRKSRC}/download.py ${PREFIX}/bin/mapdownloader
  27. .include <bsd.port.mk>