diff options
author | naddy <naddy@FreeBSD.org> | 2002-07-29 22:32:23 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-07-29 22:32:23 +0800 |
commit | a30bbb3eadc511d0d6215039186326f376b1ac59 (patch) | |
tree | 7287f2b3dcc7da7b60541182c71c2709d36b3f53 /audio | |
parent | aa7efccf7cff961b831f8f51d94614b72252d433 (diff) | |
download | freebsd-ports-graphics-a30bbb3eadc511d0d6215039186326f376b1ac59.tar.gz freebsd-ports-graphics-a30bbb3eadc511d0d6215039186326f376b1ac59.tar.zst freebsd-ports-graphics-a30bbb3eadc511d0d6215039186326f376b1ac59.zip |
Cleanup: removes the various optional dependencies, and shows
pkg-message after install which says to install one or more real
audio players before using cplay.
PR: 38546
Submitted by: Jochem Kossen <j.kossen@home.nl>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cplay/Makefile | 54 | ||||
-rw-r--r-- | audio/cplay/pkg-message | 7 |
2 files changed, 9 insertions, 52 deletions
diff --git a/audio/cplay/Makefile b/audio/cplay/Makefile index e1f26df4ae1..de018c2dd86 100644 --- a/audio/cplay/Makefile +++ b/audio/cplay/Makefile @@ -7,69 +7,18 @@ PORTNAME= cplay PORTVERSION= 1.45 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://www.tf.hut.fi/~flu/cplay/ MAINTAINER= j.kossen@home.nl -RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 - USE_GMAKE= yes USE_PYTHON= yes MAN1= cplay.1 MAKE_ARGS+= PREFIX="${PREFIX}" -.if defined(WITH_VORBIS) -RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools -.endif - -.if defined(WITH_MADPLAY) -RUN_DEPENDS+= madplay:${PORTSDIR}/audio/mad -.endif - -.if defined(WITH_MIKMOD) -RUN_DEPENDS+= mikmod:${PORTSDIR}/audio/mikmod -.endif - -.if defined(WITH_MPG321) -RUN_DEPENDS+= mpg321:$(PORTSDIR)/audio/mpg321 -.endif - -.if defined(WITH_SPLAY) -RUN_DEPENDS+= splay:${PORTSDIR}/audio/splay -.endif - -pre-everything: -.if !defined(WITH_VORBIS) || !defined(WITH_MADPLAY) || !defined(WITH_MIKMOD) || defined(WITH_MPG321) || !defined(WITH_SPLAY) - @${ECHO_MSG} -.if !defined(WITH_VORBIS) - @${ECHO_MSG} "If you want to have OGG VORBIS support," - @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_VORBIS=yes\"" - @${ECHO_MSG} -.endif -.if !defined(WITH_MADPLAY) - @${ECHO_MSG} "If you want to have MADPLAY support," - @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MADPLAY=yes\"" - @${ECHO_MSG} -.endif -.if !defined(WITH_MIKMOD) - @${ECHO_MSG} "If you want to have MIKMOD support," - @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MIKMOD=yes\"" - @${ECHO_MSG} -.endif -.if !defined(WITH_MPG321) - @${ECHO_MSG} "If you want to have MPG321 support," - @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MPG321=yes\"" - @${ECHO_MSG} -.endif -.if !defined(WITH_SPLAY) - @${ECHO_MSG} "If you want to have SPLAY support," - @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SPLAY=yes\"" - @${ECHO_MSG} -.endif -.endif - post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/cplay @@ -77,5 +26,6 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/cplay ${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/cplay .endif + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/audio/cplay/pkg-message b/audio/cplay/pkg-message new file mode 100644 index 00000000000..5eba4532bd3 --- /dev/null +++ b/audio/cplay/pkg-message @@ -0,0 +1,7 @@ +********************************************************************* +* cplay is a front-end. To use it, you need to install one or more * +* of the following ports (audio players): * +* * +* audio/mpg123, audio/mpg321, audio/vorbis-tools, audio/mikmod, * +* audio/mad or audio/splay * +********************************************************************* |