Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.20 2017/04/26 14:58:38 naddy Exp $
  2. COMMENT= text console audio player with an interactive interface
  3. DISTNAME= mp3blaster-3.2.5
  4. REVISION= 2
  5. CATEGORIES= audio
  6. HOMEPAGE= http://mp3blaster.sourceforge.net/
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= c m ncurses ogg pthread sidplay sndio ${LIBCXX} vorbis vorbisfile
  10. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3blaster/}
  11. LIB_DEPENDS= audio/libsidplay \
  12. audio/libvorbis
  13. AUTOCONF_VERSION=2.61
  14. AUTOMAKE_VERSION=1.9
  15. CONFIGURE_STYLE=autoconf automake
  16. CONFIGURE_ARGS= --without-esd \
  17. --without-oss \
  18. --without-sdl \
  19. --with-sndio
  20. CONFIGURE_ENV+= ac_cv_lib_ossaudio_main=no
  21. post-extract:
  22. @cp ${FILESDIR}/sndioplayer.cc ${WRKSRC}/mpegsound
  23. @cp ${FILESDIR}/sndiomixer.cc ${WRKSRC}/nmixer
  24. AUTO_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  25. AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
  26. post-patch:
  27. @echo "Running aclocal-${AUTOMAKE_VERSION} in ${WRKSRC}"
  28. @cd ${WRKSRC}; ${AUTO_ENV} aclocal
  29. pre-configure:
  30. @echo "Running automake-${AUTOMAKE_VERSION} in ${WRKSRC}"
  31. @cd ${WRKSRC}; ${AUTO_ENV} automake --foreign
  32. .include <bsd.port.mk>