1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/audio/swami/Makefile
Martin Wilke cc62800e96 - Update to 0.9.4
PR:		ports/106138
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2006-12-01 23:59:12 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: Swami
# Date created: 25 Jun 2004
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= swami
PORTVERSION= 0.9.4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An advanced instrument editor
LIB_DEPENDS= fluidsynth.2:${PORTSDIR}/audio/fluidsynth \
audiofile.0:${PORTSDIR}/audio/libaudiofile \
sndfile.1:${PORTSDIR}/audio/libsndfile \
popt.0:${PORTSDIR}/devel/popt \
png.5:${PORTSDIR}/graphics/png
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gnometarget gtk12
WANT_GNOME= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomelibs
.else
CONFIGURE_ARGS= --disable-gnome-canvas
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-g $${CFLAGS}|$${CFLAGS}|g ; \
s|libpng|libpng12|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog NEWS README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>