2010-11-14 19:22:45 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2010/11/15 00:22:48 espie Exp $
|
2005-06-02 21:04:36 -04:00
|
|
|
|
2007-09-15 17:26:00 -04:00
|
|
|
COMMENT= integer-only ogg vorbis command-line player
|
2005-06-02 21:04:36 -04:00
|
|
|
DISTNAME= vorbis-tools-1.0
|
2010-09-05 20:04:28 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/vorbis/tremor/}
|
2010-11-06 08:19:38 -04:00
|
|
|
REVISION= 5
|
2005-06-02 21:04:36 -04:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://www.vorbis.com/files/1.0/unix/
|
|
|
|
|
2006-07-19 09:41:02 -04:00
|
|
|
HOMEPAGE= http://www.xiph.org/vorbis/
|
2005-06-02 21:04:36 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2006-09-18 17:10:11 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2010-10-18 17:35:47 -04:00
|
|
|
USE_GROFF= Yes
|
2005-06-02 21:04:36 -04:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS= audio/libao \
|
|
|
|
audio/libogg \
|
|
|
|
audio/tremor \
|
|
|
|
net/curl
|
2005-06-02 21:04:36 -04:00
|
|
|
|
2007-11-13 07:44:22 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
WANTLIB= ao>=3 c curl>=2 crypto idn ogg>=5 pthread ssl vorbisidec>=1 z
|
2005-06-02 21:04:36 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS+=--disable-vorbistest
|
2010-11-06 08:19:38 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2005-06-02 21:04:36 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
PTHREAD_CFLAGS="-pthread" PTHREAD_LIBS="-pthread"
|
|
|
|
|
|
|
|
pre-configure:
|
2010-11-06 08:19:38 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/ogg123/cfgfile_options.c
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ogg123/ogg123 ${PREFIX}/bin/igg123
|
2005-06-02 21:04:36 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tremor-tools
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \
|
|
|
|
${PREFIX}/share/examples/tremor-tools/igg123rc
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ogg123/ogg123.1 ${PREFIX}/man/man1/igg123.1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|