Makefile 934 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.52 2016/11/04 11:35:18 sthen Exp $
  2. COMMENT= play, encode, and manage Ogg Vorbis files
  3. DISTNAME= vorbis-tools-1.4.0
  4. REVISION= 4
  5. CATEGORIES= audio
  6. HOMEPAGE= http://www.vorbis.com/
  7. MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB+= FLAC ao c crypto curl iconv intl m nghttp2 ogg pthread speex
  11. WANTLIB+= ssl vorbis vorbisenc vorbisfile z
  12. MASTER_SITES= http://downloads.xiph.org/releases/vorbis/
  13. LIB_DEPENDS= audio/flac \
  14. audio/libao \
  15. audio/libvorbis \
  16. audio/speex \
  17. devel/gettext \
  18. net/curl
  19. CONFIGURE_STYLE=gnu
  20. CONFIGURE_ARGS= --without-kate
  21. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  22. LDFLAGS="-L${LOCALBASE}/lib"
  23. SEPARATE_BUILD= Yes
  24. post-install:
  25. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vorbis-tools
  26. ${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \
  27. ${PREFIX}/share/examples/vorbis-tools/ogg123rc
  28. .include <bsd.port.mk>