diff options
author | rafan <rafan@FreeBSD.org> | 2006-08-21 23:17:47 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-08-21 23:17:47 +0800 |
commit | 67338cdfaa8dba6e0e4e0714ce1b1273f5a85e9a (patch) | |
tree | 688615afce50b6683e8523df6e2e7be5b4abfb06 /audio | |
parent | 13250a7215cddc575665424fef14d6a3f1b52a4a (diff) | |
download | freebsd-ports-gnome-67338cdfaa8dba6e0e4e0714ce1b1273f5a85e9a.tar.gz freebsd-ports-gnome-67338cdfaa8dba6e0e4e0714ce1b1273f5a85e9a.tar.zst freebsd-ports-gnome-67338cdfaa8dba6e0e4e0714ce1b1273f5a85e9a.zip |
- EXAMPLESDIR is not controlled by NOPORTDOCS
- Turn off LIBAO by default
- Mark it as BROKEN on 4.x: does not compile (no towupper(3))
- Bump PORTREVISION
PR: ports/102187
Submitted by: Simon Olofsson <simon@olofsson.de> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cmus/Makefile | 21 | ||||
-rw-r--r-- | audio/cmus/pkg-plist | 4 |
2 files changed, 13 insertions, 12 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile index 9fe829258198..3f715cffae51 100644 --- a/audio/cmus/Makefile +++ b/audio/cmus/Makefile @@ -7,6 +7,7 @@ PORTNAME= cmus PORTVERSION= 2.0.3 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://onion.dynserv.net/~timo/files/ \ http://mirror.greaterscope.net/cmus/ @@ -15,6 +16,7 @@ MAINTAINER= simon@olofsson.de COMMENT= Console-based music player with really cool features USE_BZIP2= yes +USE_GCC= 3.2+ USE_GMAKE= yes USE_ICONV= yes HAS_CONFIGURE= yes @@ -27,12 +29,16 @@ OPTIONS= FLAC "FLAC (Free Lossless Audio Codec) support" Off \ MODPLUG "libmodplug (mod, x3m, ...) support" Off \ MUSEPACK "libmpcdec (Musepack .mpc) support" Off \ VORBIS "Ogg/Vorbis support" On \ - LIBAO "Libao cross-platform audio library" On \ - ARTS "ARTS support" Off \ - TREMOR "Use Tremor as Ogg/Vorbis input plugin" Off + TREMOR "Use Tremor as Ogg/Vorbis input plugin" Off \ + LIBAO "Libao cross-platform audio library" Off \ + ARTS "ARTS support" Off .include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 +BROKEN= does not compile on FreeBSD 4.X +.endif + .if defined(WITH_FLAC) LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac CONFIGURE_ARGS+=CONFIG_FLAC=y @@ -78,7 +84,7 @@ CONFIGURE_ARGS+=CONFIG_VORBIS=n PLIST_SUB+= VORBIS="@comment " .endif -.if !defined(WITHOUT_LIBAO) +.if defined(WITH_LIBAO) LIB_DEPENDS+= ao:${PORTSDIR}/audio/libao CONFIGURE_ARGS+=CONFIG_AO=y PLIST_SUB+= AO="" @@ -105,11 +111,6 @@ MAN1= cmus.1 cmus-remote.1 post-extract: @${REINPLACE_CMD} -e 's,-lncursesw,-lncurses,g' ${WRKSRC}/configure - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL} ${WRKSRC}/cmus-status-display ${EXAMPLESDIR} -.endif + @${REINPLACE_CMD} -e 's,doc/cmus/examples,examples/cmus,g' ${WRKSRC}/Makefile .include <bsd.port.post.mk> diff --git a/audio/cmus/pkg-plist b/audio/cmus/pkg-plist index d6b6d97528a8..ecd288905205 100644 --- a/audio/cmus/pkg-plist +++ b/audio/cmus/pkg-plist @@ -15,8 +15,8 @@ lib/cmus/op/oss.so %%DATADIR%%/green-mono-88.theme %%DATADIR%%/rc %%DATADIR%%/xterm-white.theme -%%PORTDOCS%%%%EXAMPLESDIR%%/cmus-status-display -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%EXAMPLESDIR%%/cmus-status-display +@dirrm %%EXAMPLESDIR%% @dirrm %%DATADIR%% @dirrm lib/cmus/op @dirrm lib/cmus/ip |