Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.6 2015/08/25 13:18:25 sthen Exp $
  2. COMMENT = solfege and ear training program
  3. DISTNAME = solfege-3.22.2
  4. CATEGORIES = audio x11
  5. BROKEN-hppa = SIGILL when running lilypond
  6. REVISION = 0
  7. HOMEPAGE = http://www.solfege.org/
  8. # GPLv3+
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=solfege/}
  11. MODULES = devel/gettext \
  12. lang/python
  13. BUILD_DEPENDS = print/lilypond,-main \
  14. sysutils/coreutils \
  15. x11/py-gtk2
  16. RUN_DEPENDS = audio/lame \
  17. audio/mpg123 \
  18. timidity-*|fluidsynth-*:audio/timidity \
  19. audio/vorbis-tools \
  20. devel/desktop-file-utils \
  21. x11/py-gtk2
  22. CONFIGURE_STYLE = gnu
  23. USE_GMAKE = Yes
  24. FAKE_FLAGS = sysconfdir=${LOCALBASE}/share/examples/solfege
  25. post-patch:
  26. sed -i "s,cp,${LOCALBASE}/bin/gcp,g" ${WRKSRC}/Makefile.in
  27. pre-configure:
  28. cd ${WRKSRC} && ${SUBST_CMD} default.config run-solfege.py.in system.rc && \
  29. sed -i "s,/bin/bash,/bin/sh,g" \
  30. ${WRKSRC}/exercises/standard/lesson-files/bin/csound-play-harmonic-interval.sh
  31. do-test:
  32. cd ${WRKSRC} && ${MODPY_BIN} ./test.py
  33. .include <bsd.port.mk>