blob: 834025640945fe42575c29049e7d9cce068cd0ad (
plain)
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
|
# ex:ts=8
# Ports collection makefile for: mhWaveEdit
# Date created: Apr 19, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= mhwaveedit
PORTVERSION= 1.1.3
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.mtek.chalmers.se/~hjormagn/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= sndfile.0:${PORTSDIR}/audio/libsndfile
USE_GTK= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --without-portaudio
.if defined(WITH_SDL)
LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}"
.else
CONFIGURE_ARGS+= --without-sdl
.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
's|^CFLAGS =.*$$|CFLAGS = \@CFLAGS\@|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mhwaveedit ${PREFIX}/bin
.include <bsd.port.mk>
|