ports/60746: Maintainer Update: audio/abcde

Munish Chopra chopra at soulwax.net
Wed Dec 31 00:40:39 UTC 2003


>Number:         60746
>Category:       ports
>Synopsis:       Maintainer Update: audio/abcde
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 30 16:40:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Munish Chopra
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD opiate.soulwax.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Dec 28 16:19:38 EST 2003 chopra at opiate.soulwax.net:/usr/obj/usr/src/sys/OPIATE i386


	
>Description:
	Move all possible options into a pre-everything:: target. The
        other way was getting too clumsy.
	
>How-To-Repeat:
	
>Fix:

	

--- abcde.diff begins here ---
diff -ruN /usr/ports/audio/abcde/Makefile abcde/Makefile
--- /usr/ports/audio/abcde/Makefile	Fri Dec  5 19:35:37 2003
+++ abcde/Makefile	Tue Dec 30 19:19:28 2003
@@ -27,65 +27,38 @@
 
 .if defined(WITH_CDDA2WAV)
 RUN_DEPENDS+=	cdda2wav:${PORTSDIR}/sysutils/cdrtools
-.else
-CDDA2WAV_MSG=	"Define WITH_CDDA2WAV to enable cdda2wav support."
 .endif
 
 .if defined(WITH_DAGRAB)
 RUN_DEPENDS+=	dagrab:${PORTSDIR}/audio/dagrab
-.else
-DAGRAB_MSG=	"Define WITH_DAGRAB to enable dagrab support."
 .endif
 
 .if defined(WITH_EJECT)
 RUN_DEPENDS+=	eject:${PORTSDIR}/sysutils/eject
-.else
-EJECT_MSG=	"Define WITH_EJECT to enable auto-eject support."
 .endif
 
 .if defined(WITH_FLAC)
 RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
-.else
-FLAC_MSG=	"Define WITH_FLAC to enable FLAC support."
 .endif
 
 .if defined(WITH_NORMALIZE)
 RUN_DEPENDS+=	normalize:${PORTSDIR}/audio/normalize
-.else
-NORMALIZE_MSG=	"Define WITH_NORMALIZE to enable normalize support."
 .endif
 
 .if defined(WITH_SPEEX)
 RUN_DEPENDS+=	speexenc:${PORTSDIR}/audio/speex
-.else
-SPEEX_MSG=	"Define WITH_SPEEX to enable Speex support."
 .endif
 
-pre-fetch:
-.if defined(CDDA2WAV_MSG)
-	@${ECHO_MSG} ${CDDA2WAV_MSG}
-	@${ECHO_MSG} ""
-.endif
-.if defined(DAGRAB_MSG)
-	@${ECHO_MSG} ${DAGRAB_MSG}
-	@${ECHO_MSG} ""
-.endif
-.if defined(EJECT_MSG)
-	@${ECHO_MSG} ${EJECT_MSG}
-	@${ECHO_MSG} ""
-.endif
-.if defined(FLAC_MSG)
-	@${ECHO_MSG} ${FLAC_MSG}
-	@${ECHO_MSG} ""
-.endif
-.if defined(NORMALIZE_MSG)
-	@${ECHO_MSG} ${NORMALIZE_MSG}
-	@${ECHO_MSG} ""
-.endif
-.if defined(SPEEX_MSG)
-	@${ECHO_MSG} ${SPEEX_MSG}
-	@${ECHO_MSG} ""
-.endif
+pre-everything::
+	@${ECHO}
+	@${ECHO} "You can build ${PORTNAME} with the following options:"
+	@${ECHO} "WITH_CDDA2WAV         enable cdda2wav support"
+	@${ECHO} "WITH_DAGRAB           enable dagrab support"
+	@${ECHO} "WITH_EJECT            enable auto-eject support"
+	@${ECHO} "WITH_FLAC             enable FLAC support"
+	@${ECHO} "WITH_NORMALIZE        enable normalize support"
+	@${ECHO} "WITH_SPEEX            enable Speex support"
+	@${ECHO}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \
--- abcde.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list