aboutsummaryrefslogtreecommitdiffstats
path: root/audio/abcde
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-11-26 06:23:30 +0800
committerbapt <bapt@FreeBSD.org>2011-11-26 06:23:30 +0800
commite8c27b8f156c010e26b040021d52002171a1fe75 (patch)
tree7fd3a72ea0ad30dcce97115c5655ff5d6f8cdbc0 /audio/abcde
parent3b7d5a7932afccb252bc7d36710902f886f40b23 (diff)
downloadfreebsd-ports-graphics-e8c27b8f156c010e26b040021d52002171a1fe75.tar.gz
freebsd-ports-graphics-e8c27b8f156c010e26b040021d52002171a1fe75.tar.zst
freebsd-ports-graphics-e8c27b8f156c010e26b040021d52002171a1fe75.zip
install the configuration file as abcde.conf.sample to avoid overwriting it on each upgrade
Sugested by: Jim Long <james@umpquanet.com> (private mail) Feature safe: yes
Diffstat (limited to 'audio/abcde')
-rw-r--r--audio/abcde/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index 908b98a6b72..a369c1d2915 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -6,13 +6,15 @@
#
PORTNAME= abcde
-PORTVERSION= 2.4.2
+PORTVERSION= 2.4.2_1
CATEGORIES= audio
MASTER_SITES= GOOGLE_CODE
MAINTAINER= bapt@FreeBSD.org
COMMENT= Front-end shell script to encode CDs in flac/mp3/ogg/speex format
+LICENSE= GPLv2
+
RUN_DEPENDS= cd-discid:${PORTSDIR}/audio/cd-discid \
cdparanoia:${PORTSDIR}/audio/cdparanoia \
id3v2:${PORTSDIR}/audio/id3v2 \
@@ -23,7 +25,7 @@ RUN_DEPENDS= cd-discid:${PORTSDIR}/audio/cd-discid \
NO_BUILD= yes
MAN1= abcde.1 cddb-tool.1
-PLIST_FILES= bin/abcde bin/cddb-tool etc/abcde.conf
+PLIST_FILES= bin/abcde bin/cddb-tool etc/abcde.conf.sample
OPTIONS= CDDA2WAV "support cdda2wav to rip CD" Off \
DAGRAB "support dagrab to rip IDE CD" Off \
@@ -36,8 +38,6 @@ OPTIONS= CDDA2WAV "support cdda2wav to rip CD" Off \
REPLAYGAIN "support (vorbis|mp3)gain" Off \
SPEEX "enable Speex support" Off
-LICENSE= GPLv2
-
.include <bsd.port.options.mk>
.if defined(WITH_CDDA2WAV)
@@ -91,13 +91,13 @@ post-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/abcde.conf ${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/abcde.conf ${PREFIX}/etc/abcde.conf.sample
${INSTALL_MAN} ${WRKSRC}/abcde.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 ${PREFIX}/man/man1
post-install:
@${ECHO_MSG} ""
- @${ECHO_MSG} "Please copy ${PREFIX}/etc/abcde.conf to ~/.abcde.conf"
+ @${ECHO_MSG} "Please copy ${PREFIX}/etc/abcde.conf.sample to ~/.abcde.conf"
@${ECHO_MSG} "and edit as necessary. Sane defaults have been set."
@${ECHO_MSG} ""
@${ECHO_MSG} "NOTE: If you have been using ${PORTNAME}-2.1.4 or older,"