Lines 7-13
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= mhwaveedit |
9 |
PORTNAME= mhwaveedit |
10 |
PORTVERSION= 1.2.4 |
10 |
PORTVERSION= 1.2.5 |
11 |
CATEGORIES= audio |
11 |
CATEGORIES= audio |
12 |
MASTER_SITES= http://www.mtek.chalmers.se/~hjormagn/ |
12 |
MASTER_SITES= http://www.mtek.chalmers.se/~hjormagn/ |
13 |
|
13 |
|
Lines 18-29
Link Here
|
18 |
portaudio.0:${PORTSDIR}/audio/portaudio |
18 |
portaudio.0:${PORTSDIR}/audio/portaudio |
19 |
|
19 |
|
20 |
USE_REINPLACE= yes |
20 |
USE_REINPLACE= yes |
21 |
USE_GNOME= gnomehack gtk20 |
21 |
USE_GNOME= gnomehack gnometarget gtk20 |
22 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
|
|
24 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
23 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
25 |
LDFLAGS="-L${LOCALBASE}/lib" |
24 |
LDFLAGS="-L${LOCALBASE}/lib" |
26 |
CONFIGURE_ARGS= --without-sdl |
25 |
CONFIGURE_ARGS= --without-sdl |
|
|
26 |
|
27 |
.if defined(WITH_DOUBLE_SAMPLES) |
28 |
CONFIGURE_ARGS+= --with-double-samples |
29 |
.endif |
30 |
|
31 |
pre-everything:: |
32 |
@${ECHO_MSG} "" |
33 |
@${ECHO_MSG} "mhWaveEdit has the following tunable option:" |
34 |
@${ECHO_MSG} "" |
35 |
@${ECHO_MSG} " WITH_DOUBLE_SAMPLES=yes" |
36 |
@${ECHO_MSG} " Use double precision floating point numbers for sound" |
37 |
@${ECHO_MSG} " processing (slows down program but may increase" |
38 |
@${ECHO_MSG} " quality for 24/32-bit samplerates)" |
39 |
@${ECHO_MSG} "" |
27 |
|
40 |
|
28 |
post-patch: |
41 |
post-patch: |
29 |
@${REINPLACE_CMD} -e 's| -O2||g' ${WRKSRC}/configure |
42 |
@${REINPLACE_CMD} -e 's| -O2||g' ${WRKSRC}/configure |