Makefile 751 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.23 2016/04/07 16:05:48 naddy Exp $
  2. COMMENT= command-line MPEG audio decoder and player
  3. DISTNAME= madplay-0.15.2b
  4. REVISION= 4
  5. CATEGORIES= audio
  6. HOMEPAGE= http://mad.sourceforge.net/
  7. MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= ftp://ftp.mars.org/pub/mpeg/ \
  11. ${MASTER_SITE_SOURCEFORGE:=mad/}
  12. LIB_DEPENDS= audio/libid3tag \
  13. audio/libmad \
  14. devel/gettext
  15. WANTLIB= c iconv id3tag intl m mad sndio z
  16. SEPARATE_BUILD= Yes
  17. AUTOCONF_VERSION=2.59
  18. CONFIGURE_STYLE= autoconf
  19. CONFIGURE_ARGS= --without-esd
  20. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  21. LDFLAGS="-L${LOCALBASE}/lib"
  22. post-extract:
  23. @cp -f ${FILESDIR}/audio_sndio.c ${WRKSRC}/
  24. .include <bsd.port.mk>