freebsd-ports/audio/vorbis-tools/Makefile
Dmitry Marakasov 2f91eefc60 - Add CPE info
- Add LICENSE

Approved by:	portmgr blanket
2015-05-17 16:01:36 +00:00

42 lines
1 KiB
Makefile

# Created by: t.vanklaveren@student.utwente.nl
# $FreeBSD$
PORTNAME= vorbis-tools
PORTVERSION= 1.4.0
PORTREVISION= 8
PORTEPOCH= 3
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/vorbis/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Play, encode, and manage Ogg Vorbis files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao \
libcurl.so:${PORTSDIR}/ftp/curl \
libFLAC.so:${PORTSDIR}/audio/flac \
libkate.so:${PORTSDIR}/multimedia/libkate \
libspeex.so:${PORTSDIR}/audio/speex \
libvorbis.so:${PORTSDIR}/audio/libvorbis
USES= cpe iconv pkgconfig
CPE_VENDOR= xiph
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_LIBS="-lpthread"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools
${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \
${STAGEDIR}${PREFIX}/share/examples/vorbis-tools/ogg123rc
.include <bsd.port.mk>