mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
eee58d187e
Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr
52 lines
1.8 KiB
Makefile
52 lines
1.8 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= ${MASTER_SITE_SAVANNAH} \
|
|
http://www.blinkenlights.ch/gnupod-dist/stable/
|
|
MASTER_SITE_SUBDIR= gnupod
|
|
|
|
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}/lib/perl5/${PERL_VER}/BSDPAN/GNUpod ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
|
|
@${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/BSDPAN 2>/dev/null || :
|
|
|
|
.include <bsd.port.mk>
|