Index: head/Mk/Uses/perl5.mk =================================================================== --- head/Mk/Uses/perl5.mk (revision 542641) +++ head/Mk/Uses/perl5.mk (revision 542642) @@ -1,335 +1,342 @@ # $FreeBSD$ # # Provide support to use perl5 # # PERL5 - Set to full path of perl5, either in the system or # installed from a port. # PERL - Set to full path of perl5, either in the system or # installed from a port, but without the version number. # Use this if you need to replace "#!" lines in scripts. # PERL_VERSION - Full version of perl5 (see below for current value). # # PERL_VER - Short version of perl5 (major.minor without patchlevel) # # PERL_LEVEL - Perl version as an integer of the form MNNNPP, where # M is major version, N is minor version, and P is # the patch level. E.g., PERL_VERSION=5.14.4 would give # a PERL_LEVEL of 501404. This can be used in comparisons # to determine if the version of perl is high enough, # whether a particular dependency is needed, etc. # PERL_ARCH - Directory name of architecture dependent libraries # (value: mach). # PERL_PORT - Name of the perl port that is installed # (for example: perl5.24) # SITE_PERL - Directory name where site specific perl packages go. # This value is added to PLIST_SUB. # SITE_ARCH - Directory name where arch site specific perl packages go. # This value is added to PLIST_SUB. # USE_PERL5 - If set, this port uses perl5 in one or more of the extract, # patch, build, run or test phases. # It can also have configure, modbuild and modbuildtiny when # the port needs to run Makefile.PL, Build.PL and a # Module::Build::Tiny flavor of Build.PL. # # MAINTAINER: perl@FreeBSD.org .if !defined(_INCLUDE_USES_PERL5_MK) _INCLUDE_USES_PERL5_MK= yes . if !empty(perl5_ARGS) IGNORE= Incorrect 'USES+=perl5:${perl5_ARGS}' perl5 takes no arguments . endif USE_PERL5?= run build # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. . if ${PERL5_DEFAULT} == 5.28 .include "${PORTSDIR}/lang/perl5.28/version.mk" . elif ${PERL5_DEFAULT} == 5.30 .include "${PORTSDIR}/lang/perl5.30/version.mk" . elif ${PERL5_DEFAULT} == 5.32 .include "${PORTSDIR}/lang/perl5.32/version.mk" . elif ${PERL5_DEFAULT} == devel .include "${PORTSDIR}/lang/perl5-devel/version.mk" # Force PERL_PORT here in case two identical PERL_VERSION. PERL_PORT?= perl5-devel . else IGNORE= Invalid perl5 version ${PERL5_DEFAULT} . endif PERL_VER?= ${PERL_VERSION:C/\.[0-9]+$//} . if !defined(PERL_LEVEL) && defined(PERL_VERSION) perl_major= ${PERL_VERSION:C|^([1-9]+).*|\1|} _perl_minor= 00${PERL_VERSION:C|^([1-9]+)\.([0-9]+).*|\2|} perl_minor= ${_perl_minor:C|^.*(...)|\1|} . if ${perl_minor} >= 100 perl_minor= ${PERL_VERSION:C|^([1-9]+)\.([0-9][0-9][0-9]).*|\2|} perl_patch= ${PERL_VERSION:C|^.*(..)|\1|} . else # ${perl_minor} < 100 _perl_patch= 0${PERL_VERSION:C|^([1-9]+)\.([0-9]+)\.*|0|} perl_patch= ${_perl_patch:C|^.*(..)|\1|} . endif # ${perl_minor} < 100 PERL_LEVEL= ${perl_major}${perl_minor}${perl_patch} . else PERL_LEVEL=0 . endif # !defined(PERL_LEVEL) && defined(PERL_VERSION) PERL_ARCH?= mach # there must always be a default to prevent dependency failures such # as "ports/lang: not found". Also, perl5-devel is taken care in the # perl5_default file, or up there in the default versions selection. # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. . if ${PERL_LEVEL} >= 503200 PERL_PORT?= perl5.32 . elif ${PERL_LEVEL} >= 503000 PERL_PORT?= perl5.30 . else # ${PERL_LEVEL} < 503000 PERL_PORT?= perl5.28 . endif SITE_PERL_REL?= lib/perl5/site_perl SITE_PERL?= ${LOCALBASE}/${SITE_PERL_REL} SITE_ARCH_REL?= ${SITE_PERL_REL}/${PERL_ARCH}/${PERL_VER} SITE_ARCH?= ${LOCALBASE}/${SITE_ARCH_REL} SITE_MAN3_REL?= ${SITE_PERL_REL}/man/man3 SITE_MAN3?= ${PREFIX}/${SITE_MAN3_REL} SITE_MAN1_REL?= ${SITE_PERL_REL}/man/man1 SITE_MAN1?= ${PREFIX}/${SITE_MAN1_REL} PERL5?= ${LOCALBASE}/bin/perl${PERL_VERSION} PERL?= ${LOCALBASE}/bin/perl CONFIGURE_ENV+= ac_cv_path_PERL=${PERL} ac_cv_path_PERL_PATH=${PERL} \ PERL_USE_UNSAFE_INC=1 MAKE_ENV+= PERL_USE_UNSAFE_INC=1 QA_ENV+= SITE_ARCH_REL=${SITE_ARCH_REL} LIBPERL=libperl.so.${PERL_VER} # Define the want perl first if defined . if ${USE_PERL5:M5*} want_perl_sign= ${USE_PERL5:M5*:C|^[0-9.]+||} want_perl_ver= ${USE_PERL5:M5*:S|${want_perl_sign}$||} want_perl_major= ${want_perl_ver:C|\..*||} _want_perl_minor= ${want_perl_ver:S|^${want_perl_major}||:S|^.||:C|\..*||} _want_perl_patch= ${want_perl_ver:S|^${want_perl_major}||:S|^.${_want_perl_minor}||:S|^.||:C|\..*||} want_perl_minor= ${_want_perl_minor:S|^|000|:C|.*(...)|\1|} want_perl_patch= ${_want_perl_patch:S|^|00|:C|.*(..)|\1|} USE_PERL5_LEVEL= ${want_perl_major}${want_perl_minor}${want_perl_patch} . endif # All but version _USE_PERL5= ${USE_PERL5:N5*} # Mask unspecified components. E.g. this way "5" will match any "5.x.x". . if empty(_want_perl_minor) masked_PERL_LEVEL= ${PERL_LEVEL:C|(.....)$|00000|} . elif empty(_want_perl_patch) masked_PERL_LEVEL= ${PERL_LEVEL:C|(..)$|00|} . else masked_PERL_LEVEL= ${PERL_LEVEL} . endif . if defined(want_perl_sign) . if ${want_perl_sign} == "+" . if ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL} USE_PERL5_REASON?= requires Perl ${want_perl_ver} or later, install lang/perl${want_perl_major}.${want_perl_minor:C|^0||} and try again IGNORE= ${USE_PERL5_REASON} . endif # ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL} . elif ${want_perl_sign} == "" . if ${USE_PERL5_LEVEL} != ${masked_PERL_LEVEL} USE_PERL5_REASON?= requires Perl ${want_perl_ver} exactly IGNORE= ${USE_PERL5_REASON} . endif # ${USE_PERL5_LEVEL} != ${masked_PERL_LEVEL} . elif ${want_perl_sign} == "-" . if ${USE_PERL5_LEVEL} <= ${masked_PERL_LEVEL} USE_PERL5_REASON?= requires a Perl version earlier than ${want_perl_ver} IGNORE= ${USE_PERL5_REASON} . endif # ${USE_PERL5_LEVEL} <= ${masked_PERL_LEVEL} . else # wrong suffix IGNORE= improper use of USE_PERL5 . endif . endif _USE_PERL5_VALID= build configure extract modbuild modbuildtiny patch run \ test _USE_PERL5_UNKNOWN= . for component in ${_USE_PERL5} . if empty(_USE_PERL5_VALID:M${component}) _USE_PERL5_UNKNOWN+= ${component} . endif . endfor . if !empty(_USE_PERL5_UNKNOWN) IGNORE= has unknown USE_PERL5 components: ${_USE_PERL5_UNKNOWN} . endif _USES_POST+= perl5 + +. if ${PERL_LEVEL} >= 503100 +P5_POD_PARSER= p5-Pod-Parser>=0:textproc/p5-Pod-Parser +. else +P5_POD_PARSER= +. endif + .endif .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_PERL5_POST_MK) _INCLUDE_USES_PERL5_POST_MK= yes PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \ PERL_VER=${PERL_VER} \ PERL5_MAN1=${SITE_MAN1_REL} \ PERL5_MAN3=${SITE_MAN3_REL} \ SITE_PERL=${SITE_PERL_REL} \ SITE_ARCH=${SITE_ARCH_REL} # handle perl5 specific manpages . for sect in 3 . if defined(P5MAN${sect}) _MANPAGES+= ${P5MAN${sect}:S%^%${PREFIX}/lib/perl5/${PERL_VER}/man/man${sect}/%} . endif . endfor MANDIRS+= ${PREFIX}/${SITE_PERL_REL}/man . if ${_USE_PERL5:Mmodbuild} || ${_USE_PERL5:Mmodbuildtiny} _USE_PERL5+= configure ALL_TARGET?= # empty CONFIGURE_ARGS+=--install_path lib="${PREFIX}/${SITE_PERL_REL}" \ --install_path arch="${PREFIX}/${SITE_ARCH_REL}" \ --install_path script="${PREFIX}/bin" \ --install_path bin="${PREFIX}/bin" \ --install_path libdoc="${MAN3PREFIX}/man/man3" \ --install_path bindoc="${MAN1PREFIX}/man/man1" CONFIGURE_SCRIPT?= Build.PL PL_BUILD?= Build CONFIGURE_ARGS+=--destdir ${STAGEDIR} DESTDIRNAME= --destdir . if ${_USE_PERL5:Mmodbuild} CONFIGURE_ARGS+=--perl="${PERL}" . if ${PORTNAME} != Module-Build BUILD_DEPENDS+= p5-Module-Build>=0.4206:devel/p5-Module-Build . endif CONFIGURE_ARGS+=--create_packlist 1 . endif . if ${_USE_PERL5:Mmodbuildtiny} . if ${PORTNAME} != Module-Build-Tiny BUILD_DEPENDS+= p5-Module-Build-Tiny>=0.039:devel/p5-Module-Build-Tiny . endif CONFIGURE_ARGS+=--create_packlist 1 . endif . elif ${_USE_PERL5:Mconfigure} CONFIGURE_ARGS+=INSTALLDIRS="site" . endif # modbuild . if ${_USE_PERL5:Mconfigure} _USE_PERL5+= build run # Disable AutoInstall from attempting to install from CPAN directly in # the case of missing dependencies. This causes the build to loop on # the build cluster asking for interactive input. CONFIGURE_ENV+= PERL_EXTUTILS_AUTOINSTALL="--skipdeps" . if defined(BATCH) && !defined(IS_INTERACTIVE) CONFIGURE_ENV+= PERL_MM_USE_DEFAULT="YES" . endif # defined(BATCH) && !defined(IS_INTERACTIVE) . endif # configure . if ${_USE_PERL5:Mextract} EXTRACT_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} . endif . if ${_USE_PERL5:Mpatch} PATCH_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} . endif . if ${_USE_PERL5:Mbuild} BUILD_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} . endif . if ${_USE_PERL5:Mrun} RUN_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} . endif . if ${_USE_PERL5:Mtest} TEST_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} . endif . if ${_USE_PERL5:Mconfigure} CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" LD="${CC}" PREFIX="${PREFIX}" \ INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" CONFIGURE_SCRIPT?= Makefile.PL MAN3PREFIX?= ${PREFIX}/${SITE_PERL_REL} MAN1PREFIX?= ${PREFIX}/${SITE_PERL_REL} .undef HAS_CONFIGURE . if !target(do-configure) do-configure: @if [ -f ${SCRIPTDIR}/configure ]; then \ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/configure; \ fi @cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} \ ${PERL5} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} . if !${_USE_PERL5:Mmodbuild*} @cd ${CONFIGURE_WRKSRC} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile . endif # ! modbuild . endif # !target(do-configure) . endif # configure . if ${_USE_PERL5:Mmodbuild*} . if !target(do-build) do-build: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${ALL_TARGET} ${MAKE_ARGS}) . endif # !target(do-build) . if !${USES:Mgmake} . if !target(do-install) do-install: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${INSTALL_TARGET} ${MAKE_ARGS}) . endif # !target(do-install) . endif # ! USES=gmake . endif # modbuild PACKLIST_DIR?= ${PREFIX}/${SITE_ARCH_REL}/auto # In all those, don't use - before the command so that the user does # not wonder what has been ignored by this message "*** Error code 1 (ignored)" _USES_install+= 560:fix-perl-things fix-perl-things: # Remove STAGEDIR from .packlist and add the file to the plist. @(if [ -d ${STAGEDIR}${PACKLIST_DIR} ] ; then \ ${FIND} ${STAGEDIR}${PACKLIST_DIR} -name .packlist | while read f ; do \ ${SED} -i '' 's|^${STAGEDIR}||' "$$f"; \ ${ECHO} $$f | ${SED} -e 's|^${STAGEDIR}||' >> ${TMPPLIST}; \ done \ fi) || : # Starting with perl 5.20, the empty bootstrap files are not installed any more # by ExtUtils::MakeMaker. As we don't need them anyway, remove them. # Module::Build continues to install them, so remove the files unconditionally. @${FIND} ${STAGEDIR} -name '*.bs' -size 0 -delete || : # Some ports use their own way of building perl modules and generate # perllocal.pod, remove it here so that those ports don't include it # by mistake in their plists. It is sometime compressed, so use a # shell glob for the removal. Also, remove the directories that # contain it to not leave orphans directories around. @${RM} ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal.pod* || : @${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH} 2>/dev/null || : # Starting at ExtUtils::MakeMaker 7.06 and Perl 5.25.1, the base README.pod is # no longer manified into a README.3, as the README.pod is installed and can be # read with perldoc, remove the README.3 files that may be generated. @[ -d "${STAGEDIR}${SITE_MAN3}" ] && \ ${FIND} ${STAGEDIR}${SITE_MAN3} -name '*::README.3' -delete || : # Starting at ExtUtils::MakeMaker 7.31_06 and Perl 5.27.1, the base README.pod is # no longer installed. So remove any that can be there. @[ -d "${STAGEDIR}${PREFIX}/${SITE_PERL_REL}" ] && \ ${FIND} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL} -name README.pod -delete || : . if !target(do-test) && (!empty(USE_PERL5:Mmodbuild*) || !empty(USE_PERL5:Mconfigure)) TEST_TARGET?= test TEST_WRKSRC?= ${BUILD_WRKSRC} do-test: . if ${USE_PERL5:Mmodbuild*} @cd ${TEST_WRKSRC}/ && ${SETENV} ${TEST_ENV} ${PERL5} ${PL_BUILD} ${TEST_TARGET} ${TEST_ARGS} . elif ${USE_PERL5:Mconfigure} @cd ${TEST_WRKSRC}/ && ${SETENV} ${TEST_ENV} ${MAKE_CMD} ${TEST_ARGS} ${TEST_TARGET} . endif # USE_PERL5:Mmodbuild* . endif # do-test .endif # defined(_POSTMKINCLUDED) Index: head/audio/mp3lint/Makefile =================================================================== --- head/audio/mp3lint/Makefile (revision 542641) +++ head/audio/mp3lint/Makefile (revision 542642) @@ -1,29 +1,30 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= mp3lint PORTVERSION= 0.9 PORTREVISION= 1 CATEGORIES= audio perl5 MASTER_SITES= https://erislabs.net/ianb/projects/mp3lint/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Configurable tool to check collections of audio files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} \ + ${P5_POD_PARSER} RUN_DEPENDS= libmp3-archive-perl>=0:audio/libmp3-archive-perl USES= perl5 USE_PERL5= configure MAKE_JOBS_UNSAFE= yes NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e '/^INSTALLSYSCONFDIR/ s|/etc|${PREFIX}&|' ${WRKSRC}/Makefile.PL .include Index: head/audio/p5-xmms2/Makefile =================================================================== --- head/audio/p5-xmms2/Makefile (revision 542641) +++ head/audio/p5-xmms2/Makefile (revision 542642) @@ -1,26 +1,27 @@ # Created by: Alexander Botero-Lowry # $FreeBSD$ PORTREVISION= 3 CATEGORIES= audio perl5 PKGNAMEPREFIX= p5- MAINTAINER= madpilot@FreeBSD.org COMMENT= Perl Bindings for XMMS2 DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-09-15 +BUILD_DEPENDS+= ${P5_POD_PARSER} LIB_DEPENDS+= libxmmsclient.so:audio/xmms2 MASTERDIR= ${.CURDIR}/../xmms2 USES= perl5 python:2.7,build ssl BROKEN_SSL= openssl PLIST= ${.CURDIR}/pkg-plist XMMS2_SLAVE= perl .include "${MASTERDIR}/Makefile" Index: head/audio/xmms2/Makefile =================================================================== --- head/audio/xmms2/Makefile (revision 542641) +++ head/audio/xmms2/Makefile (revision 542642) @@ -1,230 +1,224 @@ # Created by: Alexander Botero-Lowry # $FreeBSD$ PORTNAME?= xmms2 PORTVERSION= 0.8 DISTVERSIONSUFFIX= DrO_o PORTREVISION?= 34 CATEGORIES?= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20${DISTVERSIONSUFFIX} MAINTAINER?= madpilot@FreeBSD.org COMMENT?= Rewrite of xmms as a client/server system (developer release) USES+= pkgconfig tar:bzip2 waf CONFIGURE_ARGS+= --conf-prefix=${LOCALBASE} \ --mandir=${MANPREFIX}/man \ --without-plugins="ofa" INSTALL_TARGET= install --without-ldconfig .if !defined(XMMS2_SLAVE) USE_GNOME= glib20 USES+= gnome python:2.7,build readline sqlite USE_LDCONFIG= yes PLIST_SUB+= INCLUDEDIR="include/${PORTNAME}" LIBDIR="lib/${PORTNAME}" CPPFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= AIRPLAY AO APE AVCODEC CDDA CURL ET FAAD FAM FLAC \ GME GVFS ICES JACK MAD MDNS MMS \ MODPLUG MPG123 MUSEPACK PULSEAUDIO SAMBA SID \ SNDFILE SPEEX TREMOR VISUAL VOCODER VORBIS WAVPACK XML OPTIONS_SINGLE= MDNS OPTIONS_SINGLE_MDNS= MDNS_APPLE MDNS_AVAHI OPTIONS_DEFAULT= CURL FAAD FLAC MPG123 MDNS MDNS_AVAHI VORBIS AIRPLAY_DESC= Support output via Airport Express AVCODEC_DESC= Avcodevc playback support ET_DESC= Install usage feedback reporting client FAM_DESC= Support to update Media Library on file change GME_DESC= Video game music files support GVFS_DESC= Playback files via GVFS ICES_DESC= Playback files to an icecast server MDNS_DESC= Announce XMMS2d via mDNS (Choose implementation) MDNS_APPLE_DESC= Use Apple mDNS implementation MDNS_AVAHI_DESC= Use Avahi mDNS implementation SAMBA_DESC= Playback files via SMB SID_DESC= Playback SID files VISUAL_DESC= Visualization plugins support VOCODER_DESC= Phase Vocoder effect plugin XML_DESC= Support XML based playlists (XSPF, RSS) OPTIONS_SUB= yes AIRPLAY_USES= ssl AIRPLAY_CONFIGURE_OFF= --without-plugins="airplay" AO_LIB_DEPENDS= libao.so:audio/libao AO_CONFIGURE_OFF= --without-plugins="ao" APE_LIB_DEPENDS= libmac.so:audio/mac APE_CONFIGURE_OFF= --without-plugins="mac" AVCODEC_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg AVCODEC_CONFIGURE_OFF= --without-plugins="avcodec" CDDA_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcdio_cdda.so:sysutils/libcdio-paranoia \ libdiscid.so:audio/libdiscid CDDA_CONFIGURE_OFF= --without-plugins="cdda" CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_OFF= --without-plugins="curl" --without-plugins="icymetaint" FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CONFIGURE_OFF= --without-plugins="faad" --without-plugins="mp4" FAM_USES= fam:gamin FAM_CONFIGURE_OFF= --without-optionals="medialib-updater" FLAC_LIB_DEPENDS= libFLAC.so:audio/flac GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_OFF= --without-plugins="gme" GVFS_USE= GNOME=gvfs GVFS_CONFIGURE_OFF= --without-plugins="gvfs" ICES_LIB_DEPENDS= libshout.so:audio/libshout ICES_CONFIGURE_OFF= --without-plugins="ices" JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --without-plugins="jack" MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CONFIGURE_OFF= --without-plugins="mad" MDNS_CONFIGURE_OFF= --without-optionals="mdns" MDNS_APPLE_CONFIGURE_ON= --with-mdns-backend="dns_sd" MDNS_APPLE_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder MDNS_AVAHI_CONFIGURE_ON= --with-mdns-backend="avahi" MDNS_AVAHI_LIB_DEPENDS= libavahi-core.so:net/avahi-app MMS_LIB_DEPENDS= libmms.so:net/libmms MMS_CONFIGURE_OFF= --without-plugins="mms" MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_OFF= --without-plugins="modplug" MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 MPG123_CONFIGURE_OFF= --without-plugins="mpg123" MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack MUSEPACK_CONFIGURE_OFF= --without-plugins="musepack" PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --without-plugins="pulse" SAMBA_USES= samba:lib SAMBA_CPPFLAGS= -I${SAMBAINCLUDES} SAMBA_LDFLAGS= -L${SAMBALIBS} SAMBA_CONFIGURE_OFF= --without-plugins="samba" SID_LIB_DEPENDS= libsidplay2.so:audio/libsidplay2 SID_CONFIGURE_OFF= --without-plugins="sid" SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_OFF= --without-plugins="sndfile" SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_OFF= --without-plugins="speex" TREMOR_LIB_DEPENDS= libvorbisidec.so:audio/libtremor TREMOR_CONFIGURE_OFF= --without-plugins="tremor" VISUAL_USES= sdl VISUAL_USE= SDL=sdl VISUAL_LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04 VISUAL_CONFIGURE_OFF= --without-optionals="vistest" VISUAL_CONFIGURE_ON= --with-vis-reference-clients VOCODER_LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ libsamplerate.so:audio/libsamplerate VOCODER_CONFIGURE_OFF= --without-plugins="vocoder" VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CONFIGURE_OFF= --without-plugins="vorbis" WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_OFF= --without-plugins="wavpack" XML_USE= GNOME=libxml2 XML_CONFIGURE_OFF= --without-plugins="xml" --without-plugins="rss" \ --without-plugins="xspf" ET_CONFIGURE_OFF= --without-optionals="et" .endif # !XMMS2_SLAVE .include .if defined(XMMS2_SLAVE) CONFIGURE_ARGS+= --without-xmms2d .if ${XMMS2_SLAVE} == "python" CONFIGURE_ARGS+= --with-optionals="python" .elif ${XMMS2_SLAVE} == "ruby" CONFIGURE_ARGS+= --with-optionals="ruby" .elif ${XMMS2_SLAVE} == "perl" CONFIGURE_ARGS+= --with-optionals="perl" .elif ${XMMS2_SLAVE} == "ruby-ecore" CONFIGURE_ARGS+= --with-optionals="ruby" --with-optionals="xmmsclient-ecore" .elif ${XMMS2_SLAVE} == "cpp" CONFIGURE_ARGS+= --with-optionals="xmmsclient++" \ --with-optionals="xmmsclient++-glib" .endif .else # XMMS2_SLAVE CONFIGURE_ARGS+= --without-optionals="python" \ --without-optionals="ruby" \ --without-optionals="xmmsclient-ecore" \ --without-optionals="xmmsclient++" \ --without-optionals="xmmsclient++-glib" \ --without-optionals="perl" .endif # XMMS2_SLAVE .if !defined(XMMS2_SLAVE) # xmms2-ripper .if ${PORT_OPTIONS:MVISUAL} && ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbisenc.so:audio/libvorbis .else EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-clients-vistest-wscript .endif .endif # !XMMS2_SLAVE -.include - -.if defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == perl && ${PERL_LEVEL} >= 503100 -BUILD_DEPENDS+= p5-Pod-Parser>=0:textproc/p5-Pod-Parser -.endif - # Force to nothing to avoid bsd.openssl.mk adding definitions # to it when AIRPLAY option is active, waf does not understand it anyway. MAKE_ARGS= post-patch: @${REINPLACE_CMD} -e "s|%%WRKSRC%%|${WRKSRC}|" ${WRKSRC}/wscript .if ${PORT_OPTIONS:MVISUAL} && ${PORT_OPTIONS:MVORBIS} @${REINPLACE_CMD} -e "s|'vorbisenc',|'vorbisenc vorbis ogg',|" \ ${WRKSRC}/src/clients/vistest/wscript .endif post-install: .if !defined(XMMS2_SLAVE) ${MKDIR} ${STAGEDIR}${DATADIR}/scripts/startup.d ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxmmsclient* .else ${RM} -R ${STAGEDIR}${PREFIX}/lib/xmms2 ${FIND} ${STAGEDIR}${PREFIX}/lib -name '*.so*' | ${XARGS} ${STRIP_CMD} .endif -.include +.include Index: head/math/PDL/Makefile =================================================================== --- head/math/PDL/Makefile (revision 542641) +++ head/math/PDL/Makefile (revision 542642) @@ -1,105 +1,106 @@ # Created by: Anton Berezin # $FreeBSD$ PORTNAME= PDL PORTVERSION= 2.019 PORTREVISION= 2 CATEGORIES= math perl5 MASTER_SITES= CPAN MAINTAINER= perl@FreeBSD.org COMMENT= Perl Data Language LICENSE= ART10 GPLv1+ LICENSE_COMB= dual .if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output .endif BUILD_DEPENDS= p5-Devel-CheckLib>=1.01:devel/p5-Devel-CheckLib \ + ${P5_POD_PARSER} \ ${RUN_DEPENDS} RUN_DEPENDS= p5-Astro-FITS-Header>=0:astro/p5-Astro-FITS-Header \ p5-Convert-UU>=0:converters/p5-Convert-UU \ p5-File-Map>=0.57:devel/p5-File-Map \ p5-Inline>=0.68:devel/p5-Inline \ p5-Inline-C>=0.62:devel/p5-Inline-C \ p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \ p5-Module-Compile>=0.23:devel/p5-Module-Compile TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \ p5-Test-Exception>=0:devel/p5-Test-Exception \ p5-Test-Warn>=0:devel/p5-Test-Warn PORTSCOUT= limit:^[0-9]\.[0-9][0-9]+[0-9\.]*$$ USES= gmake perl5 USE_PERL5= configure MAKE_ENV= PERL5LIB=${WRKSRC}/blib/lib PLIST_FILES= bin/pdl bin/pdl2 bin/pdldoc bin/perldl bin/pptemplate \ ${SITE_ARCH_REL}/Inline/Pdlpp.pm \ ${SITE_ARCH_REL}/Inline/MakePdlppInstallable.pm MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PGPLOT PLPLOT OPENGL GD FFTW GSL HDF PROJ F77 READLINE SINK OPTIONS_DEFAULT=PGPLOT FFTW F77 # graphics/p5-OpenGL require manual building .if empty(PACKAGE_BUILDING) OPTIONS_DEFAULT+= OPENGL .endif PGPLOT_DESC= Enable PDL::Graphics::PGPLOT PLPLOT_DESC= Enable PDL::Graphics::PLplot OPENGL_DESC= Enable PDL::Graphics::TriD and OpenGL GD_DESC= Enable PDL::IO::GD FFTW_DESC= Enable PDL::FFTW GSL_DESC= Enable PDL::GSL interface HDF_DESC= Enable PDL::IO::HDF interface PROJ_DESC= Enable PDL::GIS::Proj interface F77_DESC= Enable PDL::Minuit and PDL::Slatec READLINE_DESC= Use GNU readline SINK_DESC= Include PDL kitchen sink PGPLOT_BUILD_DEPENDS= p5-PGPLOT>=0:graphics/p5-PGPLOT PLPLOT_LIB_DEPENDS= libplplotd.so:math/plplot OPENGL_BUILD_DEPENDS= p5-OpenGL>=0.65:graphics/p5-OpenGL OPENGL_RUN_DEPENDS:= ${OPENGL_BUILD_DEPENDS} OPENGL_USES= gl OPENGL_USE= gl=glu GD_LIB_DEPENDS= libgd.so:graphics/gd F77_BUILD_DEPENDS= p5-ExtUtils-F77>=0:lang/p5-ExtUtils-F77 FFTW_LIB_DEPENDS= libfftw.so:math/fftw GSL_LIB_DEPENDS= libgsl.so:math/gsl HDF_LIB_DEPENDS= libdf.so:science/hdf PROJ_LIB_DEPENDS= libproj.so:graphics/proj READLINE_RUN_DEPENDS= p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu READLINE_RUN_DEPENDS_OFF= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl SINK_RUN_DEPENDS= ppmtogif:graphics/netpbm \ mpeg_encode:multimedia/mpeg_encode \ saoimage:astro/saoimage post-patch: @${GREP} -lR '#!/.*bin/perl' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|#!/.*bin/perl|#!${PERL}|' -i '' @${GREP} -lR 'x86_64' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|x86_64|amd64|g' -i '' @${REINPLACE_CMD} -e "/POSIX_THREADS_LIBS/ s|undef|'-lpthread'|" \ ${WRKSRC}/perldl.conf post-install: ${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL -name '*.so' \ | ${XARGS} ${STRIP_CMD} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdl # autogen plist @(cd ${WRKSRC}; ${PERL} -Iblib/lib -Iblib/arch Doc/scantree.pl) @(cd ${WRKSRC}/blib/man3 ; \ ${FIND} *.3 | ${SED} "s,^,${MAN3PREFIX}/man/man3/,;s/3$$/3.gz/" \ >> ${TMPPLIST} ; \ cd ${WRKSRC}/blib/man1 ; \ ${FIND} *.1 | ${SED} "s,^,${MAN1PREFIX}/man/man1/,;s/1$$/1.gz/" \ >> ${TMPPLIST}) @(${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/PDL* -type f | \ ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} ; \ ${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL -type f \ -name "[A-Z]*" | ${SED} "s,^${STAGEDIR}${PREFIX}/,," \ >> ${TMPPLIST}) .include Index: head/security/silktools/Makefile =================================================================== --- head/security/silktools/Makefile (revision 542641) +++ head/security/silktools/Makefile (revision 542642) @@ -1,62 +1,63 @@ # Created by: David Thiel # $FreeBSD$ PORTNAME= silktools PORTVERSION= 3.19.0 CATEGORIES= security net MASTER_SITES= http://tools.netsa.cert.org/releases/ DISTNAME= silk-${PORTVERSION} MAINTAINER= antoine@FreeBSD.org COMMENT= Tools for large-scale network capture analysis LICENSE= GPLR GPLv2 LICENSE_COMB= multi LICENSE_NAME_GPLR= Government Purpose License Rights LICENSE_FILE_GPLR= ${WRKSRC}/LICENSE.txt LICENSE_PERMS_GPLR= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libfixbuf.so:net/libfixbuf -BUILD_DEPENDS= p5-DBI>=0:databases/p5-DBI +BUILD_DEPENDS= p5-DBI>=0:databases/p5-DBI \ + ${P5_POD_PARSER} RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-packing-tools USE_LDCONFIG= yes USES= gmake libtool perl5 pkgconfig INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= ADNS CARES GNUTLS IPV6 LOCALTIME LZO PYTHON SNAPPY STATIC OPTIONS_DEFAULT= LZO PYTHON OPTIONS_SUB= yes ADNS_CONFIGURE_WITH= adns=${LOCALBASE} ADNS_DESC= Asynchronous DNS resolution via adns ADNS_LIB_DEPENDS= libadns.so:dns/adns CARES_CONFIGURE_WITH= c-ares=${LOCALBASE} CARES_LIB_DEPENDS= libcares.so:dns/c-ares IPV6_CONFIGURE_ENABLE= ipv6 GNUTLS_CONFIGURE_WITH= gnutls=${LOCALBASE} GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls LOCALTIME_DESC= Use localtime instead of UTC LOCALTIME_CONFIGURE_ENABLE= localtime LZO_CONFIGURE_WITH= lzo=${LOCALBASE} LZO_DESC= LZO compression support LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 PYTHON_CONFIGURE_WITH= python PYTHON_USES= python PYTHON_USE= python=py3kplist SNAPPY_CONFIGURE_WITH= snappy=${LOCALBASE} SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy STATIC_CONFIGURE_ENABLE= static .include Index: head/textproc/po4a/Makefile =================================================================== --- head/textproc/po4a/Makefile (revision 542641) +++ head/textproc/po4a/Makefile (revision 542642) @@ -1,33 +1,28 @@ # Created by: Meno Abels # $FreeBSD$ PORTNAME= po4a PORTVERSION= 0.51 CATEGORIES= textproc perl5 MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4214/ MAINTAINER= garga@FreeBSD.org COMMENT= Brings gettext translation tools to all kinds of docs LICENSE= GPLv2 -BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} \ + ${P5_POD_PARSER} RUN_DEPENDS= p5-Term-ReadKey>=2.30:devel/p5-Term-ReadKey \ p5-Text-WrapI18N>=0.06:textproc/p5-Text-WrapI18N \ p5-SGMLSpm>=1.03:textproc/p5-SGMLSpm \ p5-Locale-gettext>=1.05:devel/p5-Locale-gettext \ p5-Unicode-LineBreak>=0:textproc/p5-Unicode-LineBreak \ jade>=0:textproc/jade \ xsltproc:textproc/libxslt \ docbook-xsl>0:textproc/docbook-xsl USES= gettext perl5 USE_PERL5= modbuild -.include - -.if ${PERL_LEVEL} >= 503100 -RUN_DEPENDS+= p5-Pod-Parser>0:textproc/p5-Pod-Parser -.endif - -.include +.include Index: head/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile =================================================================== --- head/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile (revision 542641) +++ head/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile (revision 542642) @@ -1,33 +1,28 @@ # Created by: ports@c0decafe.net # $FreeBSD$ PORTNAME= Gtk2-Ex-PodViewer PORTVERSION= 0.18 PORTREVISION= 5 CATEGORIES= x11-toolkits perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Displays plain old documentation LICENSE= ART10 GPLv1+ LICENSE_COMB= dual -BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} \ + ${P5_POD_PARSER} RUN_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \ p5-IO-Stringy>=0:devel/p5-IO-Stringy \ p5-Locale-gettext>=0:devel/p5-Locale-gettext \ p5-Gtk2-Ex-Simple-List>=0.50:x11-toolkits/p5-Gtk2-Ex-Simple-List \ p5-Pod-Simple>=0:textproc/p5-Pod-Simple USES= perl5 USE_PERL5= configure -.include - -.if ${PERL_LEVEL} >= 503100 -BUILD_DEPENDS+= p5-Pod-Parser>=0:textproc/p5-Pod-Parser -.endif - -.include +.include