2013-08-03 10:45:51 +02:00
|
|
|
# Created by: David Le Brun <david@dyn-ns.net>
|
2003-01-15 17:38:04 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gnupod
|
2010-02-28 03:43:18 +01:00
|
|
|
PORTVERSION= 0.99.8
|
2014-11-26 14:08:24 +01:00
|
|
|
PORTREVISION= 2
|
2003-01-15 17:38:04 +01:00
|
|
|
CATEGORIES= audio perl5
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= SAVANNAH \
|
2006-06-07 14:07:06 +02:00
|
|
|
http://www.blinkenlights.ch/gnupod-dist/stable/
|
2003-01-15 17:38:04 +01:00
|
|
|
|
2010-06-18 11:19:54 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-11-09 17:03:35 +01:00
|
|
|
COMMENT= Set of Perl scripts for using an Apple iPod
|
2003-01-15 17:38:04 +01:00
|
|
|
|
2012-06-28 20:37:23 +02: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 21:04:50 +02:00
|
|
|
p5-Unicode-String>=0:${PORTSDIR}/converters/p5-Unicode-String \
|
2012-06-28 20:37:23 +02:00
|
|
|
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
|
|
|
|
p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1
|
2012-01-21 18:40:15 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2003-01-15 17:38:04 +01:00
|
|
|
|
2003-08-16 12:35:20 +02:00
|
|
|
INFO= gnupod
|
|
|
|
|
2014-06-26 09:32:36 +02:00
|
|
|
USES= makeinfo perl5 tar:tgz
|
2008-05-02 21:27:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-01-15 17:38:04 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2008-05-02 21:27:35 +02:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
2003-04-18 08:48:07 +02:00
|
|
|
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
|
2003-01-15 17:38:04 +01:00
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
OPTIONS_DEFINE= FLAC VORBIS DOCS
|
2007-05-29 09:22:08 +02:00
|
|
|
|
2014-02-28 18:58:09 +01: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 13:49:05 +01:00
|
|
|
|
2003-01-28 23:15:44 +01:00
|
|
|
post-install:
|
2014-02-28 18:58:09 +01: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 14:08:24 +01: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}
|
2014-12-18 16:11:38 +01:00
|
|
|
${MV} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/GNUpod ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
|
|
|
|
@${RMDIR} -p ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} 2>/dev/null || :
|
2003-01-15 17:38:04 +01:00
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
.include <bsd.port.mk>
|