freebsd-ports/audio/gnupod/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

51 lines
1.7 KiB
Makefile

# Created by: David Le Brun <david@dyn-ns.net>
# $FreeBSD$
PORTNAME= gnupod
PORTVERSION= 0.99.8
PORTREVISION= 2
CATEGORIES= audio perl5
MASTER_SITES= SAVANNAH \
http://www.blinkenlights.ch/gnupod-dist/stable/
MAINTAINER= ports@FreeBSD.org
COMMENT= Set of Perl scripts for using an Apple iPod
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
RUN_DEPENDS:= ${BUILD_DEPENDS}
INFO= gnupod
USES= makeinfo perl5 tar:tgz
GNU_CONFIGURE= yes
NO_BUILD= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
OPTIONS_DEFINE= FLAC VORBIS DOCS
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
post-install:
@${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
# 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}/${SITE_ARCH_REL}/GNUpod ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
@${RMDIR} -p ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} 2>/dev/null || :
.include <bsd.port.mk>