Makefile 843 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.10 2015/07/30 11:36:57 ajacoutot Exp $
  2. COMMENT = fast and simple GTK+ image viewer
  3. MODPY_EGG_VERSION = 0.9.5.2
  4. DISTNAME = mirage-${MODPY_EGG_VERSION}
  5. REVISION = 5
  6. CATEGORIES = graphics
  7. # GPLv3
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += ${MODPY_WANTLIB}
  10. WANTLIB += X11 pthread
  11. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mirageiv.berlios/}
  12. MODULES = lang/python
  13. # Mirage's toolbar needs py-gnome to follow GNOME settings.
  14. # py-gnome is already an indirect dependency for gnome-session:
  15. # gnome-session -> gnome-settings-daemon -> gnome-desktop -> py-gnome.
  16. # People not running GNOME do not need/want this dependency.
  17. RUN_DEPENDS = devel/desktop-file-utils \
  18. x11/py-gtk2 \
  19. devel/xdg-utils
  20. BUILD_DEPENDS = devel/gettext-tools
  21. NO_TEST = Yes
  22. pre-configure:
  23. ${SUBST_CMD} ${WRKSRC}/setup.py
  24. .include <bsd.port.mk>