2003-01-15 17:38:04 +01:00
|
|
|
# New ports collection makefile for: gnupod
|
|
|
|
# Date created: 30 November 2002
|
|
|
|
# Whom: David Le Brun <david@dyn-ns.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnupod
|
2010-02-28 03:43:18 +01:00
|
|
|
PORTVERSION= 0.99.8
|
2003-01-15 17:38:04 +01:00
|
|
|
CATEGORIES= audio perl5
|
2006-01-04 06:42:37 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
|
2006-06-07 14:07:06 +02:00
|
|
|
http://www.blinkenlights.ch/gnupod-dist/stable/
|
2006-01-04 06:42:37 +01:00
|
|
|
MASTER_SITE_SUBDIR= gnupod
|
2003-11-09 17:03:35 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
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 \
|
|
|
|
p5-Unicode-String >=0:${PORTSDIR}/converters/p5-Unicode-String \
|
|
|
|
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
|
2004-07-08 20:41:52 +02:00
|
|
|
MAN1= gnupod_addsong.pl.1 gnupod_check.pl.1 gnupod_INIT.pl.1 \
|
|
|
|
gnupod_otgsync.pl.1 gnupod_search.pl.1 mktunes.pl.1 \
|
|
|
|
tunes2pod.pl.1
|
|
|
|
MANCOMPRESSED= yes
|
2003-08-16 12:35:20 +02:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
USE_PERL5= 5.8.0+
|
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
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2005-11-22 13:49:05 +01:00
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
.if ${PORT_OPTIONS:MFLAC} || exists(${SITE_PERL}/${PERL_ARCH}/Audio/FLAC/Header.pm)
|
2012-06-28 20:37:23 +02:00
|
|
|
BUILD_DEPENDS+= p5-Audio-FLAC-Header>=0:${PORTSDIR}/audio/p5-Audio-FLAC-Header
|
2007-05-29 09:22:08 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
.if ${PORT_OPTIONS:MVORBIS} || exists(${SITE_PERL}/Ogg/Vorbis/Header/PurePerl.pm)
|
2012-06-28 20:37:23 +02:00
|
|
|
BUILD_DEPENDS+= p5-Ogg-Vorbis-Header-PurePerl>=0:${PORTSDIR}/audio/p5-Ogg-Vorbis-Header-PurePerl
|
2008-05-02 21:27:35 +02:00
|
|
|
BUILD_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools
|
2007-05-29 09:22:08 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2003-01-28 23:15:44 +01:00
|
|
|
post-install:
|
2003-03-05 11:28:21 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
|
2005-04-03 23:02:32 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/gnupodrc.example ${DOCSDIR}
|
2003-03-05 11:28:21 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/gnutunesdb.example ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/gnupod.html ${DOCSDIR}
|
2005-04-03 23:02:32 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/mkspl.html ${DOCSDIR}
|
2003-03-05 11:28:21 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/gnupod.texi ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/fdl.texi ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/version.texi ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/ipod.svg ${DOCSDIR}
|
2003-01-15 17:38:04 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
.include <bsd.port.mk>
|