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

(-)audio/libsamplerate/Makefile (-22 / +12 lines)
Lines 6-47 Link Here
6
#
6
#
7
7
8
PORTNAME=	libsamplerate
8
PORTNAME=	libsamplerate
9
PORTVERSION=	0.0.14
9
PORTVERSION=	0.0.15
10
CATEGORIES=	audio
10
CATEGORIES=	audio
11
MASTER_SITES= 	http://www.mega-nerd.com/SRC/
11
MASTER_SITES= 	http://www.mega-nerd.com/SRC/
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	Secret Rabbit Code is a Sample Rate Converter for audio
14
COMMENT=	Secret Rabbit Code: a Sample Rate Converter for audio
15
15
16
BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
16
BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
17
LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile
17
LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile \
18
		fftw.2:${PORTSDIR}/math/fftw
18
RUN_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
19
RUN_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
19
20
20
INSTALLS_SHLIB=	yes
21
USE_GNOME=	gnomehack
21
USE_REINPLACE=	yes
22
USE_LIBTOOL=	yes
22
USE_LIBTOOL=	yes
23
CONFIGURE_ARGS=	--disable-gcc-pipe
24
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
23
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
25
24
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
26
.if defined(WITH_DEBUG)
25
		LDFLAGS="-L${LOCALBASE}/lib"
27
CONFIGURE_ARGS+=	--enable-debug
26
CONFIGURE_ARGS=	--disable-gcc-pipe
28
.endif
27
INSTALLS_SHLIB=	yes
29
30
PORTDOCS=	SRC.png SRC.css index.html license.html history.html \
31
		download.html lists.html quality.html win32.html \
32
		api.html api_simple.html api_full.html api_misc.html
33
34
post-patch:
35
	@${REINPLACE_CMD} -e \
36
		's|libdir[)]/pkgconfig|prefix)/libdata/pkgconfig|g' \
37
			${WRKSRC}/Makefile.in
38
28
39
post-install:
29
post-install:
40
.if !defined(NOPORTDOCS)
30
.if !defined(NOPORTDOCS)
41
	@${MKDIR} ${DOCSDIR}
31
	@${MKDIR} ${DOCSDIR}
42
.for file in ${PORTDOCS}
32
	${INSTALL_DATA} ${WRKSRC}/doc/*.css ${DOCSDIR}
43
	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
33
	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
44
.endfor
34
	${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}
45
.endif
35
.endif
46
36
47
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)audio/libsamplerate/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (libsamplerate-0.0.14.tar.gz) = 485a6e19d6ee0c5edf65e7be9ae02422
1
MD5 (libsamplerate-0.0.15.tar.gz) = 6b15cc39d1275f1118de4d57f89544eb
(-)audio/libsamplerate/pkg-plist (-8 / +7 lines)
Lines 4-20 Link Here
4
lib/libsamplerate.so
4
lib/libsamplerate.so
5
lib/libsamplerate.so.0
5
lib/libsamplerate.so.0
6
libdata/pkgconfig/samplerate.pc
6
libdata/pkgconfig/samplerate.pc
7
%%PORTDOCS%%share/doc/libsamplerate/SRC.png
8
%%PORTDOCS%%share/doc/libsamplerate/SRC.css
7
%%PORTDOCS%%share/doc/libsamplerate/SRC.css
8
%%PORTDOCS%%share/doc/libsamplerate/SRC.png
9
%%PORTDOCS%%share/doc/libsamplerate/api.html
10
%%PORTDOCS%%share/doc/libsamplerate/api_full.html
11
%%PORTDOCS%%share/doc/libsamplerate/api_misc.html
12
%%PORTDOCS%%share/doc/libsamplerate/api_simple.html
13
%%PORTDOCS%%share/doc/libsamplerate/download.html
14
%%PORTDOCS%%share/doc/libsamplerate/history.html
9
%%PORTDOCS%%share/doc/libsamplerate/index.html
15
%%PORTDOCS%%share/doc/libsamplerate/index.html
10
%%PORTDOCS%%share/doc/libsamplerate/license.html
16
%%PORTDOCS%%share/doc/libsamplerate/license.html
11
%%PORTDOCS%%share/doc/libsamplerate/history.html
12
%%PORTDOCS%%share/doc/libsamplerate/download.html
13
%%PORTDOCS%%share/doc/libsamplerate/lists.html
17
%%PORTDOCS%%share/doc/libsamplerate/lists.html
14
%%PORTDOCS%%share/doc/libsamplerate/quality.html
18
%%PORTDOCS%%share/doc/libsamplerate/quality.html
15
%%PORTDOCS%%share/doc/libsamplerate/win32.html
19
%%PORTDOCS%%share/doc/libsamplerate/win32.html
16
%%PORTDOCS%%share/doc/libsamplerate/api.html
17
%%PORTDOCS%%share/doc/libsamplerate/api_simple.html
18
%%PORTDOCS%%share/doc/libsamplerate/api_full.html
19
%%PORTDOCS%%share/doc/libsamplerate/api_misc.html
20
@dirrm %%PORTDOCS%%share/doc/libsamplerate

Return to bug 52044