Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # $OpenBSD: Makefile,v 1.33 2017/06/10 14:18:37 giovanni Exp $
  2. COMMENT = music manager and player for GTK+ written in Python
  3. V = 3.4
  4. P = 0
  5. DISTNAME = exaile-${V}.${P}
  6. CATEGORIES = audio x11
  7. HOMEPAGE = http://www.exaile.org/
  8. MAINTAINER = Brian Callahan <bcallah@devio.us>
  9. MASTER_SITES = http://www.launchpad.net/exaile/$V.x/$V.$P/+download/
  10. # GPLv2+
  11. PERMIT_PACKAGE_CDROM = Yes
  12. MODULES = devel/gettext \
  13. lang/python
  14. COMMON_DEPENDS =x11/dbus-python>=0.82.1 \
  15. devel/py-notify>=0.1.1 \
  16. audio/py-mutagen>=1.11 \
  17. audio/py-cddb>=1.4 \
  18. x11/py-gtk2>=2.17 \
  19. devel/libglade2 \
  20. multimedia/gstreamer-0.10/core \
  21. multimedia/gstreamer-0.10/plugins-good \
  22. multimedia/gstreamer-0.10/plugins-ffmpeg \
  23. multimedia/gstreamer-0.10/py-gstreamer
  24. BUILD_DEPENDS = ${COMMON_DEPENDS}
  25. RUN_DEPENDS = ${COMMON_DEPENDS} \
  26. devel/desktop-file-utils
  27. USE_GMAKE = Yes
  28. TEST_TARGET= test
  29. PORTHOME = ${WRKDIR}
  30. TEST_DEPENDS= devel/py-nose \
  31. devel/py-mox
  32. TEST_ENV= EXAILE_DIR=${WRKOBJ}/test
  33. CONFIGURE_STYLE =none
  34. SUBST_VARS += MODPY_SITEPKG
  35. post-configure:
  36. ${SUBST_CMD} ${WRKSRC}/Makefile ${WRKSRC}/data/exaile.desktop \
  37. ${WRKSRC}/plugins/Makefile ${WRKSRC}/tools/generate-launcher
  38. @find ${WRKSRC} -name "*.orig" -exec rm -f {} \;
  39. .include <bsd.port.mk>