mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
54 lines
1.2 KiB
Makefile
54 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
|
|
PORTREVISION= 1
|
|
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>
|