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

(-)audio/soundtouch/Makefile (-20 / +20 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/audio/soundtouch/Makefile 327706 2013-09-20 14:36:35Z bapt $
2
# $FreeBSD: head/audio/soundtouch/Makefile 327706 2013-09-20 14:36:35Z bapt $
3
3
4
PORTNAME=	soundtouch
4
PORTNAME=	soundtouch
5
PORTVERSION=	1.7.1
5
PORTVERSION=	1.8.0
6
CATEGORIES=	audio
6
CATEGORIES=	audio
7
MASTER_SITES=	http://www.surina.net/soundtouch/
7
MASTER_SITES=	http://www.surina.net/soundtouch/
8
8
Lines 11-47 Link Here
11
11
12
LICENSE=	LGPL21
12
LICENSE=	LGPL21
13
13
14
OPTIONS_DEFINE=	INTEGER_SAMPLES DOCS
15
INTEGER_SAMPLES_DESC=	Use integer sample format
16
17
WRKSRC=		${WRKDIR}/${PORTNAME}
14
WRKSRC=		${WRKDIR}/${PORTNAME}
18
15
19
USE_AUTOTOOLS=	libtoolize aclocal autoheader automake autoconf
16
USE_AUTOTOOLS=	libtoolize aclocal autoheader automake autoconf
20
NO_STAGE=	yes
21
ACLOCAL_ARGS=	-I config/m4
17
ACLOCAL_ARGS=	-I config/m4
22
AUTOMAKE_ARGS=	--add-missing --copy --foreign
18
AUTOMAKE_ARGS=	--add-missing --copy --foreign
19
CONFIGURE_ARGS=	--disable-silent-rules
23
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
24
21
25
.include <bsd.port.options.mk>
22
OPTIONS_DEFINE=	INTEGER_SAMPLES DOCS
23
OPTIONS_DEFINE_amd64=	SSE
24
OPTIONS_DEFINE_i386=	SSE
26
25
27
.if ${PORT_OPTIONS:MINTEGER_SAMPLES}
26
INTEGER_SAMPLES_DESC=	Use integer sample format
28
CONFIGURE_ARGS+=	--enable-integer-samples
27
INTEGER_SAMPLES_CONFIGURE_ENABLE=	integer-samples
29
.endif
28
SSE_CONFIGURE_ENABLE=	x86-optimizations
29
30
.include <bsd.port.options.mk>
30
31
31
post-patch:
32
post-patch:
32
	@${REINPLACE_CMD} -e \
33
	@${REINPLACE_CMD} -e \
33
		's|^pkgdoc_DATA|#pkgdoc_DATA| ; \
34
		'/^pkgdoc_DATA/s|COPYING.TXT|| ; \
34
		 s|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
35
		 s|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
35
		${WRKSRC}/Makefile.am
36
		${WRKSRC}/Makefile.am
36
	@${FIND} ${WRKSRC}/source -name "Makefile.am" | ${XARGS} \
37
	@${REINPLACE_CMD} -e \
37
		${REINPLACE_CMD} -e \
38
		's|^INCLUDES|AM_CPPFLAGS| ; \
38
		's|-O[0-9]|| ; \
39
		 s|$$(prefix)/doc|$$(datadir)/doc|' \
39
		 s|-msse||'
40
		${WRKSRC}/config/am_include.mk
40
41
.for i in SoundStretch SoundTouch
41
post-install:
42
	@${REINPLACE_CMD} -e \
42
.if ${PORT_OPTIONS:MDOCS}
43
		's|-O[0-9]||' \
43
	@${MKDIR} ${DOCSDIR}
44
		${WRKSRC}/source/${i}/Makefile.am
44
	${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
45
.endfor
45
.endif
46
46
47
.include <bsd.port.mk>
47
.include <bsd.port.mk>
(-)audio/soundtouch/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (soundtouch-1.7.1.tar.gz) = 385eafa438a9d31ddf84b8d2f713097a3f1fc93d7abdb2fc54c484b777ee0267
1
SHA256 (soundtouch-1.8.0.tar.gz) = 3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b
2
SIZE (soundtouch-1.7.1.tar.gz) = 101274
2
SIZE (soundtouch-1.8.0.tar.gz) = 106229

Return to bug 185941