aboutsummaryrefslogtreecommitdiff
path: root/audio/crip
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2005-05-11 17:25:41 +0000
committerPhilip Paeps <philip@FreeBSD.org>2005-05-11 17:25:41 +0000
commitfe01c023ca828c7ba762725b2b213e4374d0fcff (patch)
tree8026c1fe887fe611873a68528caec6d8fcb72c37 /audio/crip
parentd696ef4d5d65a8ce53fdf759600bdddeec10152b (diff)
downloadports-fe01c023ca828c7ba762725b2b213e4374d0fcff.tar.gz
ports-fe01c023ca828c7ba762725b2b213e4374d0fcff.zip
Notes
Diffstat (limited to 'audio/crip')
-rw-r--r--audio/crip/Makefile17
-rw-r--r--audio/crip/distinfo4
-rw-r--r--audio/crip/pkg-plist2
3 files changed, 13 insertions, 10 deletions
diff --git a/audio/crip/Makefile b/audio/crip/Makefile
index 43ca9e1b4dc5..e0c17f7bb427 100644
--- a/audio/crip/Makefile
+++ b/audio/crip/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= crip
-PORTVERSION= 3.5
+PORTVERSION= 3.6
CATEGORIES= audio
MASTER_SITES= http://bach.dynet.com/crip/src/
@@ -18,20 +18,25 @@ RUN_DEPENDS= ${SITE_PERL}/CDDB_get.pm:${PORTSDIR}/audio/p5-CDDB_get \
oggenc:${PORTSDIR}/audio/vorbis-tools \
vorbisgain:${PORTSDIR}/audio/vorbisgain
+.if defined(WITH_SOX)
+RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox
+.endif
+
.if !defined(NOPORTDOCS)
PORTDOCS= Changelog README criprc_example
.endif
-do-build:
- ${CC} ${CFLAGS} -o ${WRKSRC}/wav_find_beginning ${WRKSRC}/wav_find_beginning.c
- ${CC} ${CFLAGS} -o ${WRKSRC}/wav_find_end ${WRKSRC}/wav_find_end.c
+NO_BUILD= yes
+
+pre-fetch:
+.if !defined (WITH_SOX)
+ @${ECHO_MSG} "Define WITH_SOX to enable normalization with sox."
+.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/crip ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/editcomment ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/editfilenames ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/wav_find_beginning ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/wav_find_end ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
diff --git a/audio/crip/distinfo b/audio/crip/distinfo
index 4519ae042a17..f1e69ac4a816 100644
--- a/audio/crip/distinfo
+++ b/audio/crip/distinfo
@@ -1,2 +1,2 @@
-MD5 (crip-3.5.tar.gz) = e45bae8cccaf66e811652f9c732667ed
-SIZE (crip-3.5.tar.gz) = 354035
+MD5 (crip-3.6.tar.gz) = 52c513cf66f22287e7b9c2419d330e9f
+SIZE (crip-3.6.tar.gz) = 36068
diff --git a/audio/crip/pkg-plist b/audio/crip/pkg-plist
index 60e20d903ff6..c116ce96c455 100644
--- a/audio/crip/pkg-plist
+++ b/audio/crip/pkg-plist
@@ -1,5 +1,3 @@
bin/crip
bin/editcomment
bin/editfilenames
-bin/wav_find_beginning
-bin/wav_find_end