Lines 8-41
Link Here
|
8 |
|
8 |
|
9 |
PORTNAME= MuSE |
9 |
PORTNAME= MuSE |
10 |
PORTVERSION= 0.9.2 |
10 |
PORTVERSION= 0.9.2 |
11 |
PORTREVISION= 12 |
11 |
PORTREVISION= 13 |
12 |
CATEGORIES= audio |
12 |
CATEGORIES= audio |
13 |
MASTER_SITES= ftp://ftp.dyne.org/muse/releases/ \ |
13 |
MASTER_SITES= http://files.dyne.org/muse/releases/ |
14 |
http://www.ljudmila.org/~jaromil/muse/releases/ |
|
|
15 |
|
14 |
|
16 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= Multiple Streaming Engine |
16 |
COMMENT= Multiple Streaming Engine |
18 |
|
17 |
|
|
|
18 |
LICENSE= GPLv2 |
19 |
|
19 |
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \ |
20 |
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \ |
20 |
ogg.7:${PORTSDIR}/audio/libogg |
21 |
ogg.7:${PORTSDIR}/audio/libogg |
21 |
|
22 |
|
|
|
23 |
OPTIONS_DEFINE= X11 LAME SNDFILE DOCS |
24 |
OPTIONS_DEFAULT=X11 |
25 |
|
22 |
USE_GETTEXT= yes |
26 |
USE_GETTEXT= yes |
23 |
USE_GMAKE= yes |
27 |
USE_GMAKE= yes |
24 |
WANT_GNOME= yes |
|
|
25 |
GNU_CONFIGURE= yes |
28 |
GNU_CONFIGURE= yes |
26 |
CONFIGURE_ARGS= --disable-debug --disable-lubrify --disable-rpath |
29 |
CONFIGURE_ARGS= --disable-debug --disable-lubrify --disable-rpath |
27 |
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT -DHAVE_SYS_UIO_H \ |
30 |
MAKE_JOBS_SAFE= yes |
28 |
${PTHREAD_CFLAGS} |
|
|
29 |
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl |
30 |
|
31 |
|
31 |
OPTIONS_DEFINE= X11 LAME SNDFILE |
32 |
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_SYS_UIO_H ${PTHREAD_CFLAGS} |
32 |
OPTIONS_DEFAULT= X11 |
33 |
LDFLAGS+= -L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS} |
33 |
|
34 |
|
34 |
.include <bsd.port.pre.mk> |
35 |
MAN1= muse.1 |
|
|
36 |
PORTDOCS= AUTHORS ChangeLog NEWS KNOWN-BUGS README TODO USAGE |
37 |
PLIST_FILES= bin/muse |
38 |
.for lang in es it |
39 |
PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/muse.mo |
40 |
.endfor |
35 |
|
41 |
|
36 |
.if ${OSVERSION} < 800501 |
42 |
.include <bsd.port.options.mk> |
37 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-broken-scandir |
|
|
38 |
.endif |
39 |
|
43 |
|
40 |
.if ${PORT_OPTIONS:MX11} |
44 |
.if ${PORT_OPTIONS:MX11} |
41 |
USE_GNOME+= gtk20 |
45 |
USE_GNOME+= gtk20 |
Lines 44-63
Link Here
|
44 |
CONFIGURE_ARGS+=--without-x --with-rubik |
48 |
CONFIGURE_ARGS+=--without-x --with-rubik |
45 |
.endif |
49 |
.endif |
46 |
|
50 |
|
47 |
.if ${PORT_OPTIONS:MMP3} || exists(${LOCALBASE}/lib/libmp3lame.so.0) |
51 |
.if ${PORT_OPTIONS:MLAME} |
48 |
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame |
52 |
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame |
|
|
53 |
.else |
54 |
CONFIGURE_ENV+= ac_cv_header_lame_lame_h=no |
49 |
.endif |
55 |
.endif |
50 |
|
56 |
|
51 |
.if ${PORT_OPTIONS:MSNDFILE} || exists(${LOCALBASE}/lib/libsndfile.so.1) |
57 |
.if ${PORT_OPTIONS:MSNDFILE} |
52 |
LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile |
58 |
LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile |
53 |
.endif |
59 |
.endif |
54 |
|
60 |
|
55 |
MAN1= muse.1 |
|
|
56 |
|
57 |
post-patch: |
61 |
post-patch: |
58 |
.if exists(/usr/include/sys/soundcard.h) |
62 |
@${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \ |
59 |
${REINPLACE_CMD} -e "s,machine/soundcard.h,sys/soundcard.h,g" \ |
|
|
60 |
${WRKSRC}/src/portaudio/pa_unix_oss.c |
63 |
${WRKSRC}/src/portaudio/pa_unix_oss.c |
|
|
64 |
.if empty(PORT_OPTIONS:MSNDFILE) |
65 |
@${REINPLACE_CMD} -e '/sndfile >=/s|$$PKG_CONFIG|${FALSE}|' \ |
66 |
${WRKSRC}/configure |
67 |
.endif |
68 |
|
69 |
post-install: |
70 |
.if ${PORT_OPTIONS:MDOCS} |
71 |
@${MKDIR} ${DOCSDIR} |
72 |
.for file in ${PORTDOCS} |
73 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
74 |
.endfor |
61 |
.endif |
75 |
.endif |
62 |
|
76 |
|
63 |
.include <bsd.port.post.mk> |
77 |
.include <bsd.port.mk> |