diff options
Diffstat (limited to 'audio/vorbis/Makefile')
-rw-r--r-- | audio/vorbis/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/audio/vorbis/Makefile b/audio/vorbis/Makefile new file mode 100644 index 000000000000..779decd0377c --- /dev/null +++ b/audio/vorbis/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: vorbis +# Date created: 22 August 2000 +# Whom: t.vanklaveren@student.utwente.nl +# +# $FreeBSD$ +# + +PORTNAME= vorbis +PORTVERSION= 20000821 +CATEGORIES= audio +MASTER_SITES= http://home.student.utwente.nl/t.vanklaveren/distfiles/ + +MAINTAINER= t.vanklaveren@student.utwente.nl + +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ + xmms.1:${PORTSDIR}/audio/xmms +RUN_DEPENDS= ${X11BASE}/bin/xmms:${PORTSDIR}/audio/xmms + +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +# Vorbis doesn't depend on X, but it's needed for the XMMS plugin :-( +USE_X_PREFIX= yes +USE_AUTOCONF= yes +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/vorbis + +post-build: + cd ${WRKSRC}/vorbis-tools/libao && ${SETENV} ${MAKE_ENV} ${MAKE} + cd ${WRKSRC}/vorbis-tools && ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET} + cd ${WRKSRC}/xmms && ${SETENV} ${MAKE_ENV} ${MAKE} GLIB_CONFIG=${GLIB_CONFIG} GTK_CONFIG=${GTK_CONFIG} target +do-install: +# Install all vorbis libraries and headers by hand. There is no target for it. + ${INSTALL_PROGRAM} ${WRKSRC}/lib/libvorbis.a ${PREFIX}/lib/ + ${INSTALL_PROGRAM} ${WRKSRC}/lib/vorbisfile.a ${PREFIX}/lib/ +# Install all vorbis-tools by hand. The Makefile sucks and is beyond hope. + ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/vorbize ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/vorbis-tools/mp3tovorbis ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/ogg123 ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/vorbiscomment ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/oggenc ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/vorbis-tools/ogg123.1 ${PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/vorbis-tools/vorbize.1 ${PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/vorbis-tools/oggenc.1 ${PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/xmms/libvorbis.so ${PREFIX}/lib/xmms/Input/ +# And finally, the header files + ${MKDIR} ${PREFIX}/include/vorbis + ${MKDIR} ${PREFIX}/include/vorbis/book + ${INSTALL_DATA} ${WRKSRC}/include/vorbis/*.h ${PREFIX}/include/vorbis/ + ${INSTALL_DATA} ${WRKSRC}/include/vorbis/book/*.vqh ${PREFIX}/include/vorbis/book/ + +MAN1= ogg123.1 vorbize.1 oggenc.1 + +.include <bsd.port.mk> |