2013-08-03 08:45:51 +00:00
|
|
|
# Created by: David Le Brun <david@dyn-ns.net>
|
2003-01-15 16:38:04 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gnupod
|
2010-02-28 02:43:18 +00:00
|
|
|
PORTVERSION= 0.99.8
|
2014-11-26 13:08:24 +00:00
|
|
|
PORTREVISION= 2
|
2003-01-15 16:38:04 +00:00
|
|
|
CATEGORIES= audio perl5
|
2006-01-04 05:42:37 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
|
2006-06-07 12:07:06 +00:00
|
|
|
http://www.blinkenlights.ch/gnupod-dist/stable/
|
2006-01-04 05:42:37 +00:00
|
|
|
MASTER_SITE_SUBDIR= gnupod
|
2003-01-15 16:38:04 +00:00
|
|
|
|
2010-06-18 09:19:54 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-11-09 16:03:35 +00:00
|
|
|
COMMENT= Set of Perl scripts for using an Apple iPod
|
2003-01-15 16:38:04 +00:00
|
|
|
|
2012-06-28 18:37:23 +00:00
|
|
|
BUILD_DEPENDS= p5-MP3-Info>=0:${PORTSDIR}/audio/p5-MP3-Info \
|
|
|
|
p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
|
|
|
|
p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
|
2012-06-28 19:04:50 +00:00
|
|
|
p5-Unicode-String>=0:${PORTSDIR}/converters/p5-Unicode-String \
|
2012-06-28 18:37:23 +00:00
|
|
|
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
|
|
|
|
p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1
|
2012-01-21 17:40:15 +00:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2003-01-15 16:38:04 +00:00
|
|
|
|
2003-08-16 10:35:20 +00:00
|
|
|
INFO= gnupod
|
|
|
|
|
2014-06-26 07:32:36 +00:00
|
|
|
USES= makeinfo perl5 tar:tgz
|
2008-05-02 19:27:35 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-01-15 16:38:04 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2008-05-02 19:27:35 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
2003-04-18 06:48:07 +00:00
|
|
|
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
|
2003-01-15 16:38:04 +00:00
|
|
|
|
2012-06-01 06:57:16 +00:00
|
|
|
OPTIONS_DEFINE= FLAC VORBIS DOCS
|
2007-05-29 07:22:08 +00:00
|
|
|
|
2014-02-28 17:58:09 +00:00
|
|
|
FLAC_BUILD_DEPENDS= p5-Audio-FLAC-Header>=0:${PORTSDIR}/audio/p5-Audio-FLAC-Header
|
|
|
|
VORBIS_BUILD_DEPENDS= p5-Ogg-Vorbis-Header-PurePerl>=0:${PORTSDIR}/audio/p5-Ogg-Vorbis-Header-PurePerl \
|
|
|
|
oggdec:${PORTSDIR}/audio/vorbis-tools
|
2005-11-22 12:49:05 +00:00
|
|
|
|
2003-01-28 22:15:44 +00:00
|
|
|
post-install:
|
2014-02-28 17:58:09 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for file in gnupodrc.example gnutunesdb.example gnupod.html mkspl.html \
|
|
|
|
gnupod.texi fdl.texi version.texi ipod.svg
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.endfor
|
2014-11-26 13:08:24 +00:00
|
|
|
# It tries to guess where it should install it's Perl modules, gets it
|
|
|
|
# wrong, and put them in BSDPAN, so move stuff at the right place.
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
|
|
|
|
${MV} ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/BSDPAN/GNUpod ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
|
|
|
|
@${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/BSDPAN 2>/dev/null || :
|
2003-01-15 16:38:04 +00:00
|
|
|
|
2012-06-01 06:57:16 +00:00
|
|
|
.include <bsd.port.mk>
|