Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2002 16:32:24 +0200 (CEST)
From:      Jochem Kossen <jochem@jochem.dyndns.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38546: [MAINTAINER UPDATE] audio/cplay-1.45 cleanup
Message-ID:  <200205251432.g4PEWO7i073956@lisa.jochem.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         38546
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] audio/cplay-1.45 cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 25 07:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jochem Kossen
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD lisa.jochem.dyndns.org 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Fri May 3 13:57:17 CEST 2002 jochem@lisa.jochem.dyndns.org:/usr/obj/usr/src/sys/LISA i386


	
>Description:
	After some consideration with a few people, i came to this cleanup.  It
	removes the various optional dependencies, and shows pkg-message after
	install which says to install one or more real audio players before using
	cplay.
	
>How-To-Repeat:
	
>Fix:

	


diff -ruN audio/cplay.orig/Makefile audio/cplay/Makefile
--- audio/cplay.orig/Makefile	Sat May 25 14:21:35 2002
+++ audio/cplay/Makefile	Sat May 25 16:14:34 2002
@@ -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 @@
 	${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/cplay
 	${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/cplay
 .endif
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ruN audio/cplay.orig/pkg-message audio/cplay/pkg-message
--- audio/cplay.orig/pkg-message	Thu Jan  1 01:00:00 1970
+++ audio/cplay/pkg-message	Sat May 25 16:28:24 2002
@@ -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                                        *
+*********************************************************************
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205251432.g4PEWO7i073956>