aboutsummaryrefslogtreecommitdiff
path: root/audio/gnupod
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2007-05-29 07:22:08 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2007-05-29 07:22:08 +0000
commit261649a9a615a4dbb7ba319b1111e1acf3b2718f (patch)
treed0049b100ff7781aa32dcac94a077fd83ca440ce /audio/gnupod
parente26089a2cf5236da0379ee63c917b69cd924bfbf (diff)
downloadports-261649a9a615a4dbb7ba319b1111e1acf3b2718f.tar.gz
ports-261649a9a615a4dbb7ba319b1111e1acf3b2718f.zip
- Update gnupod to 0.99.2
- Add FLAC support (option) PR: 112466 Submitted by: "David" <david AT trucs.org> (maintainer) Approved by: clsung (mentor, implicitly)
Notes
Notes: svn path=/head/; revision=192288
Diffstat (limited to 'audio/gnupod')
-rw-r--r--audio/gnupod/Makefile16
-rw-r--r--audio/gnupod/distinfo6
-rw-r--r--audio/gnupod/pkg-descr2
3 files changed, 18 insertions, 6 deletions
diff --git a/audio/gnupod/Makefile b/audio/gnupod/Makefile
index ab55e6c1f8f6..d6e002b33d53 100644
--- a/audio/gnupod/Makefile
+++ b/audio/gnupod/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnupod
-PORTVERSION= 0.99
+PORTVERSION= 0.99.2
CATEGORIES= audio perl5
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
http://www.blinkenlights.ch/gnupod-dist/stable/
@@ -34,15 +34,27 @@ USE_PERL5= yes
HAS_CONFIGURE= yes
NO_BUILD= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --infodir=${PREFIX}/info \
+ --mandir=${PREFIX}/man
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
+OPTIONS= FLAC "Enable FLAC support" off
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= gnupod only support perl 5.8 or above
.endif
+.if exists(${SITE_PERL}/${PERL_ARCH}/Audio/FLAC/Header.pm)
+WITH_FLAC= YES
+.endif
+
+.if defined(WITH_FLAC)
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Audio/FLAC/Header.pm:${PORTSDIR}/audio/p5-Audio-FLAC-Header
+.endif
+
.ifndef(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
diff --git a/audio/gnupod/distinfo b/audio/gnupod/distinfo
index 2ffa38f14801..6072aaed0d10 100644
--- a/audio/gnupod/distinfo
+++ b/audio/gnupod/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnupod-0.99.tgz) = 6939b1623a2a700cccdbef0c4d7ae555
-SHA256 (gnupod-0.99.tgz) = 2c25c8e2ebd2612efddae14079884391195af2cb497f3a501174fd378c7080d4
-SIZE (gnupod-0.99.tgz) = 164195
+MD5 (gnupod-0.99.2.tgz) = 9e0ce9bf90ade64007e93595a74cd8a7
+SHA256 (gnupod-0.99.2.tgz) = c52bcc63cec709cb3924832ac17b0ca9c75e291ed583858ade4f6ddfdb6de72a
+SIZE (gnupod-0.99.2.tgz) = 173524
diff --git a/audio/gnupod/pkg-descr b/audio/gnupod/pkg-descr
index c3e970956a0d..1ebf11e63e57 100644
--- a/audio/gnupod/pkg-descr
+++ b/audio/gnupod/pkg-descr
@@ -1,4 +1,4 @@
-gnuPod is a collection of tools which allow you to use your iPod.
+GNUpod is a collection of tools which allow you to use your iPod.
WWW: http://www.gnu.org/software/gnupod/