aboutsummaryrefslogtreecommitdiff
path: root/audio/aube/Makefile
blob: 144f919cf161f298b631f43dc0d0b4d554eb8fc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:	aube
# Date created:				09.06.2003
# Whom:					Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=	aube
PORTVERSION=	0.30.3
PORTREVISION=	4
CATEGORIES=	audio gnome
MASTER_SITES=	http://www.metadecks.org/software/aube/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	System for sound generation and processing

LIB_DEPENDS=	audiofile.0:${PORTSDIR}/audio/libaudiofile

USE_GNOME=	imlib
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=		aube.1
PLIST_FILES=	bin/aube \
		%%DATADIR%%/aube_logo.ppm \
		%%DATADIR%%/aube_mini.png \
		%%DATADIR%%/gtkrc
PLIST_DIRS=	%%DATADIR%%

post-patch:
	@${REINPLACE_CMD} -e \
		's|-lgdk_imlib|@GDK_IMLIB_LIBS@|g' ${WRKSRC}/src/Makefile.in
	@${REINPLACE_CMD} -e \
		's|-g -O2 -Wall|@CFLAGS@|g' ${WRKSRC}/src/modules/Makefile.in

.include <bsd.port.mk>