blob: 1c5536377f52de412df9b8049a2814e23f3f2e90 (
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
45
46
47
48
49
50
51
|
# 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
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An advanced instrument editor
LIB_DEPENDS= fluidsynth.4:${PORTSDIR}/audio/fluidsynth \
audiofile.0:${PORTSDIR}/audio/libaudiofile \
sndfile.1:${PORTSDIR}/audio/libsndfile \
popt.0:${PORTSDIR}/devel/popt \
png.6:${PORTSDIR}/graphics/png
USE_BZIP2= 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>
|