View | Details | Raw Unified | Return to bug 53098
Collapse All | Expand All

(-)audio/speex/Makefile (-9 / +7 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	speex
9
PORTNAME=	speex
10
PORTVERSION=	1.0
10
PORTVERSION=	1.0.1
11
PORTEPOCH=	1
11
PORTEPOCH=	1
12
CATEGORIES=	audio
12
CATEGORIES=	audio
13
MASTER_SITES=	http://www.speex.org/download/
13
MASTER_SITES=	http://www.speex.org/download/
Lines 18-23 Link Here
18
18
19
LIB_DEPENDS=	ogg.4:${PORTSDIR}/audio/libogg
19
LIB_DEPENDS=	ogg.4:${PORTSDIR}/audio/libogg
20
20
21
USE_GETOPT_LONG=	yes
21
USE_REINPLACE=	yes
22
USE_REINPLACE=	yes
22
USE_LIBTOOL=	yes
23
USE_LIBTOOL=	yes
23
LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
24
LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
Lines 30-45 Link Here
30
CPPFLAGS=	-I${LOCALBASE}/include
31
CPPFLAGS=	-I${LOCALBASE}/include
31
LDFLAGS=	-L${LOCALBASE}/lib
32
LDFLAGS=	-L${LOCALBASE}/lib
32
33
33
.include <bsd.port.pre.mk>
34
35
.if ${OSVERSION} < 500041
36
LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
37
LDFLAGS+=	-lgnugetopt
38
.endif
39
40
post-patch:
34
post-patch:
41
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
35
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
42
		's|doc win32|win32|g ; \
36
		's|doc win32|win32|g ; \
43
		 s|^mandir =.*$$|mandir = @mandir@|g' 
37
		 s|^mandir =.*$$|mandir = @mandir@|g' 
38
	@${REINPLACE_CMD} -e 's| in -lgnugetopt||g ; \
39
		 s|LIBS="-lgnugetopt|LIBS="|g' ${WRKSRC}/configure
40
	@${REINPLACE_CMD} -e \
41
		's|AFMT_S16_NE|AFMT_S16_LE|g' ${WRKSRC}/src/speexdec.c
44
42
45
.include <bsd.port.post.mk>
43
.include <bsd.port.mk>
(-)audio/speex/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (speex-1.0.tar.gz) = d4ea30440a57ce5a57e915c46a5b7163
1
MD5 (speex-1.0.1.tar.gz) = 20515626d2c755ca9216701b60c97120
(-)audio/speex/pkg-plist (-1 / +1 lines)
Lines 8-11 Link Here
8
include/speex_stereo.h
8
include/speex_stereo.h
9
lib/libspeex.a
9
lib/libspeex.a
10
lib/libspeex.so
10
lib/libspeex.so
11
lib/libspeex.so.1
11
lib/libspeex.so.2

Return to bug 53098