aboutsummaryrefslogtreecommitdiff
path: root/audio/abcde
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-12-31 00:50:29 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-12-31 00:50:29 +0000
commit7c33b08fbbf531c786abb5bcc769bf18eeb034c3 (patch)
tree0bc751963ffe6e69b6754a130c78c741714aeab8 /audio/abcde
parentfac51e4a2b61781518f618cc3fd2c3dcf7d97202 (diff)
downloadports-7c33b08fbbf531c786abb5bcc769bf18eeb034c3.tar.gz
ports-7c33b08fbbf531c786abb5bcc769bf18eeb034c3.zip
- Reorganize options into pre-everything target.
PR: ports/60746 Submitted by: Munish Chopra <chopra@soulwax.net> (maintainer)
Notes
Notes: svn path=/head/; revision=96980
Diffstat (limited to 'audio/abcde')
-rw-r--r--audio/abcde/Makefile47
1 files changed, 10 insertions, 37 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index 7b55ddeabed3..2fb23a9c93e6 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -27,65 +27,38 @@ MAN1= abcde.1 cddb-tool.1
.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' \