2000-10-28 03:30:46 -04:00
|
|
|
# New ports collection makefile for: musicbrainz
|
|
|
|
# Date Created: 26 Oct 2000
|
|
|
|
# Whom: Roman Shterenzon <roman@xpert.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= musicbrainz
|
2001-05-21 15:54:08 -04:00
|
|
|
PORTVERSION= 1.0.0
|
2000-10-28 03:30:46 -04:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/
|
|
|
|
|
|
|
|
MAINTAINER= roman@xpert.com
|
|
|
|
|
2001-05-21 15:54:08 -04:00
|
|
|
USE_AUTOCONF= yes
|
2000-10-28 03:30:46 -04:00
|
|
|
USE_GMAKE= yes
|
2001-08-25 22:40:16 -04:00
|
|
|
USE_BZIP2= yes
|
2000-11-04 19:53:34 -05:00
|
|
|
USE_LIBTOOL= yes
|
2001-05-21 15:54:08 -04:00
|
|
|
USE_NEWGCC= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
2000-10-28 03:30:46 -04:00
|
|
|
|
2001-01-25 09:46:05 -05:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
.if !defined(WITHOUT_VORBIS)
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You can disable Vorbis support by defining WITHOUT_VORBIS"
|
|
|
|
@${ECHO}
|
|
|
|
LIB_DEPENDS+= vorbis.0:${PORTSDIR}/audio/libvorbis
|
|
|
|
HAVE_VORBIS= yes
|
|
|
|
.endif
|
|
|
|
|
2000-10-28 03:30:46 -04:00
|
|
|
post-extract:
|
2001-05-21 15:54:08 -04:00
|
|
|
@${RM} ${WRKSRC}/config.sub ${WRKSRC}/config.guess ;\
|
|
|
|
${LN} -s ${LOCALBASE}/share/autoconf/config.* ${WRKSRC}/ ;\
|
|
|
|
${PERL} -pi -e 's/-ldl//g' ${WRKSRC}/examples/Makefile.*
|
2000-10-28 03:30:46 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|