aboutsummaryrefslogtreecommitdiffstats
path: root/audio/crip
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2005-05-12 01:25:41 +0800
committerphilip <philip@FreeBSD.org>2005-05-12 01:25:41 +0800
commitdf37bee538e53f02f4625aba690781784a2188da (patch)
tree085bd6f7b902b11b4db3713cf40c6f7cdb78328a /audio/crip
parentd5f82d6b7c904d589fcf1938f2f943a6f8155c03 (diff)
downloadfreebsd-ports-gnome-df37bee538e53f02f4625aba690781784a2188da.tar.gz
freebsd-ports-gnome-df37bee538e53f02f4625aba690781784a2188da.tar.zst
freebsd-ports-gnome-df37bee538e53f02f4625aba690781784a2188da.zip
Update to 3.6.
Approved by: krion
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