blob: 0cd90a301610234dbd6c428d571b05a3c5ac5d68 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= MuSE
PORTVERSION= 0.9.2
PORTREVISION= 14
CATEGORIES= audio
MASTER_SITES= http://files.dyne.org/muse/releases/
MAINTAINER= ports@FreeBSD.org
COMMENT= Multiple Streaming Engine
LICENSE= GPLv2
LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \
libogg.so:${PORTSDIR}/audio/libogg
OPTIONS_DEFINE= X11 LAME SNDFILE DOCS
OPTIONS_DEFAULT=X11
USES= gettext gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug --disable-lubrify --disable-rpath
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_SYS_UIO_H ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS}
PORTDOCS= AUTHORS ChangeLog NEWS KNOWN-BUGS README TODO USAGE
PLIST_FILES= bin/muse man/man1/muse.1.gz
.for lang in es it
PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/muse.mo
.endfor
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
USE_GNOME+= gtk20
.else
CONFIGURE_ARGS+=--without-x --with-rubik
.endif
.if ${PORT_OPTIONS:MLAME}
LIB_DEPENDS+= libmp3lame.so:${PORTSDIR}/audio/lame
.else
CONFIGURE_ENV+= ac_cv_header_lame_lame_h=no
.endif
.if ${PORT_OPTIONS:MSNDFILE}
LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile
.endif
post-patch:
@${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \
${WRKSRC}/src/portaudio/pa_unix_oss.c
.if empty(PORT_OPTIONS:MSNDFILE)
@${REINPLACE_CMD} -e '/sndfile >=/s|$$PKG_CONFIG|${FALSE}|' \
${WRKSRC}/configure
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
|