freebsd-ports/audio/extace/Makefile

40 lines
877 B
Makefile
Raw Normal View History

# New ports collection makefile for: extace
# Date created: 8 April 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
2000-07-31 11:46:30 +02:00
PORTNAME= extace
2001-01-02 20:32:20 +01:00
PORTVERSION= 1.4.5
2000-07-31 11:46:30 +02:00
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= eXtace
2000-07-31 11:46:30 +02:00
MAINTAINER= sobomax@FreeBSD.org
2000-10-05 09:22:56 +02:00
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
2000-07-31 11:46:30 +02:00
USE_X_PREFIX= yes
2000-10-05 09:22:56 +02:00
USE_IMLIB= yes
USE_ESOUND= yes
WANT_GNOME= yes
2000-07-31 11:46:30 +02:00
USE_LIBTOOL= yes
2001-01-02 20:32:20 +01:00
CONFIGURE_ARGS= --disable-alsa
2000-10-05 09:22:56 +02:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_LIBFFTW" \
LIBS="-L${LOCALBASE}/lib"
2000-10-05 09:22:56 +02:00
.include <bsd.port.pre.mk>
2000-10-05 09:22:56 +02:00
.if defined(HAVE_GNOME)
USE_GNOME= yes
.endif
2000-10-05 09:22:56 +02:00
pre-patch:
2001-01-02 20:32:20 +01:00
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
2000-10-05 09:22:56 +02:00
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g'
.include <bsd.port.post.mk>