Lines 12-33
Link Here
|
12 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
13 |
COMMENT= FLAC input plugin for beep-media-player |
13 |
COMMENT= FLAC input plugin for beep-media-player |
14 |
|
14 |
|
15 |
LIB_DEPENDS= libbeep.so:${PORTSDIR}/multimedia/beep-media-player \ |
15 |
LICENSE= GPLv2 |
16 |
libFLAC.so:${PORTSDIR}/audio/flac |
|
|
17 |
|
16 |
|
18 |
PLIST_FILES= lib/bmp/Input/libbmp-flac.so |
17 |
LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \ |
|
|
18 |
libbeep.so:${PORTSDIR}/multimedia/beep-media-player |
19 |
|
19 |
|
20 |
USES= iconv pkgconfig |
|
|
21 |
USE_BZIP2= yes |
20 |
USE_BZIP2= yes |
|
|
21 |
USES= iconv pkgconfig |
22 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ |
23 |
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ |
24 |
--with-ogg="${LOCALBASE}" \ |
24 |
--with-ogg="${LOCALBASE}" \ |
25 |
--with-xmms-prefix="${LOCALBASE}" |
25 |
--with-xmms-prefix="${LOCALBASE}" |
26 |
|
|
|
27 |
MAKEFILE= ${FILESDIR}/Makefile |
26 |
MAKEFILE= ${FILESDIR}/Makefile |
28 |
|
27 |
|
|
|
28 |
CPPFLAGS+= -I${LOCALBASE}/include |
29 |
LDFLAGS+= -L${LOCALBASE}/lib |
30 |
|
31 |
PLIST_FILES= lib/bmp/Input/libbmp-flac.so |
32 |
|
33 |
.include <bsd.port.pre.mk> |
34 |
|
35 |
.if ${ARCH} == "sparc64" |
36 |
BROKEN= Does not compile with GCC 4.2 |
37 |
.endif |
38 |
|
29 |
post-patch: |
39 |
post-patch: |
30 |
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure |
40 |
@${REINPLACE_CMD} -e \ |
|
|
41 |
'/xtra_stdcpp/s|-lstdc++||' ${WRKSRC}/configure |
31 |
|
42 |
|
32 |
# "obj" is magic to our make(1) |
43 |
# "obj" is magic to our make(1) |
33 |
# make sure we get the new includes from ${LOCALBASE}/include/FLAC |
44 |
# make sure we get the new includes from ${LOCALBASE}/include/FLAC |
Lines 38-49
Link Here
|
38 |
# This is to avoid libtool running ldconfig -m ${LOCALBASE}/lib/bmp/Input |
49 |
# This is to avoid libtool running ldconfig -m ${LOCALBASE}/lib/bmp/Input |
39 |
do-install: |
50 |
do-install: |
40 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/bmp/Input |
51 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/bmp/Input |
41 |
${INSTALL_LIB} ${WRKSRC}/src/plugin_bmp/.libs/libbmp-flac.so ${STAGEDIR}${PREFIX}/lib/bmp/Input |
52 |
(cd ${WRKSRC}/src/plugin_bmp/.libs && ${INSTALL_LIB} libbmp-flac.so \ |
42 |
|
53 |
${STAGEDIR}${PREFIX}/lib/bmp/Input) |
43 |
.include <bsd.port.pre.mk> |
|
|
44 |
|
45 |
.if ${ARCH} == "sparc64" |
46 |
BROKEN= Does not compile with GCC 4.2 |
47 |
.endif |
48 |
|
54 |
|
49 |
.include <bsd.port.post.mk> |
55 |
.include <bsd.port.post.mk> |