diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2007-05-29 15:22:08 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2007-05-29 15:22:08 +0800 |
commit | eeb322b6e07d99722d2068391aa345cc8f0f92ba (patch) | |
tree | 1da08d8690bc8a6e9113e5da5f168df778d1c3c6 /audio/gnupod/Makefile | |
parent | b5ce504542fa10fe73fc95f56b31a4ed1c7b89ff (diff) | |
download | freebsd-ports-gnome-eeb322b6e07d99722d2068391aa345cc8f0f92ba.tar.gz freebsd-ports-gnome-eeb322b6e07d99722d2068391aa345cc8f0f92ba.tar.zst freebsd-ports-gnome-eeb322b6e07d99722d2068391aa345cc8f0f92ba.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)
Diffstat (limited to 'audio/gnupod/Makefile')
-rw-r--r-- | audio/gnupod/Makefile | 16 |
1 files changed, 14 insertions, 2 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} |