Tweak audio/glame version 2.0.1_24
[dports.git] / audio / glame / Makefile
1 # Created by: Maxim Sobolev <sobomax@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       glame
5 PORTVERSION=    2.0.1
6 PORTREVISION=   24
7 CATEGORIES=     audio gnome
8 MASTER_SITES=   SF
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Powerful, fast, stable, and easily extensible sound editor for GNOME
12
13 BUILD_DEPENDS=  ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
14 LIB_DEPENDS=    libmp3lame.so:${PORTSDIR}/audio/lame \
15                 libmad.so:${PORTSDIR}/audio/libmad \
16                 libvorbis.so:${PORTSDIR}/audio/libvorbis \
17                 libguile.so:${PORTSDIR}/lang/guile
18
19 USE_AUTOTOOLS=  libltdl
20 GNU_CONFIGURE=  yes
21 CONFIGURE_ENV=  MAKEINFO="makeinfo --no-split"
22 USES=           gettext gmake pathfix pkgconfig libtool makeinfo
23 USE_GNOME=      gnomeprefix libgnomeui
24 USE_XORG=       xbitmaps x11
25 INSTALL_TARGET= install-strip
26
27 INFO=           glame glame-dev
28
29 CPPFLAGS+=      -I${LOCALBASE}/include
30 LDFLAGS+=       -L${LOCALBASE}/lib -lltdl
31
32 post-extract:
33         @cd ${WRKSRC}/doc && ${RM} -f *.info*
34
35 post-patch:
36         @${REINPLACE_CMD} -e 's| libltdl|| ; s|,$$LIBLTDL,|,,| ; \
37                 s|,$$LTDLINCL,|,,| ; s|,$$LTLIBOBJS,|,,|' ${WRKSRC}/configure
38
39 .include <bsd.port.mk>