aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gnupod/Makefile
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2003-01-16 00:38:04 +0800
committersumikawa <sumikawa@FreeBSD.org>2003-01-16 00:38:04 +0800
commit7c4b685d2d04c4ba18a2ea7308f937f4498af1bf (patch)
treee66324593a2016b29c24fd74110adc06ebe23adf /audio/gnupod/Makefile
parent3c760459414819bbd814d5cf37c6199616cce6a4 (diff)
downloadfreebsd-ports-gnome-7c4b685d2d04c4ba18a2ea7308f937f4498af1bf.tar.gz
freebsd-ports-gnome-7c4b685d2d04c4ba18a2ea7308f937f4498af1bf.tar.zst
freebsd-ports-gnome-7c4b685d2d04c4ba18a2ea7308f937f4498af1bf.zip
Add gnupod 0.25, a set of Perl scripts for using an Apple iPod.
PR: 45875 Submitted by: David Le Brun <david@dyn-ns.net>
Diffstat (limited to 'audio/gnupod/Makefile')
-rw-r--r--audio/gnupod/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/audio/gnupod/Makefile b/audio/gnupod/Makefile
new file mode 100644
index 000000000000..9c27884d7cad
--- /dev/null
+++ b/audio/gnupod/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: gnupod
+# Date created: 30 November 2002
+# Whom: David Le Brun <david@dyn-ns.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnupod
+PORTVERSION= 0.25
+CATEGORIES= audio perl5
+MASTER_SITES= http://www.blinkenlights.ch/gnupod/
+DISTNAME= ${PORTNAME}-tools-${PORTVERSION}
+
+MAINTAINER= david@dyn-ns.net
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Unicode/String.pm:${PORTSDIR}/converters/p5-Unicode-String \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Copy.pm:${PORTSDIR}/devel/p5-File-Tools
+
+USE_PERL5= yes
+NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-tools
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/gnupod_INITpod.pl ${PREFIX}/bin/gnupod_INITpod
+ ${INSTALL_SCRIPT} ${WRKSRC}/gnupod_addsong.pl ${PREFIX}/bin/gnupod_addsong
+ ${INSTALL_SCRIPT} ${WRKSRC}/gnupod_connect.pl ${PREFIX}/bin/gnupod_connect
+ ${INSTALL_SCRIPT} ${WRKSRC}/gnupod_delete.pl ${PREFIX}/bin/gnupod_delete
+ ${INSTALL_SCRIPT} ${WRKSRC}/mktunes.pl ${PREFIX}/bin/mktunes
+ ${INSTALL_SCRIPT} ${WRKSRC}/tunes2pod.pl ${PREFIX}/bin/tunes2pod
+
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ @${CHMOD} 0755 ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/doc/index-de.html ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/doc/index.html ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/doc/logo.png ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/doc/gnutunesdb.example ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/doc/ipod.svg ${PREFIX}/share/doc/${PORTNAME}
+.endif
+
+post-install:
+ @${CAT} pkg-message
+
+.include <bsd.port.mk>