aboutsummaryrefslogtreecommitdiff
path: root/audio/swami/Makefile
blob: 1d274a6b4b87610df834b32b568bc81cc10f0156 (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
39
40
41
42
43
44
# New ports collection makefile for:	Swami
# Date created:			25 Jun 2004
# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=		swami
PORTVERSION=		0.9.2
CATEGORIES=		audio
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=		jylefort@FreeBSD.org
COMMENT=		An advanced instrument editor

LIB_DEPENDS=		popt:${PORTSDIR}/devel/popt \
			png:${PORTSDIR}/graphics/png \
			fluidsynth:${PORTSDIR}/audio/fluidsynth \
			sndfile:${PORTSDIR}/audio/libsndfile \
			audiofile:${PORTSDIR}/audio/libaudiofile

USE_X_PREFIX=		yes
USE_BZIP2=		yes
USE_REINPLACE=		yes
USE_INC_LIBTOOL_VER=	13
USE_GNOME=		gnomelibs gnometarget
CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
			LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e 's|libpng|libpng12|g' ${WRKSRC}/${CONFIGURE_SCRIPT}

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} \
		${WRKSRC}/AUTHORS \
		${WRKSRC}/NEWS \
		${WRKSRC}/README \
		${DOCSDIR}
.endif

.include <bsd.port.mk>