Index: head/archivers/py-attic/Makefile =================================================================== --- head/archivers/py-attic/Makefile (revision 430453) +++ head/archivers/py-attic/Makefile (revision 430454) @@ -1,46 +1,40 @@ # Created by: Thomas Hurst # $FreeBSD$ PORTNAME= attic PORTVERSION= 0.16 CATEGORIES= archivers python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Attic-${PORTVERSION} MAINTAINER= tom@hur.st COMMENT= Deduplicating backup program LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.1.10:devel/py-msgpack-python RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.1.10:devel/py-msgpack-python USES= python:3.3+ USE_PYTHON= autoplist distutils USE_OPENSSL= yes STRIP_FILES= hashindex.so platform_freebsd.so chunker.so crypto.so PYDISTUTILS_BUILDPATH=${BUILD_WRKSRC}/build/lib.${OPSYS:tl}-${UNAMER}-${ARCH}-${PYTHON_VER} -.include - -.if ${OSVERSION} < 1000015 -WITH_OPENSSL_PORT= yes -.endif - .include .if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT} IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER} .endif regression-test: build ${SETENV} PYTHONPATH="${PYDISTUTILS_BUILDPATH}:${PYTHONPATH}" \ ${PYTHON_CMD} -m attic.testsuite.run post-install: ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/attic/,} .include Index: head/archivers/py-borgbackup/Makefile =================================================================== --- head/archivers/py-borgbackup/Makefile (revision 430453) +++ head/archivers/py-borgbackup/Makefile (revision 430454) @@ -1,45 +1,38 @@ # Created by: José García Juanino # $FreeBSD$ PORTNAME= borgbackup PORTVERSION= 1.0.9 CATEGORIES= archivers python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jjuanino@gmail.com COMMENT= Deduplicating backup program LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm LIB_DEPENDS= liblz4.so:archivers/liblz4 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.4.6:devel/py-msgpack-python OPTIONS_DEFINE= FUSE FUSE_DESC= Support to mount locally borg backup files OPTIONS_DEFAULT= FUSE_RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/llfuse.so:devel/py-llfuse USES= python:3.4+ ssl USE_PYTHON= autoplist distutils -.include - -# borg requires openssl>=1.0.0 -.if ${OSVERSION} < 1000015 -WITH_OPENSSL_PORT=yes -.endif - .include .if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT} IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER} .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/borg/*.so .include Index: head/audio/festalon/Makefile =================================================================== --- head/audio/festalon/Makefile (revision 430453) +++ head/audio/festalon/Makefile (revision 430454) @@ -1,48 +1,44 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= festalon PORTVERSION= 0.5.5 PORTREVISION= 12 CATEGORIES= audio MASTER_SITES= http://projects.raphnet.net/festalon/ \ LOCAL/ehaupt PKGNAMEPREFIX?= MAINTAINER= ehaupt@FreeBSD.org COMMENT?= Command line player for .nsf and .hes audio files LICENSE= GPLv2 +BROKEN_i386= does not build on i386 FreeBSD 10.x and later + LIB_DEPENDS+= libsamplerate.so:audio/libsamplerate USES+= libtool pkgconfig tar:bzip2 GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME} ONLY_FOR_ARCHS= i386 amd64 OPTIONS_DEFINE= DOCS - -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 -BROKEN_i386= does not build on i386 FreeBSD 10.x and later -.endif .if ${PKGNAMEPREFIX} == "" USE_SDL= yes PLIST_FILES= bin/festalon PORTDOCS= README do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif .include Index: head/databases/mongodb32/Makefile =================================================================== --- head/databases/mongodb32/Makefile (revision 430453) +++ head/databases/mongodb32/Makefile (revision 430454) @@ -1,86 +1,82 @@ # Created by: Brendan Molloy # $FreeBSD$ PORTNAME= mongodb32 PORTVERSION= 3.2.11 DISTVERSIONPREFIX= r CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ http://download.mongodb.org/src/ DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= brendan+freebsd@bbqsrc.net COMMENT= Distributed document-oriented "NoSQL" database # mongodb is AGPLv3, C++ driver is APACHE20 LICENSE= AGPLv3 APACHE20 LICENSE_COMB= multi LIB_DEPENDS= libpcre.so:devel/pcre \ libsnappy.so:archivers/snappy TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo CHOSEN_COMPILER_TYPE= clang ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)" CONFLICTS_BUILD= mongo-cxx-driver OPTIONS_DEFINE= SASL SSL OPTIONS_DEFAULT= SASL SSL SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_MAKE_ARGS= --use-sasl-client SSL_USE= yes SSL_MAKE_ARGS= --ssl USES= compiler cpe execinfo python:build scons MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ --use-system-pcre --use-system-snappy \ --release USERS= mongodb GROUPS= mongodb USE_RC_SUBR= mongod ALL_TARGET= core TEST_TARGET= unittests .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000 -# Cannot be built -IGNORE= unsupported on FreeBSD 10.1 or older -.endif # Bugs when compiled with < Clang 3.7 # - https://jira.mongodb.org/browse/SERVER-21217 # - https://jira.mongodb.org/browse/SERVER-22740 .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 37 BUILD_DEPENDS+= ${LOCALBASE}/bin/clang37:lang/clang37 CPP= ${LOCALBASE}/bin/clang-cpp37 CC= ${LOCALBASE}/bin/clang37 CXX= ${LOCALBASE}/bin/clang++37 .endif post-install: .for f in mongo mongod mongoperf mongos mongosniff ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} .endfor ${CP} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample do-test: @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET} &&\ ${PYTHON_CMD} ${BUILD_WRKSRC}/buildscripts/resmoke.py\ --suites=unittests --jobs=${MAKE_JOBS_NUMBER} PORTSCOUT= limitw:1,even CPE_PRODUCT= mongodb .include Index: head/devel/ds2/Makefile =================================================================== --- head/devel/ds2/Makefile (revision 430453) +++ head/devel/ds2/Makefile (revision 430454) @@ -1,33 +1,33 @@ # $FreeBSD$ PORTNAME= ds2 PORTVERSION= 20151028 CATEGORIES= devel MAINTAINER= wg@FreeBSD.org COMMENT= Debug server for lldb LICENSE= NCSA LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= facebook GH_TAGNAME= 52c45f3 ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= the ptrace code only has an amd64 backend USES= cmake compiler PLIST_FILES= bin/ds2 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ds2 ${STAGEDIR}${PREFIX}/bin/ .include -.if ${OSVERSION} < 1002000 || ${COMPILER_TYPE} == "gcc" +.if ${COMPILER_TYPE} == "gcc" IGNORE= builds only on greater than 10.1 and with clang .endif .include Index: head/devel/elfutils/Makefile =================================================================== --- head/devel/elfutils/Makefile (revision 430453) +++ head/devel/elfutils/Makefile (revision 430454) @@ -1,60 +1,54 @@ # Created by: Conrad Meyer # $FreeBSD$ PORTNAME= elfutils PORTVERSION= 0.163 PORTREVISION= 7 CATEGORIES= devel MASTER_SITES= https://sourceware.org/elfutils/ftp/${PORTVERSION}/ MAINTAINER= cem@FreeBSD.org COMMENT= Library for manipulating ELF files and partial implementation of binutils LICENSE= LGPL3 GPLv2 GPLv3 LICENSE_COMB= multi LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING-GPLV2 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING-LGPLV3 LIB_DEPENDS= libargp.so:devel/argp-standalone PATCH_DEPENDS= gnulib>=0:devel/gnulib BROKEN_armv6= Fails to build: fails to compile i386_disasm.c BROKEN_sparc64= Fails to build: fails to compile dwarf_begin_elf.c OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls USES= gmake libtool tar:bzip2 USE_AUTOTOOLS= automake:env USE_GCC= 4.8+ GNU_CONFIGURE= yes USE_LDCONFIG= yes CFLAGS+= -Wno-unused-parameter # Give i386 a prayer of building, and we can fix the warnings later: CFLAGS_i386+= -Wno-error # Avoid conflict with binutils / elftoolchain programs with the same names: CONFIGURE_ARGS+= --program-prefix=eu- post-patch: @${CP} -a \ ${LOCALBASE}/share/gnulib/lib/obstack.c \ ${LOCALBASE}/share/gnulib/lib/obstack.h \ ${LOCALBASE}/share/gnulib/lib/obstack_printf.c \ ${WRKSRC}/lib pre-configure: @cd ${WRKSRC} && ${AUTOMAKE} -.include - -.if ${OSVERSION} < 1003000 -IGNORE= requires FreeBSD 10.3 (futimens) -.endif - -.include +.include Index: head/devel/libdispatch/Makefile =================================================================== --- head/devel/libdispatch/Makefile (revision 430453) +++ head/devel/libdispatch/Makefile (revision 430454) @@ -1,108 +1,100 @@ # Created by: stas # $FreeBSD$ PORTNAME= libdispatch PORTVERSION= 210 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ MAINTAINER= brooks@FreeBSD.org COMMENT= Grand Central Dispatch API support library LICENSE= APACHE20 USES= tar:bzip2 USE_AUTOTOOLS= aclocal autoconf ACLOCAL_ARGS= -Im4 GNU_CONFIGURE= yes USE_LDCONFIG= yes # This is needed because PIC support check in autoconf could fail for clang otherwise. CONFIGURE_ENV= lt_cv_prog_compiler_pic_works=yes _MAN3= dispatch.3 \ dispatch_after.3 \ dispatch_after_f.3 \ dispatch_api.3 \ dispatch_apply.3 \ dispatch_apply_f.3 \ dispatch_async.3 \ dispatch_async_f.3 \ dispatch_benchmark.3 \ dispatch_benchmark_f.3 \ dispatch_get_context.3 \ dispatch_get_current_queue.3 \ dispatch_get_global_queue.3 \ dispatch_get_main_queue.3 \ dispatch_group_async.3 \ dispatch_group_async_f.3 \ dispatch_group_create.3 \ dispatch_group_enter.3 \ dispatch_group_leave.3 \ dispatch_group_notify.3 \ dispatch_group_notify_f.3 \ dispatch_group_wait.3 \ dispatch_main.3 \ dispatch_object.3 \ dispatch_once.3 \ dispatch_once_f.3 \ dispatch_queue_create.3 \ dispatch_queue_get_label.3 \ dispatch_release.3 \ dispatch_resume.3 \ dispatch_retain.3 \ dispatch_semaphore_create.3 \ dispatch_semaphore_signal.3 \ dispatch_semaphore_wait.3 \ dispatch_set_context.3 \ dispatch_set_finalizer_f.3 \ dispatch_set_target_queue.3 \ dispatch_source_cancel.3 \ dispatch_source_create.3 \ dispatch_source_get_data.3 \ dispatch_source_get_handle.3 \ dispatch_source_get_mask.3 \ dispatch_source_merge_data.3 \ dispatch_source_set_cancel_handler.3 \ dispatch_source_set_cancel_handler_f.3 \ dispatch_source_set_event_handler.3 \ dispatch_source_set_event_handler_f.3 \ dispatch_source_set_timer.3 \ dispatch_source_testcancel.3 \ dispatch_suspend.3 \ dispatch_sync.3 \ dispatch_sync_f.3 \ dispatch_time.3 \ dispatch_walltime.3 PLIST_FILES+= ${_MAN3:S|^|man/man3/|:S|$|.gz|} .include .if (${OSVERSION} < 1000024) OPTIONS_DEFINE= CLANG OPTIONS_DEFAULT= CLANG CLANG_DESC= Build with LLVM/Clang (required for blocks support) .endif -.if (${OSVERSION} < 1000706) -.if ${ARCH} == "powerpc" -BROKEN= Does not configure on powerpc-9 -.elif ${ARCH} == "sparc64" -BROKEN= Does not link on sparc64-9 -.endif -.endif - .if ${PORT_OPTIONS:MCLANG} CONFIGURE_ARGS+= --with-blocks-runtime=/usr/lib CONFIGURE_ENV+= CC="/usr/bin/clang" .endif # # Get rid of .la and static library files # post-configure: @${REINPLACE_CMD} -E -e \ '/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool .include Index: head/devel/libpru/Makefile =================================================================== --- head/devel/libpru/Makefile (revision 430453) +++ head/devel/libpru/Makefile (revision 430454) @@ -1,32 +1,23 @@ # $FreeBSD$ PORTNAME= libpru PORTVERSION= 0.4 CATEGORIES= devel MASTER_SITES= https://bitbucket.org/rpaulo/libpru/get/ MAINTAINER= rpaulo@FreeBSD.org COMMENT= Library to interface with PRUs LICENSE= BSD2CLAUSE +IGNORE_DragonFly= only supported on FreeBSD BROKEN_mips= Does not build: unrecognized command line option -Weverything BROKEN_mips64= Does not build: unrecognized command line option -Weverything BROKEN_powerpc64= Does not build BROKEN_sparc64= Does not build: unrecognized command line option -Weverything - -.include - -.if ${OPSYS} != FreeBSD -IGNORE= only supported on FreeBSD -.endif - -.if ${OSVERSION} < 1000510 -IGNORE= only supported on FreeBSD 10+ -.endif USES= cmake WRKSRC= ${WRKDIR}/rpaulo-libpru-5a74157b82b8 .include Index: head/devel/linux_libusb/Makefile =================================================================== --- head/devel/linux_libusb/Makefile (revision 430453) +++ head/devel/linux_libusb/Makefile (revision 430454) @@ -1,84 +1,81 @@ # Created by: nox@FreeBSD.org # $FreeBSD$ PORTNAME= linux_libusb PORTVERSION= 11.0r${FSVN_REV} PORTREVISION= 2 CATEGORIES= devel linux MASTER_SITES= LOCAL/nox MAINTAINER= emulation@FreeBSD.org COMMENT= Linux-compatibility libusb BUILD_DEPENDS= ${LINUXBASE}/usr/bin/gcc:devel/linux-c6-devtools USES= tar:bzip2 ONLY_FOR_ARCHS= i386 amd64 USE_LDCONFIG= yes USE_LINUX_PREFIX= yes PLIST_FILES= usr/lib/libusb.so \ usr/lib/libusb-0.1.so.4 CC= ${LINUXBASE}/usr/bin/gcc CFLAGS+= -I${WRKDIR}/sys MAKE_ARGS+= LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h MAKE_ARGS+= PTHREAD_LIBS="-lpthread -lrt" MAKE_ARGS+= WITHOUT_SSP=yes # XXX ${LINUXBASE}/usr/bin/ld is a broken link with gentoo atm? #MAKE_ENV+= COMPILER_PATH=/usr/i486-pc-linux-gnu/binutils-bin/2.22 # see: sysutils/pc-sysinstall/Makefile FSVN_REV= 261448 FSVNPATH?= http://svn.freebsd.org/base/head FSVNDIR= lib/libusb .include .if ${ARCH} == "amd64" MAKE_ARGS+= COMPAT_32BIT=YES .endif pre-everything:: @${ECHO_MSG} '===> Using the FreeBSD source tree under ${SRC_BASE}' @${ECHO_MSG} '===> Set SRC_BASE to use an alternate source tree' -.if ${OSVERSION} < 1000000 -IGNORE= doesn't build on < 10.x -.endif .if !exists(${SRC_BASE}/sys/i386/linux/syscalls.master) IGNORE= requires kernel source present in ${SRC_BASE}/sys .endif #.if !exists(${SRC_BASE}/lib/libusb/Makefile) #IGNORE= requires libusb source present in ${SRC_BASE}/lib/libusb #.endif #.if exists(${LINUXBASE}/etc/fedora-release) #IGNORE= does not build with the default linux base, use the package instead #.endif post-patch: ${MKDIR} ${WRKDIR}/sys ${LN} -s ${SRC_BASE}/sys/compat ${SRC_BASE}/sys/dev ${WRKDIR}/sys # XXX: Due to problems with ports/ infrastructure, we don't seem to be able # to symlink files. I provide hardlink instead. If fixed, remember to remove # link name from PLIST_FILES. do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/usr/lib ${INSTALL_DATA} ${WRKSRC}/libusb.so ${STAGEDIR}${PREFIX}/usr/lib # Xilinx ISE requirement. ${LN} -f ${STAGEDIR}${PREFIX}/usr/lib/libusb.so ${STAGEDIR}${PREFIX}/usr/lib/libusb-0.1.so.4 .if defined(BOOTSTRAP) || defined(SVN_FETCH) #FETCH_DEPENDS+= svn:devel/subversion SVN?= svnlite do-fetch: ${MKDIR} ${WRKDIR} ${SVN} export -r ${FSVN_REV} ${FSVNPATH}/${FSVNDIR} ${WRKDIR}/${DISTNAME} cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} .if ${USER} == noxNOTYET scp ${DISTDIR}/${DISTNAME}.tar.bz2 \ nox@freefall.freebsd.org:public_distfiles/ .endif .endif .include Index: head/devel/p4/Makefile.inc =================================================================== --- head/devel/p4/Makefile.inc (revision 430453) +++ head/devel/p4/Makefile.inc (revision 430454) @@ -1,30 +1,22 @@ # Figure out what to install .if ${OPSYS} == FreeBSD ONLY_FOR_ARCHS?= amd64 i386 .if ${ARCH} == amd64 -. if ${OSVERSION} >= 1000100 PLATFORM= freebsd100x86_64 -. else -IGNORE= unsupported OS release, sorry -. endif .elif ${ARCH} == i386 -. if ${OSVERSION} >= 1000100 PLATFORM= freebsd100x86 -. else -IGNORE= unsupported OS release, sorry -. endif .else IGNORE= unsupported OS release, sorry .endif .else IGNORE= ${OPSYS} is unsupported, sorry .endif P4VERSION?= r${PORTVERSION:S/^20//:C/\.[0-9]+$//} DIST_SUBDIR?= perforce/${PORTVERSION}/bin.${PLATFORM} DISTINFO_FILE?= ${MASTERDIR}/distinfo.${PLATFORM} Property changes on: head/devel/p4/Makefile.inc ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/p5-B-C/Makefile =================================================================== --- head/devel/p5-B-C/Makefile (revision 430453) +++ head/devel/p5-B-C/Makefile (revision 430454) @@ -1,45 +1,39 @@ # Created by: Sergei Vyshenski # $FreeBSD$ PORTNAME= B-C PORTVERSION= 1.54 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:RURBAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl compiler's C backend #' LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-B-Flags>=0.15:devel/p5-B-Flags \ p5-Opcodes>=0:devel/p5-Opcodes \ p5-IPC-Run>=0:devel/p5-IPC-Run RUN_DEPENDS:= ${BUILD_DEPENDS} PORTSCOUT= limit:^[0-9\.]*$$ USES= perl5 USE_PERL5= configure PERL_INC_STAGE= ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/CORE MAKE_ENV+= PERL_INC_STAGE=${PERL_INC_STAGE} PLIST_SUB+= PERL_ARCH=${PERL_ARCH} -.include - -.if ${PERL_LEVEL} >= 502400 && ${OSVERSION} < 1000054 -BROKEN= Does not build -.endif - post-patch: ${REINPLACE_CMD} -e "s|PERL_INC|PERL_INC_STAGE|g" ${WRKSRC}/Makefile.PL ${MKDIR} ${PERL_INC_STAGE} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/B/C/C.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/B/Stash/Stash.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/ByteLoader/ByteLoader.so -.include +.include Index: head/devel/py-libzfs/Makefile =================================================================== --- head/devel/py-libzfs/Makefile (revision 430453) +++ head/devel/py-libzfs/Makefile (revision 430454) @@ -1,41 +1,37 @@ # Created by: William Grzybowski # $FreeBSD$ PORTNAME= libzfs PORTVERSION= 1.0 PORTREVISION= 5 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wg@FreeBSD.org COMMENT= Python libzfs bindings LICENSE= BSD2CLAUSE BUILD_DEPENDS= cython>0:lang/cython USE_GITHUB= yes GH_ACCOUNT= freenas GH_PROJECT= py-libzfs GH_TAGNAME= faa3e92 USES= python USE_PYTHON= autoplist distutils MAKE_ENV= FREEBSD_SRC=${SRC_BASE} .include .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel source files in ${SRC_BASE} .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000 -IGNORE= This module requires at least FreeBSD 10.2 -.endif - .include Index: head/devel/py-pycapsicum/Makefile =================================================================== --- head/devel/py-pycapsicum/Makefile (revision 430453) +++ head/devel/py-pycapsicum/Makefile (revision 430454) @@ -1,24 +1,18 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME= pycapsicum PORTVERSION= 1.0 CATEGORIES= devel security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= stillson@gmail.com COMMENT= Python interface to capsicum security LICENSE= BSD3CLAUSE USES= python USE_PYTHON= autoplist distutils -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10.0 or newer -.endif - -.include +.include Index: head/editors/mg/Makefile =================================================================== --- head/editors/mg/Makefile (revision 430453) +++ head/editors/mg/Makefile (revision 430454) @@ -1,48 +1,44 @@ # Created by: Dima Dorfman # $FreeBSD$ PORTNAME= mg PORTVERSION= 20161005 CATEGORIES= editors MASTER_SITES= http://homepage.boetes.org/software/mg/ MAINTAINER= t@tobik.me COMMENT= Small, fast Emacs-like editor LICENSE= PD USES= ncurses PLIST_FILES= bin/mg man/man1/mg.1.gz PORTDOCS= README tutorial OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002506 -BROKEN= does not build, requires futimens system call -.endif - .if ${OPSYS} != FreeBSD || (${OSVERSION} >= 1002506 && ${OSVERSION} < 1100072) EXTRA_PATCHES= ${FILESDIR}/extra-patch-def.h post-patch: ${CP} ${FILESDIR}/reallocarray.c ${WRKSRC} @${REINPLACE_CMD} 's| tags.c| tags.c reallocarray.c|' ${WRKSRC}/Makefile .endif pre-configure: @${REINPLACE_CMD} 's|-lcurses|-lncurses|' ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|__dead|__dead2|' ${WRKSRC}/main.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/emulators/bochs/Makefile =================================================================== --- head/emulators/bochs/Makefile (revision 430453) +++ head/emulators/bochs/Makefile (revision 430454) @@ -1,299 +1,295 @@ # Created by: alex # $FreeBSD$ PORTNAME= bochs PORTVERSION= 2.6.8 PORTEPOCH= 2 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= IA-32 (x86) PC emulator that runs DOS, Win 95, and more LICENSE= LGPL21 +BROKEN_i386= does not build on i386 (../cpu.h:4513:117: error: 'regparm' parameter must be between 0 and 3 inclusive) + USES= gmake libtool:keepla pkgconfig GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_alsa_asoundlib_h=no \ ac_cv_header_ltdl_h=no CONFIGURE_ARGS= --disable-docbook --disable-instrumentation SUB_FILES= pkg-message CFLAGS+= -fomit-frame-pointer CXXFLAGS+= -fno-exceptions CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= A20_PIN ALIGN_CHECK ASSERT_CHECK AVX BUSMOUSE \ CDROM CHAINING CLGD54XX CONF_MSRS \ DEBUGGER DEBUGGER_GUI DEBUGGER_X86 DISASM DOCS \ E1000 ES1370 EVEX FPU \ GAMEPORT GDB_STUB IDLE_HACK IODEBUG \ LARGE_RAMFILE LOGGING LONG_PHY_ADDR MEMTYPE MWAIT \ NE2000 OPTIMIZATIONS \ PCI PERFMON PNIC PLUGINS USB USB_OHCI USB_XHCI \ RAW_SERIAL READLINE REPEAT_SPEED \ SB16 SHOW_IPS SMP STATS SVM TRACE_LINK \ VMX VOODOO X86_64 XPM OPTIONS_DEFINE_i386= FAST_FUNCCALL OPTIONS_GROUP= UI OPTIONS_GROUP_UI= RFB SDL1 SDL2 SVGALIB TERM VNCSERVER WXGTK X11 OPTIONS_DEFAULT= A20_PIN ALIGN_CHECK CDROM CONF_MSRS DISASM FPU \ LARGE_RAMFILE LOGGING NE2000 OPTIMIZATIONS PCI \ SB16 SHOW_IPS STATS X11 A20_PIN_DESC= Support for A20 pin A20_PIN_CONFIGURE_ENABLE= a20-pin ALIGN_CHECK_DESC= Alignment check support ALIGN_CHECK_CONFIGURE_ENABLE= alignment-check ASSERT_CHECK_DESC= BX_ASSERT checks ASSERT_CHECK_CONFIGURE_ENABLE= assert-checks ASSERT_CHECK_IMPLIES= DEBUGGER AVX_DESC= AVX instructions support AVX_CONFIGURE_ENABLE= avx AVX_IMPLIES= X86_64 BUSMOUSE_DESC= Busmouse support BUSMOUSE_CONFIGURE_ENABLE= busmouse CDROM_DESC= CDROM support CDROM_CONFIGURE_ENABLE= cdrom CHAINING_DESC= Support handlers-chaining emulation speedups CHAINING_CONFIGURE_ENABLE= handlers-chaining CHAINING_PREVENTS= ASSERT_CHECK DEBUGGER DEBUGGER_GUI IODEBUG GDB_STUB \ READLINE CLGD54XX_DESC= Cirrus Logic GD54xx video card CLGD54XX_CONFIGURE_ENABLE= clgd54xx CONF_MSRS_DESC= Configurable MSR registers support CONF_MSRS_CONFIGURE_ENABLE= configurable-msrs DEBUGGER_DESC= Debugger support DEBUGGER_CONFIGURE_ENABLE= debugger DEBUGGER_IMPLIES= DISASM DEBUGGER_GUI_DESC= GTK+ 2 GUI debugger support DEBUGGER_GUI_USE= GNOME=gtk20 DEBUGGER_GUI_CONFIGURE_ENABLE= debugger-gui DEBUGGER_GUI_IMPLIES= DEBUGGER DEBUGGER_X86_DESC= X86 hardware debugger DEBUGGER_X86_CONFIGURE_ENABLE= x86-debugger DISASM_DESC= Disassemler support DISASM_CONFIGURE_ENABLE= disasm E1000_DESC= Intel(R) Gigabit Ethernet support E1000_CONFIGURE_ENABLE= e1000 E1000_IMPLIES= PCI ES1370_DESC= ES1370 soundcard support ES1370_CONFIGURE_ENABLE= es1370 ES1370_IMPLIES= PCI EVEX_DESC= EVEX prefix and AVX-512 extensios support EVEX_CONFIGURE_ENABLE= evex EVEX_IMPLIES= AVX FAST_FUNCCALL_DESC= Support for fast function calls (x86 only) FAST_FUNCCALL_CONFIGURE_ENABLE= fast-function-calls FPU_DESC= FPU emulator FPU_CONFIGURE_ENABLE= fpu FPU_VARS_OFF= WITH_CPU_LEVEL=3 GAMEPORT_DESC= Standard PC gameport support GAMEPORT_CONFIGURE_ENABLE= gameport GDB_STUB_DESC= GDB stub support GDB_STUB_CONFIGURE_ENABLE= gdb-stub GDB_STUB_PREVENTS= ASSERT_CHECK DEBUGGER DEBUGGER_GUI IODEBUG IDLE_HACK_DESC= Keep Bochs from using all CPU time IDLE_HACK_CONFIGURE_ENABLE= idle-hack IODEBUG_DESC= I/O interface to debugger IODEBUG_CONFIGURE_ENABLE= iodebug IODEBUG_IMPLIES= DEBUGGER LARGE_RAMFILE_DESC= Large ramfile support LARGE_RAMFILE_CONFIGURE_ENABLE= large-ramfile LOGGING_DESC= Logging support LOGGING_CONFIGURE_ENABLE= logging LONG_PHY_ADDR_DESC= Support for physical address >= 32bit LONG_PHY_ADDR_CONFIGURE_ENABLE= long-phy-address MEMTYPE_DESC= Memory type calculation support MEMTYPE_CONFIGURE_ENABLE= memtype MWAIT_DESC= MONITOR/MWAIT instructions support (experimemtal) MWAIT_CONFIGURE_ENABLE= monitor-mwait NE2000_DESC= NE2000 support NE2000_CONFIGURE_ENABLE= ne2000 OPTIMIZATIONS_DESC= Compile in all safe speed optimizations OPTIMIZATIONS_CONFIGURE_ENABLE= all-optimizations OPTIMIZATIONS_IMPLIES= CHAINING FAST_FUNCCALL REPEAT_SPEED TRACE_LINK OPTIMIZATIONS_PREVENTS= ASSERT_CHECK DEBUGGER DEBUGGER_GUI IODEBUG GDB_STUB \ READLINE PCI_DESC= Intel(R) i440FX PCI support PCI_CONFIGURE_ENABLE= pci PERFMON_DESC= Hardware performance monitoring emulation (experimental) PERFMON_CONFIGURE_ENABLE= perfmon PLUGINS_CONFIGURE_ENABLE= plugins PNIC_DESC= PCI pseudo NIC (network card) support PNIC_CONFIGURE_ENABLE= pnic PNIC_IMPLIES= PCI RAW_SERIAL_DESC= Raw serial port access RAW_SERIAL_CONFIGURE_ENABLE= raw-serial READLINE_DESC= Readline support in debugger READLINE_USES= readline READLINE_CONFIGURE_ENABLE= readline READLINE_IMPLIES= DEBUGGER REPEAT_SPEED_DESC= Support repeated IO and mem copy speedups REPEAT_SPEED_CONFIGURE_ENABLE= repeat-speedups RFB_DESC= RFB protocol support (works with VNC viewer) RFB_CONFIGURE_WITH= rfb SB16_DESC= Sound Blaster 16 emulation SB16_CONFIGURE_ENABLE= sb16 SDL1_DESC= Simple Direct Media Layer 1 support SDL1_USE= SDL=sdl SDL1_CONFIGURE_WITH= sdl SDL1_PREVENTS= SDL2 SDL2_DESC= Simple Direct Media Layer 2 support SDL2_USE= SDL=sdl2 SDL2_CONFIGURE_WITH= sdl2 SHOW_IPS_DESC= Show IPS in status bar or log file SHOW_IPS_CONFIGURE_ENABLE= show-ips SMP_DESC= Support for SMP configurations (CPU level 6) SMP_CONFIGURE_ENABLE= smp SMP_VARS= WITH_CPU_LEVEL=6 SMP_IMPLIES= FPU SMP_PREVENTS= GDB_STUB STATS_DESC= Statistics collection STATS_CONFIGURE_ENABLE= stats SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_WITH= svga SVM_DESC= SVM (AMD: secure virtual machine) emulation SVM_CONFIGURE_ENABLE= svm SVM_VARS= WITH_CPU_LEVEL=6 SVM_IMPLIES= X86_64 TERM_DESC= Use text only, console based interface TERM_CONFIGURE_WITH= term TRACE_LINK_DESC= Support trace linking speedups TRACE_LINK_CONFIGURE_ENABLE= trace-linking UI_DESC= User Interface USB_DESC= USB UHCI support USB_CONFIGURE_ENABLE= usb USB_IMPLIES= PCI USB_OHCI_DESC= USB OHCI support USB_OHCI_CONFIGURE_ENABLE= usb-ohci USB_OHCI_IMPLIES= PCI USB_XHCI_DESC= USB xHCI support (experimental) USB_XHCI_CONFIGURE_ENABLE= usb-xhci USB_XHCI_IMPLIES= PCI VMX_DESC= Virtialization extensions VMX_VARS= WITH_CPU_LEVEL=6 VMX_IMPLIES= FPU VNCSERVER_DESC= LibVNCServer support (works with VNC viewer) VNCSERVER_LIB_DEPENDS= libvncserver.so:net/libvncserver VNCSERVER_CONFIGURE_WITH= vncsrv VOODOO_DESC= 3dfx Voodoo Graphics emulation VOODOO_CONFIGURE_ENABLE= voodoo VOODOO_IMPLIES= PCI WXGTK_USES= compiler:c++11-lib WXGTK_USE= WX=3.0 WXGTK_CONFIGURE_WITH= wx WXGTK_CXXFLAGS_OFF= -fno-rtti WXGTK_CPPFLAGS= $$(pkg-config --cflags gdk-2.0) WXGTK_IMPLIES= X11 X11_USE= XORG=xrandr X11_CONFIGURE_WITH= x11 X86_64_DESC= Support for x86-64 instructions X86_64_CONFIGURE_ENABLE= x86-64 X86_64_VARS= WITH_CPU_LEVEL=6 X86_64_IMPLIES= FPU XPM_USE= XORG=xpm XPM_CONFIGURE_ENABLE= xpm XPM_IMPLIES= X11 .include .if ${PORT_OPTIONS:MDEBUGGER_GUI} && empty(PORT_OPTIONS:MSDL1) && \ empty(PORT_OPTIONS:MSDL2) && empty(PORT_OPTIONS:MX11) IGNORE= option DEBUGGER_GUI requires SDL1, SDL2, or X11 support .endif .if ${PORT_OPTIONS:MGAMEPORT} && empty(PORT_OPTIONS:MES1370) && \ empty(PORT_OPTIONS:MSB16) IGNORE= option GAMEPORT requires SB16 or ES1370 soundcard support .endif .if ${PORT_OPTIONS:MVMX} && ${PORT_OPTIONS:MX86_64} CONFIGURE_ARGS+=--enable-vmx=2 .endif .if ${PORT_OPTIONS:MVMX} && empty(PORT_OPTIONS:MX86_64) CONFIGURE_ARGS+=--enable-vmx=1 .endif .if defined(WITH_CPU_LEVEL) .if ${WITH_CPU_LEVEL} < 3 || ${WITH_CPU_LEVEL} > 6 IGNORE= can not install: WITH_CPU_LEVEL must be an integer value between 3 and 6 .endif CONFIGURE_ARGS+=--enable-cpu-level=${WITH_CPU_LEVEL} .endif pre-everything:: .if !defined(WITH_CPU_LEVEL) @${ECHO_CMD} @${ECHO_CMD} "If you want to change the processor level to emulate (default is 5, aka Pentium), set WITH_CPU_LEVEL to the desired value. Choices are 3, 4, 5 and 6 which mean target 386, 486, Pentium or Pentium Pro emulation." | ${FMT} @${ECHO_CMD} .endif post-patch: @${REINPLACE_CMD} -e \ '/DEFAULT_GUI=/s|x11|nogui|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -Ee \ 's|$$BXSHARE/|${DATADIR}/|; \ s|^#clock: sync=none|clock: sync=realtime|; \ s|^log: .+|log: /dev/null|; \ s|^panic: .+|panic: action=ask|; \ s|^parport1: .+|#&|' \ ${WRKSRC}/.bochsrc @${REINPLACE_CMD} -Ee \ 's|install_share install_doc|install_share|; \ s|(^sharedir.+=).+|\1 ${DATADIR}|; \ s|(^docdir.+=).+|\1 ${DOCSDIR}|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -Ee \ 's|(@GUI_.+FLAGS@)$$|\1 @CPPFLAGS@|' \ ${WRKSRC}/bx_debug/Makefile.in @${REINPLACE_CMD} -e \ 's|/usr/local/share/bochs|${DATADIR}|; \ s|/usr/local/share/doc/bochs|${DOCSDIR}|' \ ${WRKSRC}/doc/docbook/user/user.dbk ${WRKSRC}/doc/man/*.[15] @${REINPLACE_CMD} -e 's|> ${TMPPLIST} @${FIND} ${STAGEDIR}${PREFIX}/lib/bochs -type d -empty | ${SORT} -r | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,@dir ,' >> ${TMPPLIST} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in CHANGES README TODO bochsrc-sample.txt (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DOCSDIR}) .endfor (cd ${WRKSRC}/docs-html && ${INSTALL_DATA} *.txt \ ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR}/html (cd ${WRKSRC}/docs-html && ${INSTALL_DATA} *.html \ ${STAGEDIR}${DOCSDIR}/html) -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${ARCH} == i386 -BROKEN= does not build on i386 (../cpu.h:4513:117: error: 'regparm' parameter must be between 0 and 3 inclusive) -.endif - -.include +.include Index: head/emulators/gem5/Makefile =================================================================== --- head/emulators/gem5/Makefile (revision 430453) +++ head/emulators/gem5/Makefile (revision 430454) @@ -1,51 +1,47 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= gem5 PORTVERSION= 0.0.${DATE} CATEGORIES= emulators MAINTAINER= vg@FreeBSD.org COMMENT= gem5 Simulator System BUILD_DEPENDS= swig2.0:devel/swig20 \ scons:devel/scons BROKEN_powerpc64= Does not build BROKEN_i386= does not build DATE= 20140422 USE_GITHUB= yes GH_ACCOUNT= CTSRD-CHERI GH_TAGNAME= 99d65cc SWIG_BIN= swig2.0 USES= gmake .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -IGNORE= does not support FreeBSD versions < 10.0 -.endif - post-patch: @${REINPLACE_CMD} -e 's|sys/termios.h|termios.h|' \ ${WRKSRC}/src/base/vnc/vncserver.cc \ ${WRKSRC}/src/dev/terminal.cc \ ${WRKSRC}/util/term/term.c do-build: cd ${WRKSRC} && ${GMAKE} -C util/term cd ${WRKSRC} && ${SETENV} SWIG="${PREFIX}/bin/${SWIG_BIN}" scons \ build/ARM/gem5.opt do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/${PORTNAME}/ARM (cd ${WRKSRC} && ${COPYTREE_SHARE} configs \ ${STAGEDIR}${PREFIX}/${PORTNAME}) (cd ${WRKSRC} && ${INSTALL_PROGRAM} build/ARM/gem5.opt \ ${STAGEDIR}${PREFIX}/${PORTNAME}/ARM/gem5.opt) (cd ${WRKSRC} && ${INSTALL_PROGRAM} util/term/m5term \ ${STAGEDIR}${PREFIX}/bin/m5term) .include Index: head/emulators/pearpc/Makefile =================================================================== --- head/emulators/pearpc/Makefile (revision 430453) +++ head/emulators/pearpc/Makefile (revision 430454) @@ -1,64 +1,60 @@ # Created by: Roman Bogorodskiy # $FreeBSD$ PORTNAME= pearpc PORTVERSION= 0.5 PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}.0 MAINTAINER= ports@FreeBSD.org COMMENT= PowerPC architecture emulator LICENSE= GPLv2 USES= tar:bzip2 USE_XORG= x11 GNU_CONFIGURE= yes BROKEN_ia64= internal compiler error on ia64 PORTEXAMPLES= ppccfg.example PLIST_FILES= bin/ppc man/man1/ppc.1.gz %%DATADIR%%/video.x OPTIONS_DEFINE= DEBUG EXAMPLES OPTIMIZED_CFLAGS SDL DEBUG_CONFIGURE_ENABLE= debug OPTIMIZED_CFLAGS_CFLAGS= -O3 -ffast-math OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= fpo SDL_USE= sdl=sdl SDL_CONFIGURE_ON= --enable-ui=sdl SDL_CONFIGURE_OFF= --enable-ui=x11 .include .if ${ARCH} == "amd64" || ${ARCH} == "i386" USE_GCC= yes .else CONFIGURE_ARGS+= --enable-cpu=generic .endif -.if ${ARCH} == "amd64" && ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -BROKEN= does not build on FreeBSD < 10.x amd64 -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|-O3|| ; \ s|^\(x86_64\)|amd64\* \| \1| ; \ s|-g -O2||' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|video\.x"|${DATADIR}/&|' ${WRKSRC}/ppccfg.example @${REINPLACE_CMD} -e \ 's|PROCESS_CPUTIME|THREAD_CPUTIME|' \ ${WRKSRC}/src/system/osapi/posix/systimer.cc post-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${INSTALL_DATA} video.x \ ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ppccfg.example \ ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/emulators/x49gp/Makefile =================================================================== --- head/emulators/x49gp/Makefile (revision 430453) +++ head/emulators/x49gp/Makefile (revision 430454) @@ -1,104 +1,99 @@ # Created by: Shaun Amott # $FreeBSD$ # Note: sdcard64.tar.gz contains just an empty 64MB FAT-16 disk image PORTNAME= x49gp PORTVERSION= 20100425 PORTREVISION= 1 CATEGORIES= emulators math MASTER_SITES= LOCAL/shaun DISTFILES= ${DISTNAME}${EXTRACT_SUFX} sdcard64.tar.gz +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= shaun@FreeBSD.org COMMENT= HP 49g+/50g graphics calculator emulator -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +BROKEN_i386= does not build on i386 (error: frame pointer required, but reserved) WRKSRC= ${WRKDIR}/x49gp/x49gp-code HAVE_CONFIGURE= yes USE_GCC= any USE_XORG= x11 USE_GNOME= gtk20 USES= gmake pkgconfig OPTIONS_SINGLE= FIRMWARE OPTIONS_SINGLE_FIRMWARE=FIRMWARE_215 FIRMWARE_209 #OPTIONS_SINGLE_FIRMWARE=FIRMWARE_215H3 FIRMWARE_215 FIRMWARE_209 #FIRMWARE_215H3_DESC= Calculator ROM firmware version 2.15 plus HPGCC3 FIRMWARE_215_DESC= Calculator ROM firmware version 2.15 FIRMWARE_209_DESC= Calculator ROM firmware version 2.09 OPTIONS_DEFINE= GRAYSCALE GRAYSCALE_DESC= Apply patch for grayscale support OPTIONS_DEFAULT=FIRMWARE_215 GRAYSCALE SUB_FILES= hp50g.sh .if defined(WITH_DEBUG) MAKE_ENV+= DEBUGB=1 .endif .include MAKE_ARGS+=CC="${CC}" .if ${PORT_OPTIONS:MGRAYSCALE} EXTRA_PATCHES+= ${FILESDIR}/grayscale.diff .endif .if ${PORT_OPTIONS:MFIRMWARE_215H3} || ${PORT_OPTIONS:MFIRMWARE_215} MAKE_ARGS+=FIRMWARE=4950_215.bin DISTFILES+=hp4950v215.zip EXTRACT_ONLY+=hp4950v215.zip .else MAKE_ARGS+=FIRMWARE=4950_92.bin .endif #.if ${PORT_OPTIONS:MFIRMWARE_215H3} #DISTFILES+=rom215_hpgcc3_R004.tar.gz #EXTRACT_ONLY+=rom215_hpgcc3_R004.tar.gz #.endif post-patch: .if ${PORT_OPTIONS:MFIRMWARE_215H3} || ${PORT_OPTIONS:MFIRMWARE_215} @${CP} ${WRKDIR}/hp4950v215/*.lib ${WRKSRC}/ @${CP} ${WRKDIR}/hp4950v215/*.bin ${WRKSRC}/ @${CP} ${WRKDIR}/hp4950v215/*.scp ${WRKSRC}/ .endif #.if ${PORT_OPTIONS:MFIRMWARE_215H3} # @${CP} ${WRKDIR}/rom215_hpgcc3_R004/hpgccrom.bin ${WRKSRC}/4950_215.bin #.endif do-configure: cd ${WRKSRC}/qemu/qemu-git && ./configure-small --extra-cflags=-DX49GP --cc="${CC}" do-build: cd ${WRKSRC} && ${SETENV} -u MAKELEVEL -u MAKEFLAGS ${MAKE_CMD} ${MAKE_ARGS} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for f in flash-50g hp50g.png hp50g-hack.png hp49g+.png flash-49g+ sram s3c2410-sram ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/ .endfor ${INSTALL_DATA} ${FILESDIR}/config-hp50g ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${FILESDIR}/config-hp49g+ ${STAGEDIR}${DATADIR}/ ${INSTALL_PROGRAM} ${WRKSRC}/x49gp ${STAGEDIR}${PREFIX}/bin/x49gp-bin ${INSTALL_SCRIPT} ${WRKDIR}/hp50g.sh ${STAGEDIR}${PREFIX}/bin/hp50g ${RM} ${STAGEDIR}${PREFIX}/bin/hp49g+ ${LN} ${STAGEDIR}${PREFIX}/bin/hp50g ${STAGEDIR}${PREFIX}/bin/hp49g+ ${INSTALL_DATA} ${DISTDIR}/sdcard64.tar.gz ${STAGEDIR}${DATADIR}/ -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${ARCH} == i386 -BROKEN= does not build on i386 (error: frame pointer required, but reserved) -.endif - -.include +.include Index: head/games/0ad/Makefile =================================================================== --- head/games/0ad/Makefile (revision 430453) +++ head/games/0ad/Makefile (revision 430454) @@ -1,84 +1,80 @@ # $FreeBSD$ PORTNAME= 0ad PORTVERSION= 0.0.21 PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://releases.wildfiregames.com/ \ SF/zero-ad/releases DISTFILES= ${PORTNAME}-${PORTVERSION}-alpha-unix-build.tar.xz \ ${PORTNAME}-${PORTVERSION}-alpha-unix-data.tar.xz MAINTAINER= madpilot@FreeBSD.org COMMENT= Real-time strategy (RTS) game of ancient warfare BUILD_DEPENDS= zip:archivers/zip \ python:lang/python \ cmake:devel/cmake LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libicui18n.so:devel/icu \ libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libcurl.so:ftp/curl \ libgloox.so:net-im/gloox \ libminiupnpc.so:net/miniupnpc \ libnspr4.so:devel/nspr \ libenet.so:net/enet WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha BUILD_WRKSRC= ${WRKSRC}/build/workspaces/gcc MAKE_ARGS= config=release USES= compiler:c++11-lib dos2unix execinfo gmake iconv openal:al \ pkgconfig tar:xz USE_GNOME= libxml2 gtk20 USE_GL= gl USE_SDL= sdl2 BUNDLE_LIBS= yes DOS2UNIX_REGEX= .*\.([ch]p{0,2}|make) USE_WX= 2.8+ WX_COMPS= wx:lib MAKE_ENV+= JOBS=${_MAKE_JOBS} PORTDATA= * .include -.if ${OSVERSION} < 1000024 -BROKEN= segfaults during build -.endif - post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|%%CC%%|${CC}|' \ ${WRKSRC}/build/premake/premake4.lua .if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc @${REINPLACE_CMD} -e '1055,1251s/-rdynamic/-lssp_nonshared &/' \ -e '1441s/"execinfo",/& "ssp_nonshared",/' \ ${WRKSRC}/build/premake/premake4.lua .endif @${REINPLACE_CMD} 's,^\(Exec=\)/usr/local,\1${PREFIX},' \ ${WRKSRC}/build/resources/0ad.desktop @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/build/resources/0ad.sh pre-build: (cd ${WRKSRC}/build/workspaces && ${SETENV} ${MAKE_ENV} ./update-workspaces.sh ${0ADSDLARG} --bindir=${PREFIX}/bin --datadir=${DATADIR} --libdir=${PREFIX}/lib/${PORTNAME}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/pyrogenesis ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/build/resources/0ad.sh ${STAGEDIR}${PREFIX}/bin/0ad ${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/ActorEditor ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} (cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} libAtlasUI.so libCollada.so libnvcore.so libnvimage.so libnvmath.so libnvtt.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) (cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} libmozjs38-ps-release.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) ${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.png ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/binaries/data && ${COPYTREE_SHARE} "config l10n tests tools" ${STAGEDIR}${DATADIR}) ${MKDIR} ${STAGEDIR}${DATADIR}/mods/public ${STAGEDIR}${DATADIR}/mods/mod ${TAR} xf ${WRKSRC}/binaries/data/mods/public/public.zip -C ${STAGEDIR}${DATADIR}/mods/public --no-same-permissions ${TAR} xf ${WRKSRC}/binaries/data/mods/mod/mod.zip -C ${STAGEDIR}${DATADIR}/mods/mod --no-same-permissions .include Index: head/games/spring/Makefile =================================================================== --- head/games/spring/Makefile (revision 430453) +++ head/games/spring/Makefile (revision 430454) @@ -1,123 +1,119 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= spring PORTVERSION= 98.0 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/springrts/springrts/${PORTNAME}-${PORTVERSION} \ http://springrts.com/dl/ DISTNAME= ${PORTNAME}_${PORTVERSION}_src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Project aiming to create a new and versatile RTS Engine LICENSE= GPLv2 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libboost_thread.so:devel/boost-libs \ libIL.so:graphics/devil \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis BUILD_DEPENDS= 7z:archivers/p7zip # XXX: it should be possible to build it on i386, investigate # (currently link fails on undefined reference to __sync_fetch_and_add_8) ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= relies on x86 floating-point math and amd64 atomic ops USE_SDL= sdl2 USE_GL= gl glu glew USE_XORG= x11 xcursor USE_LDCONFIG= yes DOS2UNIX_GLOB= *.h *.hpp *.cpp USES= execinfo cmake compiler:c++11-lib dos2unix openal:al tar:lzma USES+= desktop-file-utils shared-mime-info CMAKE_ARGS= -DDATADIR:STRING="share/${PORTNAME}" \ -DAI_TYPES:STRING="NATIVE" \ -DDOCDIR:STRING="share/doc/${PORTNAME}" \ -DCREATE_MAN_PAGES:BOOL=false \ -DUSE_TCMALLOC:BOOL=false \ -DUSE_LIBSQUISH:BOOL=false \ -DUNITSYNC_PYTHON_WRAPPER:BOOL=false WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} .if exists(/usr/lib/libexecinfo.so) LEI_PREFIX= /usr .else LEI_PREFIX= ${LOCALBASE} .endif # Do not exctract bundled copies of header files for 3rd-party packages: EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude ${WRKSRC:T}/include # The check-target fails right now: https://springrts.com/mantis/view.php?id=4736 TEST_TARGET= check PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= MANPAGES PR_DOWNLOADER DOCS OPTIONS_DEFAULT=MANPAGES PR_DOWNLOADER OPTIONS_SUB= * HTMLDOCS_DESC= Build and install HTML documentation PR_DOWNLOADER_DESC= Map and game downloader MANPAGES_CMAKE_ON= -DCREATE_MAN_PAGES:BOOL=true -DMANDIR:STRING="man" MANPAGES_CMAKE_OFF= -DCREATE_MAN_PAGES:BOOL=false MANPAGES_BUILD_DEPENDS= 7z:archivers/p7zip \ asciidoc:textproc/asciidoc \ xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ bash:shells/bash MANPAGES_DOCS_ON= -DUSERDOCS_PLAIN:BOOL=true MANPAGES_DOCS_OFF= -DUSERDOCS_PLAIN:BOOL=false CXXFLAGS+= -Wno-deprecated # Too much noise PR_DOWNLOADER_LIB_DEPENDS=libcurl.so:ftp/curl .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -BROKEN= does not build (lack of proper c++11 support) -.endif - .if defined(WITH_SYNC_DEBUG) CFLAGS= # empty CXXFLAGS= # empty CMAKE_ARGS+= -DTRACE_SYNC=true -DSYNCDEBUG=true CMAKE_BUILD_TYPE=DEBUG2 .endif .if ! ${PORT_OPTIONS:MPR_DOWNLOADER} post-extract: @${RM} ${WRKSRC}/tools/pr-downloader/CMakeLists.txt .endif post-patch: @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|/etc/\(spring/datadir\)|${PREFIX}/\1|g' \ ${WRKSRC}/rts/System/FileSystem/DataDirLocater.cpp @${REINPLACE_CMD} -e 's|x1F3F|x0F3F|g' \ ${WRKSRC}/rts/System/Sync/FPUCheck.cpp @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/rts/build/cmake/*.cmake @${REINPLACE_CMD} -e 's|execinfo|${LEI_PREFIX}/lib/libexecinfo.so|' \ ${WRKSRC}/rts/CMakeLists.txt \ ${WRKSRC}/rts/builds/dedicated/CMakeLists.txt @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/rts/System/Platform/Misc.cpp @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}&|' \ ${WRKSRC}/doc/manpages/make_manpages.sh .if ! ${PORT_OPTIONS:MMANPAGES} @${REINPLACE_CMD} -e '/set(CREATE_MAN_PAGES)/ d' \ ${WRKSRC}/doc/CMakeLists.txt .endif pre-build: cd ${WRKSRC} && ${MAKE} generateVersionFiles .include Index: head/games/vegastrike/Makefile =================================================================== --- head/games/vegastrike/Makefile (revision 430453) +++ head/games/vegastrike/Makefile (revision 430454) @@ -1,67 +1,61 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= vegastrike PORTVERSION= 0.5.1.r1 PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Open source 3D space simulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${DATADIR}/vegastrike.ico:games/vegastrike-data LIB_DEPENDS= libboost_python.so:devel/boost-python-libs \ libexpat.so:textproc/expat2 \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg USES= dos2unix gmake localbase:ldflags openal:al pkgconfig python \ tar:bzip2 GNU_CONFIGURE= yes USE_SDL= sdl USE_GL= glut USE_XORG= sm ice xi x11 xext xrender xinerama xi xrandr xcursor \ xcomposite xdamage xfixes USE_GNOME= gtk20 DOS2UNIX_GLOB= *.cpp *.h EXTRACT_AFTER_ARGS= --exclude boost # cegui and ffmpeg are not used yet CONFIGURE_ARGS= --disable-cegui --disable-ffmpeg \ --with-data-dir="${LOCALBASE}/share/${PORTNAME}" \ --with-boost=system \ --enable-flags="${CXXFLAGS}" BIN_FILES= bin/vegastrike bin/vssetup bin/vegaserver PLIST_FILES= ${BIN_FILES} PORTDOCS= README OPTIONS_DEFINE= MESHER MESHER_DESC= Enable mesher modelling tool MESHER_PLIST_FILES= bin/mesher MESHER_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d MESHER_CONFIGURE_ENABLE= ogre -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${OSVERSION} < 1002000 -BROKEN= does not build on 10.1 -.endif - post-patch: @${REINPLACE_CMD} -E 's,/usr/(local|X11R6),${LOCALBASE},' \ ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${BIN_FILES:S|bin|${WRKSRC}|} \ ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.include +.include Index: head/lang/beignet/Makefile =================================================================== --- head/lang/beignet/Makefile (revision 430453) +++ head/lang/beignet/Makefile (revision 430454) @@ -1,57 +1,51 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= beignet PORTVERSION= 1.2.0 CATEGORIES= lang MASTER_SITES= https://01.org/sites/default/files/ DISTVERSIONSUFFIX= -source MAINTAINER= x11@FreeBSD.org COMMENT= OpenCL library for Intel GPUs BUILD_DEPENDS= clang${LLVMVER}:devel/llvm${LLVMVER} \ opencl>=0:devel/opencl LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \ libdrm.so:graphics/libdrm RUN_DEPENDS= opencl>=0:devel/opencl \ clang${LLVMVER}:devel/llvm${LLVMVER} WRKSRC= ${WRKDIR}/Beignet-${PORTVERSION}-Source USES= cmake gmake ncurses pkgconfig shebangfix USE_XORG= sm ice x11 xext xfixes USE_GL= gl egl SHEBANG_FILES= src/git_sha1.sh backend/kernels/compile.sh LLVMVER= 37 CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config${LLVMVER} ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Beignet needs a graphics driver supported by the Intel KMS driver # running tests from makefile doesn't work quite yet, so comment them out for now. #OPTIONS_DEFINE= TESTS #TESTS_DESC= Build and run the test suite -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${OSVERSION} < 1002000 -BROKEN= Beignet needs FreeBSD 10.2 or newer due to too old libc++ in 10.1-Release -.endif - post-patch: @${REINPLACE_CMD} -e 's|llvm-dis|llvm-dis${LLVMVER}|g; \ s|clang |clang${LLVMVER} |g' \ ${WRKSRC}/backend/kernels/compile.sh #post-patch-TESTS-off: @${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(utests)||g' \ ${WRKSRC}/CMakeLists.txt post-install: @${RM} -r ${STAGEDIR}${PREFIX}/include/CL #post-install-TESTS-on: # @cd ${WRKSRC}/utests && sh ./setenv.sh && ./utest_run .include Index: head/lang/clover/Makefile =================================================================== --- head/lang/clover/Makefile (revision 430453) +++ head/lang/clover/Makefile (revision 430454) @@ -1,38 +1,34 @@ # $FreeBSD$ PORTNAME= clover PORTVERSION= ${MESAVERSION} PORTREVISION= 0 CATEGORIES= lang COMMENT= Mesa "Clover" OpenCL library BUILD_DEPENDS= opencl>=0:devel/opencl LIB_DEPENDS= libdrm.so:graphics/libdrm \ libOpenCL.so:devel/ocl-icd \ libexpat.so:textproc/expat2 RUN_DEPENDS= opencl>=0:devel/opencl USES= ssl USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto \ presentproto xvmc xshmfence ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Clover needs a graphics driver supported by the Radeon KMS driver .include .include "${.CURDIR}/../../graphics/libGL/Makefile.common" #MESA_BUILD_WRKSRC= src/util src/glsl src/mesa src/gallium MESA_INSTALL_WRKSRC= src/gallium/targets/opencl src/gallium/targets/pipe-loader -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1001000 -IGNORE= Clover is only supported on FreeBSD 10.1 and newer -.endif - .include "${.CURDIR}/../../graphics/libGL/Makefile.targets" post-install: @${MV} ${STAGEDIR}/etc/OpenCL ${STAGEDIR}${PREFIX}/etc/ .include Index: head/lang/erlang/Makefile =================================================================== --- head/lang/erlang/Makefile (revision 430453) +++ head/lang/erlang/Makefile (revision 430454) @@ -1,281 +1,275 @@ # Created by: ruslan@shevchenko.kiev.ua # $FreeBSD$ PORTNAME= erlang PORTVERSION= 19.2 PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/:erlangorg \ http://erlang.stacken.kth.se/download/:erlangorg \ http://www.csd.uu.se/ftp/mirror/erlang/download/:erlangorg \ http://www.erlang.se/doc/:erlangse \ http://www.erlang.se/publications/:publications \ http://www.sics.se/~joe/thesis/:joe \ LOCAL/olgeni:local DISTNAME= otp_src_${ERL_RELEASE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \ ${ERLANG_MAN}:erlangorg DIST_SUBDIR= erlang EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PATCH_SITES= http://olgeni.olgeni.com/~olgeni/distfiles/ \ LOCAL/olgeni PATCHFILES= MAINTAINER= olgeni@FreeBSD.org COMMENT= Functional programming language from Ericsson LICENSE= APACHE20 BROKEN_sparc64= Fails to build: error: fp_except undeclared WRKSRC= ${WRKDIR}/otp_src_${ERL_RELEASE} ERLANG_LIB= ${PORTNAME} SUB_FILES= pkg-message SUB_LIST= TOOLS_VSN=${TOOLS_VSN} PLIST_SUB= ERLANG_LIB=${ERLANG_LIB} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DIRTY DOCS DTRACE GS HIPE JAVA KQUEUE NATIVE ODBC OPENSSL SCTP SMP THREADS WX DIRTY_DESC= Enable Dirty schedulers (experimental) DTRACE_DESC= Enable DTrace support GS_DESC= Enable GS application (deprecated) HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support NATIVE_DESC= Enable native libraries SCTP_DESC= Enable SCTP support SMP_DESC= Enable SMP support WX_DESC= Enable WX application NATIVE_IMPLIES= HIPE OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS DTRACE OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_FreeBSD_9= DTRACE OPTIONS_EXCLUDE_FreeBSD_10= DTRACE OPTIONS_EXCLUDE_i386= DTRACE ERL_RELEASE= 19.2 USES= gmake ncurses perl5 USE_PERL5= build USE_RC_SUBR= epmd GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib EI_VSN= 3.9.2 SNMP_VSN= 5.2.4 TOOLS_VSN= 2.9 .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${ERLANG_DOCS}:erlangorg \ ${DOC_DISTFILES} DOC_DISTFILES= armstrong_thesis_2003.pdf:joe \ bjarnelic.pdf:publications \ erlang-book-part1.pdf:erlangorg \ master_thesis_patterns.pdf:local \ mnesia_overview.pdf:publications \ programming_rules.pdf:erlangse .endif # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. -.if ${OSVERSION} < 1000000 -.if ${ARCH} == "amd64" && ${PORT_OPTIONS:MDTRACE} -IGNORE= support for DTrace on amd64 requires at least FreeBSD 10 -.endif -.endif - .if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000 CFLAGS+= -DMAP_NORESERVE=0 .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--with-dynamic-trace=dtrace CFLAGS+= -fno-omit-frame-pointer STRIP= .else CONFIGURE_ARGS+=--without-dynamic-trace .endif .if ${PORT_OPTIONS:MOPENSSL} USES+= ssl CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+=--without-ssl .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes CONFIGURE_ARGS+=--with-javac CONFIGURE_ENV+= ac_cv_prog_JAVAC="${JAVAC}" .else CONFIGURE_ARGS+=--without-javac .endif .if ${PORT_OPTIONS:MHIPE} CONFIGURE_ARGS+=--enable-hipe .else CONFIGURE_ARGS+=--disable-hipe .endif .if ${PORT_OPTIONS:MNATIVE} CONFIGURE_ARGS+=--enable-native-libs .else CONFIGURE_ARGS+=--disable-native-libs .endif .if ${PORT_OPTIONS:MKQUEUE} CONFIGURE_ARGS+=--enable-kernel-poll .else CONFIGURE_ARGS+=--disable-kernel-poll .endif .if ${PORT_OPTIONS:MGS} USES+= tk:run .endif .if ${PORT_OPTIONS:MWX} USE_WX= 2.8+ WX_COMPS= wx contrib CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG} USE_GL+= gl glu .endif .if ${PORT_OPTIONS:MODBC} CONFIGURE_ARGS+=--with-odbc LIB_DEPENDS+= libodbc.so:databases/unixODBC .else CONFIGURE_ARGS+=--without-odbc .endif ERLANG_MAN= otp_doc_man_${ERL_RELEASE}.tar.gz ERLANG_DOCS= otp_doc_html_${ERL_RELEASE}.tar.gz .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--enable-threads .else CONFIGURE_ARGS+=--disable-threads .endif .if ${PORT_OPTIONS:MSCTP} CONFIGURE_ARGS+=--enable-sctp .else CONFIGURE_ARGS+=--disable-sctp .endif # enabling --enable-smp-support crashes the OS when # net_kernel:start([node_name, shortnames]) invoked repeatedly # TODO verify if it still applies .if ${PORT_OPTIONS:MSMP} CONFIGURE_ARGS+=--enable-smp-support .else CONFIGURE_ARGS+=--disable-smp-support .endif .if ${PORT_OPTIONS:MDIRTY} CONFIGURE_ARGS+=--enable-dirty-schedulers .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif .if ${ARCH} == armv6 MAKE_ARGS+= ARCH=arm .endif # The man-pages are put (in spite of FreeBSD's port convention) in a private # subdir. This is to avoid cluttering up the man page name space. Also the # Erlang man pages are more of internal documentation using the man format than # actual system man pages. (erl.1 and epmd.1 perhaps being the exception). # Install documentation. (HTML docs need to be in same dir as the # rest, not in share/doc/erlang as it should, because of relative # links in the documentation. post-patch: @${ECHO_CMD} "MANPATH ${PREFIX}/lib/erlang/man" > ${WRKDIR}/erlang.conf pre-configure: .if ! ${PORT_OPTIONS:MWX} echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP .endif post-configure: .if ${PORT_OPTIONS:MODBC} ${RM} ${WRKSRC}/lib/odbc/SKIP .endif .if ${PORT_OPTIONS:MNATIVE} pre-build: @cd ${WRKSRC} && ${MAKE_CMD} clean .endif post-install: ${INSTALL_DATA} ${WRKDIR}/erlang.conf ${STAGEDIR}${PREFIX}/etc/man.d/erlang.conf ${LN} -sf ../lib/${ERLANG_LIB}/lib/erl_interface-${EI_VSN}/bin/erl_call ${STAGEDIR}${PREFIX}/bin/erl_call for SECTION in 1 3 4 6 7; do \ ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \ "man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \ done ${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat? .if ${PORT_OPTIONS:MDOCS} ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} ${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/dialyzer-*/doc/ @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${DOC_DISTFILES} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$(expr ${FILE} : '\([^:]*\)') ${STAGEDIR}/${DOCSDIR} .endfor .endif .if ! ${PORT_OPTIONS:MGS} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/gs-* .endif .if ! ${PORT_OPTIONS:MJAVA} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* .endif .if ! ${PORT_OPTIONS:MODBC} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* .endif .if ! ${PORT_OPTIONS:MOPENSSL} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* .endif .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete ${LN} -s ../lib/erlang/lib/snmp-${SNMP_VSN}/bin/snmpc ${STAGEDIR}${PREFIX}/bin/snmpc @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ >> ${TMPPLIST} .include .if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel} BROKEN= Does not build with openssl-devel .endif .include Index: head/lang/erlang-runtime15/Makefile =================================================================== --- head/lang/erlang-runtime15/Makefile (revision 430453) +++ head/lang/erlang-runtime15/Makefile (revision 430454) @@ -1,212 +1,206 @@ # Created by: ruslan@shevchenko.kiev.ua # $FreeBSD$ PORTNAME= erlang PORTVERSION= 15.b.03.1 PORTREVISION= 10 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/:erlangorg \ http://erlang.stacken.kth.se/download/:erlangorg \ http://www.csd.uu.se/ftp/mirror/erlang/download/:erlangorg PKGNAMESUFFIX= -runtime15 DISTNAME= otp_src_${ERL_RELEASE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \ ${ERLANG_MAN}:erlangorg DIST_SUBDIR= erlang EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= olgeni@FreeBSD.org COMMENT= Functional programming language from Ericsson WRKSRC= ${WRKDIR}/otp_src_R15B03 ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} SUB_FILES= pkg-message SUB_LIST= ERLANG_LIB=${ERLANG_LIB} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DOCS DTRACE GCC GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX DTRACE_DESC= Enable DTrace support GS_DESC= Enable GS application (deprecated) HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support SCTP_DESC= Enable SCTP support SMP_DESC= Enable SMP support WX_DESC= Enable WX application OPTIONS_DEFAULT=KQUEUE OPENSSL SCTP SMP THREADS OPTIONS_EXCLUDE_DragonFly= HIPE SCTP ERL_RELEASE= R${PORTVERSION:S/.//g:tu:S/1$/-1/} USES= gmake ncurses perl5 USE_PERL5= build GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${ERLANG_DOCS}:erlangorg .endif # See http://wiki.freebsd.org/DTrace to learn how to enable DTrace # on your system. You will need to configure STRIP, WITH_CTF and # CFLAGS in your make.conf before building. # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. -.if ${OSVERSION} < 1000000 -.if ${ARCH} == "amd64" && ${PORT_OPTIONS:MDTRACE} && ! ${PORT_OPTIONS:MGCC} -IGNORE= support for DTrace on amd64 requires GCC option -.endif -.endif - .if ${PORT_OPTIONS:MGCC} USE_GCC?= yes .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--with-dynamic-trace=dtrace .else CONFIGURE_ARGS+=--without-dynamic-trace .endif .if ${PORT_OPTIONS:MOPENSSL} USES+= ssl CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+=--without-ssl .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes CONFIGURE_ARGS+=--with-javac CONFIGURE_ENV+= ac_cv_prog_JAVAC="${JAVAC}" .else CONFIGURE_ARGS+=--without-javac .endif .if ${PORT_OPTIONS:MHIPE} CONFIGURE_ARGS+=--enable-hipe .else CONFIGURE_ARGS+=--disable-hipe .endif .if ${PORT_OPTIONS:MKQUEUE} CONFIGURE_ARGS+=--enable-kernel-poll .else CONFIGURE_ARGS+=--disable-kernel-poll .endif .if ${PORT_OPTIONS:MGS} USES+= tk:run .endif .if ${PORT_OPTIONS:MWX} USE_WX= 2.8+ WX_COMPS= wx contrib CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG} .endif .if ${PORT_OPTIONS:MODBC} CONFIGURE_ARGS+=--with-odbc LIB_DEPENDS+= libodbc.so:databases/unixODBC .else CONFIGURE_ARGS+=--without-odbc .endif ERLANG_MAN= otp_doc_man_${ERL_RELEASE}.tar.gz ERLANG_DOCS= otp_doc_html_${ERL_RELEASE}.tar.gz .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--enable-threads .else CONFIGURE_ARGS+=--disable-threads .endif .if ${PORT_OPTIONS:MSCTP} CONFIGURE_ARGS+=--enable-sctp .else CONFIGURE_ARGS+=--disable-sctp .endif # enabling --enable-smp-support crashes the OS when # net_kernel:start([node_name, shortnames]) invoked repeatedly # TODO verify if it still applies .if ${PORT_OPTIONS:MSMP} CONFIGURE_ARGS+=--enable-smp-support .else CONFIGURE_ARGS+=--disable-smp-support .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif # The man-pages are put (in spite of FreeBSD's port convention) in a private # subdir. This is to avoid cluttering up the man page name space. Also the # Erlang man pages are more of internal documentation using the man format than # actual system man pages. (erl.1 and epmd.1 perhaps being the exception). # Install documentation. (HTML docs need to be in same dir as the # rest, not in share/doc/erlang as it should, because of relative # links in the documentation. pre-configure: .if ${PORT_OPTIONS:MDTRACE} @if ! /sbin/kldstat | ${GREP} dtraceall >/dev/null 2>&1; then \ ${ECHO_CMD}; \ ${ECHO_CMD} "DTRACE option requires kernel module \"dtraceall\" to be loaded."; \ ${ECHO_CMD}; \ exit 1; \ fi .endif .if ! ${PORT_OPTIONS:MWX} echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP .endif post-install: for SECTION in 1 3 4 6; do \ ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \ "man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \ done ${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat? .if ${PORT_OPTIONS:MDOCS} ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} ${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/dialyzer-*/doc/ .endif .if ! ${PORT_OPTIONS:MGS} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/gs-* .endif .if ! ${PORT_OPTIONS:MJAVA} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* .endif .if ! ${PORT_OPTIONS:MODBC} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* .endif .if ! ${PORT_OPTIONS:MOPENSSL} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* .endif .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ >> ${TMPPLIST} .include Index: head/lang/erlang-runtime16/Makefile =================================================================== --- head/lang/erlang-runtime16/Makefile (revision 430453) +++ head/lang/erlang-runtime16/Makefile (revision 430454) @@ -1,217 +1,211 @@ # Created by: ruslan@shevchenko.kiev.ua # $FreeBSD$ PORTNAME= erlang PORTVERSION= 16.b.03.1 PORTREVISION= 9 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/:erlangorg \ http://erlang.stacken.kth.se/download/:erlangorg \ http://www.csd.uu.se/ftp/mirror/erlang/download/:erlangorg PKGNAMESUFFIX= -runtime16 DISTNAME= otp_src_${ERL_RELEASE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \ ${ERLANG_MAN}:erlangorg DIST_SUBDIR= erlang EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= olgeni@FreeBSD.org COMMENT= Functional programming language from Ericsson WRKSRC= ${WRKDIR}/otp_src_${ERL_RELEASE} ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} SUB_FILES= pkg-message SUB_LIST= ERLANG_LIB=${ERLANG_LIB} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DOCS DTRACE GCC GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX DTRACE_DESC= Enable DTrace support GS_DESC= Enable GS application (deprecated) HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support SCTP_DESC= Enable SCTP support SMP_DESC= Enable SMP support WX_DESC= Enable WX application OPTIONS_DEFAULT=KQUEUE OPENSSL SCTP SMP THREADS OPTIONS_EXCLUDE_DragonFly= HIPE SCTP ERL_RELEASE= R${PORTVERSION:S/.//g:tu:S/1$/-1/} USES= gmake ncurses perl5 USE_PERL5= build GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${ERLANG_DOCS}:erlangorg .endif # See http://wiki.freebsd.org/DTrace to learn how to enable DTrace # on your system. You will need to configure STRIP, WITH_CTF and # CFLAGS in your make.conf before building. # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. -.if ${OSVERSION} < 1000000 -.if ${ARCH} == "amd64" && ${PORT_OPTIONS:MDTRACE} && ! ${PORT_OPTIONS:MGCC} -IGNORE= support for DTrace on amd64 requires GCC option -.endif -.endif - .if ${PORT_OPTIONS:MGCC} USE_GCC?= yes .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--with-dynamic-trace=dtrace .else CONFIGURE_ARGS+=--without-dynamic-trace .endif .if ${PORT_OPTIONS:MOPENSSL} USES+= ssl CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+=--without-ssl .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes CONFIGURE_ARGS+=--with-javac CONFIGURE_ENV+= ac_cv_prog_JAVAC="${JAVAC}" .else CONFIGURE_ARGS+=--without-javac .endif .if ${PORT_OPTIONS:MHIPE} CONFIGURE_ARGS+=--enable-hipe .else CONFIGURE_ARGS+=--disable-hipe .endif .if ${PORT_OPTIONS:MKQUEUE} CONFIGURE_ARGS+=--enable-kernel-poll .else CONFIGURE_ARGS+=--disable-kernel-poll .endif .if ${PORT_OPTIONS:MGS} USES+= tk:run .endif .if ${PORT_OPTIONS:MWX} USE_WX= 2.8+ WX_COMPS= wx contrib CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG} .endif .if ${PORT_OPTIONS:MODBC} CONFIGURE_ARGS+=--with-odbc LIB_DEPENDS+= libodbc.so:databases/unixODBC .else CONFIGURE_ARGS+=--without-odbc .endif ERLANG_MAN= otp_doc_man_${ERL_RELEASE}.tar.gz ERLANG_DOCS= otp_doc_html_${ERL_RELEASE}.tar.gz .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--enable-threads .else CONFIGURE_ARGS+=--disable-threads .endif .if ${PORT_OPTIONS:MSCTP} CONFIGURE_ARGS+=--enable-sctp .else CONFIGURE_ARGS+=--disable-sctp .endif # enabling --enable-smp-support crashes the OS when # net_kernel:start([node_name, shortnames]) invoked repeatedly # TODO verify if it still applies .if ${PORT_OPTIONS:MSMP} CONFIGURE_ARGS+=--enable-smp-support .else CONFIGURE_ARGS+=--disable-smp-support .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif # The man-pages are put (in spite of FreeBSD's port convention) in a private # subdir. This is to avoid cluttering up the man page name space. Also the # Erlang man pages are more of internal documentation using the man format than # actual system man pages. (erl.1 and epmd.1 perhaps being the exception). # Install documentation. (HTML docs need to be in same dir as the # rest, not in share/doc/erlang as it should, because of relative # links in the documentation. pre-configure: .if ${PORT_OPTIONS:MDTRACE} @if ! /sbin/kldstat | ${GREP} dtraceall >/dev/null 2>&1; then \ ${ECHO_CMD}; \ ${ECHO_CMD} "DTRACE option requires kernel module \"dtraceall\" to be loaded."; \ ${ECHO_CMD}; \ exit 1; \ fi .endif .if ! ${PORT_OPTIONS:MWX} echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP .endif post-configure: .if ${PORT_OPTIONS:MODBC} ${RM} ${WRKSRC}/lib/odbc/SKIP .endif post-install: for SECTION in 1 3 4 6 7; do \ ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \ "man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \ done ${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat? .if ${PORT_OPTIONS:MDOCS} ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} ${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/dialyzer-*/doc/ .endif .if ! ${PORT_OPTIONS:MGS} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/gs-* .endif .if ! ${PORT_OPTIONS:MJAVA} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* .endif .if ! ${PORT_OPTIONS:MODBC} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* .endif .if ! ${PORT_OPTIONS:MOPENSSL} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* .endif .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ >> ${TMPPLIST} .include Index: head/lang/erlang-runtime17/Makefile =================================================================== --- head/lang/erlang-runtime17/Makefile (revision 430453) +++ head/lang/erlang-runtime17/Makefile (revision 430454) @@ -1,278 +1,272 @@ # Created by: ruslan@shevchenko.kiev.ua # $FreeBSD$ PORTNAME= erlang PORTVERSION= 17.5.6.9 PORTREVISION= 3 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/:erlangorg \ http://erlang.stacken.kth.se/download/:erlangorg \ http://www.csd.uu.se/ftp/mirror/erlang/download/:erlangorg PKGNAMESUFFIX= -runtime17 DISTNAME= otp_src_${ERL_RELEASE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \ ${ERLANG_MAN}:erlangorg DIST_SUBDIR= erlang EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PATCH_SITES= http://olgeni.olgeni.com/~olgeni/distfiles/ \ LOCAL/olgeni PATCHFILES= patch-otp-17.5.1 patch-otp-17.5.2 patch-otp-17.5.3 \ patch-otp-17.5.4 patch-otp-17.5.5 patch-otp-17.5.6 \ patch-otp-17.5.6.1 patch-otp-17.5.6.2 patch-otp-17.5.6.3 \ patch-otp-17.5.6.4 patch-otp-17.5.6.5 patch-otp-17.5.6.6 \ patch-otp-17.5.6.7 patch-otp-17.5.6.8 patch-otp-17.5.6.9 MAINTAINER= olgeni@FreeBSD.org COMMENT= Functional programming language from Ericsson WRKSRC= ${WRKDIR}/otp_src_${ERL_RELEASE} ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} SUB_FILES= pkg-message SUB_LIST= ERLANG_LIB=${ERLANG_LIB} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DOCS DTRACE GCC GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX DIRTY DIRTY_DESC= Enable Dirty schedulers (experimental) DTRACE_DESC= Enable DTrace support GS_DESC= Enable GS application (deprecated) HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support SCTP_DESC= Enable SCTP support SMP_DESC= Enable SMP support WX_DESC= Enable WX application OPTIONS_DEFAULT=KQUEUE OPENSSL SCTP SMP THREADS OPTIONS_EXCLUDE_DragonFly= HIPE SCTP ERL_RELEASE= 17.5 USES= gmake ncurses perl5 USE_PERL5= build GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${ERLANG_DOCS}:erlangorg .endif # See http://wiki.freebsd.org/DTrace to learn how to enable DTrace # on your system. You will need to configure STRIP, WITH_CTF and # CFLAGS in your make.conf before building. # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. -.if ${OSVERSION} < 1000000 -.if ${ARCH} == "amd64" && ${PORT_OPTIONS:MDTRACE} && ! ${PORT_OPTIONS:MGCC} -IGNORE= support for DTrace on amd64 requires GCC option -.endif -.endif - .if ${PORT_OPTIONS:MGCC} USE_GCC?= yes .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--with-dynamic-trace=dtrace .else CONFIGURE_ARGS+=--without-dynamic-trace .endif .if ${PORT_OPTIONS:MOPENSSL} USES+= ssl CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+=--without-ssl .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes CONFIGURE_ARGS+=--with-javac CONFIGURE_ENV+= ac_cv_prog_JAVAC="${JAVAC}" .else CONFIGURE_ARGS+=--without-javac .endif .if ${PORT_OPTIONS:MHIPE} CONFIGURE_ARGS+=--enable-hipe .else CONFIGURE_ARGS+=--disable-hipe .endif .if ${PORT_OPTIONS:MKQUEUE} CONFIGURE_ARGS+=--enable-kernel-poll .else CONFIGURE_ARGS+=--disable-kernel-poll .endif .if ${PORT_OPTIONS:MGS} USES+= tk:run .endif .if ${PORT_OPTIONS:MWX} USE_WX= 2.8+ WX_COMPS= wx contrib CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG} .endif .if ${PORT_OPTIONS:MODBC} CONFIGURE_ARGS+=--with-odbc LIB_DEPENDS+= libodbc.so:databases/unixODBC .else CONFIGURE_ARGS+=--without-odbc .endif ERLANG_MAN= otp_doc_man_${ERL_RELEASE}.tar.gz ERLANG_DOCS= otp_doc_html_${ERL_RELEASE}.tar.gz .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--enable-threads .else CONFIGURE_ARGS+=--disable-threads .endif .if ${PORT_OPTIONS:MSCTP} CONFIGURE_ARGS+=--enable-sctp .else CONFIGURE_ARGS+=--disable-sctp .endif # enabling --enable-smp-support crashes the OS when # net_kernel:start([node_name, shortnames]) invoked repeatedly # TODO verify if it still applies .if ${PORT_OPTIONS:MSMP} CONFIGURE_ARGS+=--enable-smp-support .else CONFIGURE_ARGS+=--disable-smp-support .endif .if ${PORT_OPTIONS:MDIRTY} CONFIGURE_ARGS+=--enable-dirty-schedulers .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif .if ${ARCH} == armv6 MAKE_ARGS+= ARCH=arm .endif # The man-pages are put (in spite of FreeBSD's port convention) in a private # subdir. This is to avoid cluttering up the man page name space. Also the # Erlang man pages are more of internal documentation using the man format than # actual system man pages. (erl.1 and epmd.1 perhaps being the exception). # Install documentation. (HTML docs need to be in same dir as the # rest, not in share/doc/erlang as it should, because of relative # links in the documentation. pre-configure: .if ${PORT_OPTIONS:MDTRACE} @if ! /sbin/kldstat | ${GREP} dtraceall >/dev/null 2>&1; then \ ${ECHO_CMD}; \ ${ECHO_CMD} "DTRACE option requires kernel module \"dtraceall\" to be loaded."; \ ${ECHO_CMD}; \ exit 1; \ fi .endif .if ! ${PORT_OPTIONS:MWX} echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP .endif post-configure: .if ${PORT_OPTIONS:MODBC} ${RM} ${WRKSRC}/lib/odbc/SKIP .endif post-install: for SECTION in 1 3 4 6 7; do \ ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \ "man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \ done ${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat? .if ${PORT_OPTIONS:MDOCS} ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/erts-6.4/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/erts-6.4.1.6 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/erts-6.4 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/inets-5.10.6/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/inets-5.10.9 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/inets-5.10.6 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssh-3.2/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssh-3.2.4 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssh-3.2 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/common_test-1.10/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/common_test-1.10.1 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/common_test-1.10 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/diameter-1.9/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/diameter-1.9.2.4 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/diameter-1.9 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/debugger-4.0.3/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/debugger-4.0.3.1 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/debugger-4.0.3 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/snmp-5.1.1/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/snmp-5.1.2 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/snmp-5.1.1 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/test_server-3.8/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/test_server-3.8.1 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/test_server-3.8 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssl-6.0/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssl-6.0.1.2 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssl-6.0 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/runtime_tools-1.8.16/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/runtime_tools-1.8.16.1 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/runtime_tools-1.8.16 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/kernel-3.2/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/kernel-3.2.0.1 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/kernel-3.2 ${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/dialyzer-*/doc/ .endif .if ! ${PORT_OPTIONS:MGS} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/gs-* .endif .if ! ${PORT_OPTIONS:MJAVA} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* .endif .if ! ${PORT_OPTIONS:MODBC} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* .endif .if ! ${PORT_OPTIONS:MOPENSSL} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* .endif .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ >> ${TMPPLIST} .include Index: head/lang/erlang-runtime18/Makefile =================================================================== --- head/lang/erlang-runtime18/Makefile (revision 430453) +++ head/lang/erlang-runtime18/Makefile (revision 430454) @@ -1,256 +1,250 @@ # Created by: ruslan@shevchenko.kiev.ua # $FreeBSD$ PORTNAME= erlang PORTVERSION= 18.3.4.4 PORTREVISION= 1 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/:erlangorg \ http://erlang.stacken.kth.se/download/:erlangorg \ http://www.csd.uu.se/ftp/mirror/erlang/download/:erlangorg PKGNAMESUFFIX= -runtime18 DISTNAME= otp_src_${ERL_RELEASE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \ ${ERLANG_MAN}:erlangorg DIST_SUBDIR= erlang EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PATCH_SITES= http://olgeni.olgeni.com/~olgeni/distfiles/ \ LOCAL/olgeni PATCHFILES= patch-otp-18.3.1 patch-otp-18.3.2 patch-otp-18.3.3 \ patch-otp-18.3.4 patch-otp-18.3.4.1 patch-otp-18.3.4.2 \ patch-otp-18.3.4.3 patch-otp-18.3.4.4 MAINTAINER= olgeni@FreeBSD.org COMMENT= Functional programming language from Ericsson LICENSE= APACHE20 WRKSRC= ${WRKDIR}/otp_src_${ERL_RELEASE} ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} SUB_FILES= pkg-message SUB_LIST= ERLANG_LIB=${ERLANG_LIB} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DOCS DTRACE GCC GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX DIRTY DIRTY_DESC= Enable Dirty schedulers (experimental) DTRACE_DESC= Enable DTrace support GS_DESC= Enable GS application (deprecated) HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support SCTP_DESC= Enable SCTP support SMP_DESC= Enable SMP support WX_DESC= Enable WX application OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS OPTIONS_EXCLUDE_DragonFly= HIPE SCTP ERL_RELEASE= 18.3 USES= gmake ncurses perl5 USE_PERL5= build GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${ERLANG_DOCS}:erlangorg .endif # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. -.if ${OSVERSION} < 1000000 -.if ${ARCH} == "amd64" && ${PORT_OPTIONS:MDTRACE} && ! ${PORT_OPTIONS:MGCC} -IGNORE= support for DTrace on amd64 requires GCC option -.endif -.endif - .if ${PORT_OPTIONS:MGCC} USE_GCC?= yes .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--with-dynamic-trace=dtrace CFLAGS+= -fno-omit-frame-pointer STRIP= .else CONFIGURE_ARGS+=--without-dynamic-trace .endif .if ${PORT_OPTIONS:MOPENSSL} USES+= ssl CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+=--without-ssl .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes CONFIGURE_ARGS+=--with-javac CONFIGURE_ENV+= ac_cv_prog_JAVAC="${JAVAC}" .else CONFIGURE_ARGS+=--without-javac .endif .if ${PORT_OPTIONS:MHIPE} CONFIGURE_ARGS+=--enable-hipe .else CONFIGURE_ARGS+=--disable-hipe .endif .if ${PORT_OPTIONS:MKQUEUE} CONFIGURE_ARGS+=--enable-kernel-poll .else CONFIGURE_ARGS+=--disable-kernel-poll .endif .if ${PORT_OPTIONS:MGS} USES+= tk:run .endif .if ${PORT_OPTIONS:MWX} USE_WX= 2.8+ WX_COMPS= wx contrib CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG} .endif .if ${PORT_OPTIONS:MODBC} CONFIGURE_ARGS+=--with-odbc LIB_DEPENDS+= libodbc.so:databases/unixODBC .else CONFIGURE_ARGS+=--without-odbc .endif ERLANG_MAN= otp_doc_man_${ERL_RELEASE}.tar.gz ERLANG_DOCS= otp_doc_html_${ERL_RELEASE}.tar.gz .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--enable-threads .else CONFIGURE_ARGS+=--disable-threads .endif .if ${PORT_OPTIONS:MSCTP} CONFIGURE_ARGS+=--enable-sctp .else CONFIGURE_ARGS+=--disable-sctp .endif # enabling --enable-smp-support crashes the OS when # net_kernel:start([node_name, shortnames]) invoked repeatedly # TODO verify if it still applies .if ${PORT_OPTIONS:MSMP} CONFIGURE_ARGS+=--enable-smp-support .else CONFIGURE_ARGS+=--disable-smp-support .endif .if ${PORT_OPTIONS:MDIRTY} CONFIGURE_ARGS+=--enable-dirty-schedulers .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif .if ${ARCH} == armv6 MAKE_ARGS+= ARCH=arm .endif # The man-pages are put (in spite of FreeBSD's port convention) in a private # subdir. This is to avoid cluttering up the man page name space. Also the # Erlang man pages are more of internal documentation using the man format than # actual system man pages. (erl.1 and epmd.1 perhaps being the exception). # Install documentation. (HTML docs need to be in same dir as the # rest, not in share/doc/erlang as it should, because of relative # links in the documentation. pre-configure: .if ${PORT_OPTIONS:MDTRACE} @if ! /sbin/kldstat | ${GREP} dtraceall >/dev/null 2>&1; then \ ${ECHO_CMD}; \ ${ECHO_CMD} "DTRACE option requires kernel module \"dtraceall\" to be loaded."; \ ${ECHO_CMD}; \ exit 1; \ fi .endif .if ! ${PORT_OPTIONS:MWX} echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP .endif post-configure: .if ${PORT_OPTIONS:MODBC} ${RM} ${WRKSRC}/lib/odbc/SKIP .endif post-install: for SECTION in 1 3 4 6 7; do \ ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \ "man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \ done ${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat? .if ${PORT_OPTIONS:MDOCS} ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/erts-7.3/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/erts-7.3.1.2 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/erts-7.3 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/inets-6.2/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/inets-6.2.4 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/inets-6.2 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/mnesia-4.13.3/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/mnesia-4.13.4 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/mnesia-4.13.3 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssl-7.3/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssl-7.3.3.1 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssl-7.3 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/common_test-1.12/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/common_test-1.12.1.1 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/common_test-1.12 ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssh-4.2.2/* \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssh-4.2.2.2 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/ssh-4.2.2 ${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/dialyzer-*/doc/ .endif .if ! ${PORT_OPTIONS:MGS} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/gs-* .endif .if ! ${PORT_OPTIONS:MJAVA} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* .endif .if ! ${PORT_OPTIONS:MODBC} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* .endif .if ! ${PORT_OPTIONS:MOPENSSL} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* .endif .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ >> ${TMPPLIST} .include Index: head/lang/erlang-runtime19/Makefile =================================================================== --- head/lang/erlang-runtime19/Makefile (revision 430453) +++ head/lang/erlang-runtime19/Makefile (revision 430454) @@ -1,253 +1,247 @@ # Created by: ruslan@shevchenko.kiev.ua # $FreeBSD$ PORTNAME= erlang PORTVERSION= 19.2 PORTREVISION= 2 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/:erlangorg \ http://erlang.stacken.kth.se/download/:erlangorg \ http://www.csd.uu.se/ftp/mirror/erlang/download/:erlangorg PKGNAMESUFFIX= -runtime19 DISTNAME= otp_src_${ERL_RELEASE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \ ${ERLANG_MAN}:erlangorg DIST_SUBDIR= erlang EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PATCH_SITES= http://olgeni.olgeni.com/~olgeni/distfiles/ \ LOCAL/olgeni PATCHFILES= MAINTAINER= olgeni@FreeBSD.org COMMENT= Functional programming language from Ericsson LICENSE= APACHE20 BROKEN_sparc64= Fails to build: error: fp_except undeclared WRKSRC= ${WRKDIR}/otp_src_${ERL_RELEASE} ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} SUB_FILES= pkg-message SUB_LIST= ERLANG_LIB=${ERLANG_LIB} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DIRTY DOCS DTRACE GS HIPE JAVA KQUEUE NATIVE ODBC OPENSSL SCTP SMP THREADS WX DIRTY_DESC= Enable Dirty schedulers (experimental) DTRACE_DESC= Enable DTrace support GS_DESC= Enable GS application (deprecated) HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support NATIVE_DESC= Enable native libraries SCTP_DESC= Enable SCTP support SMP_DESC= Enable SMP support WX_DESC= Enable WX application NATIVE_IMPLIES= HIPE OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS DTRACE OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_FreeBSD_9= DTRACE OPTIONS_EXCLUDE_FreeBSD_10= DTRACE OPTIONS_EXCLUDE_i386= DTRACE ERL_RELEASE= 19.2 USES= gmake ncurses perl5 USE_PERL5= build GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${ERLANG_DOCS}:erlangorg .endif # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. -.if ${OSVERSION} < 1000000 -.if ${ARCH} == "amd64" && ${PORT_OPTIONS:MDTRACE} -IGNORE= support for DTrace on amd64 requires at least FreeBSD 10 -.endif -.endif - .if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000 CFLAGS+= -DMAP_NORESERVE=0 .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--with-dynamic-trace=dtrace CFLAGS+= -fno-omit-frame-pointer STRIP= .else CONFIGURE_ARGS+=--without-dynamic-trace .endif .if ${PORT_OPTIONS:MOPENSSL} USES+= ssl CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+=--without-ssl .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes CONFIGURE_ARGS+=--with-javac CONFIGURE_ENV+= ac_cv_prog_JAVAC="${JAVAC}" .else CONFIGURE_ARGS+=--without-javac .endif .if ${PORT_OPTIONS:MHIPE} CONFIGURE_ARGS+=--enable-hipe .else CONFIGURE_ARGS+=--disable-hipe .endif .if ${PORT_OPTIONS:MNATIVE} CONFIGURE_ARGS+=--enable-native-libs .else CONFIGURE_ARGS+=--disable-native-libs .endif .if ${PORT_OPTIONS:MKQUEUE} CONFIGURE_ARGS+=--enable-kernel-poll .else CONFIGURE_ARGS+=--disable-kernel-poll .endif .if ${PORT_OPTIONS:MGS} USES+= tk:run .endif .if ${PORT_OPTIONS:MWX} USE_WX= 2.8+ WX_COMPS= wx contrib CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG} USE_GL+= gl glu .endif .if ${PORT_OPTIONS:MODBC} CONFIGURE_ARGS+=--with-odbc LIB_DEPENDS+= libodbc.so:databases/unixODBC .else CONFIGURE_ARGS+=--without-odbc .endif ERLANG_MAN= otp_doc_man_${ERL_RELEASE}.tar.gz ERLANG_DOCS= otp_doc_html_${ERL_RELEASE}.tar.gz .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--enable-threads .else CONFIGURE_ARGS+=--disable-threads .endif .if ${PORT_OPTIONS:MSCTP} CONFIGURE_ARGS+=--enable-sctp .else CONFIGURE_ARGS+=--disable-sctp .endif # enabling --enable-smp-support crashes the OS when # net_kernel:start([node_name, shortnames]) invoked repeatedly # TODO verify if it still applies .if ${PORT_OPTIONS:MSMP} CONFIGURE_ARGS+=--enable-smp-support .else CONFIGURE_ARGS+=--disable-smp-support .endif .if ${PORT_OPTIONS:MDIRTY} CONFIGURE_ARGS+=--enable-dirty-schedulers .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif .if ${ARCH} == armv6 MAKE_ARGS+= ARCH=arm .endif # The man-pages are put (in spite of FreeBSD's port convention) in a private # subdir. This is to avoid cluttering up the man page name space. Also the # Erlang man pages are more of internal documentation using the man format than # actual system man pages. (erl.1 and epmd.1 perhaps being the exception). # Install documentation. (HTML docs need to be in same dir as the # rest, not in share/doc/erlang as it should, because of relative # links in the documentation. pre-configure: .if ! ${PORT_OPTIONS:MWX} echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP .endif post-configure: .if ${PORT_OPTIONS:MODBC} ${RM} ${WRKSRC}/lib/odbc/SKIP .endif .if ${PORT_OPTIONS:MNATIVE} pre-build: @cd ${WRKSRC} && ${MAKE_CMD} clean .endif post-install: for SECTION in 1 3 4 6 7; do \ ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \ "man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \ done ${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat? .if ${PORT_OPTIONS:MDOCS} ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \ -C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} ${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/dialyzer-*/doc/ .endif .if ! ${PORT_OPTIONS:MGS} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/gs-* .endif .if ! ${PORT_OPTIONS:MJAVA} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* .endif .if ! ${PORT_OPTIONS:MODBC} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* .endif .if ! ${PORT_OPTIONS:MOPENSSL} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* .endif .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ >> ${TMPPLIST} .include .if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel} BROKEN= Does not build with openssl-devel .endif .include Index: head/lang/libjit/Makefile =================================================================== --- head/lang/libjit/Makefile (revision 430453) +++ head/lang/libjit/Makefile (revision 430454) @@ -1,42 +1,39 @@ # Created by: michael johnson # $FreeBSD$ PORTNAME= libjit PORTVERSION= 0.1.2 PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= SAVANNAH/dotgnu-pnet/libjit-releases MAINTAINER= ports@FreeBSD.org COMMENT= Libjit implements Just-In-Time compilation functionality LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual USES= pathfix gmake libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes CFLAGS+= -O0 INSTALL_TARGET= install-strip INFO= libjit DEPRECATED= This version is severely out of date and its use is discouraged; see http://www.gnu.org/software/libjit/ EXPIRATION_DATE= 2017-02-13 BROKEN_aarch64= Fails to compile: error: use of unknown builtin __builtin_apply_args BROKEN_powerpc= Fails to compile: invokes i386 asm BROKEN_powerpc64= Does not build BROKEN_sparc64= Fails to compile: internal gcc error +BROKEN_i386= Segfault during build -.include +.include -.if ${ARCH} == i386 && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 -BROKEN= Segfault during build -.endif - post-patch: @${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \ ${WRKSRC}/config.h.in -.include +.include Index: head/lang/racket-minimal/Makefile =================================================================== --- head/lang/racket-minimal/Makefile (revision 430453) +++ head/lang/racket-minimal/Makefile (revision 430454) @@ -1,64 +1,60 @@ # Created by: Joseph Koshy # $FreeBSD$ PORTNAME= racket PORTVERSION= 6.7 CATEGORIES= lang scheme MASTER_SITES= http://mirror.racket-lang.org/installers/${PORTVERSION}/ \ http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \ http://www.eecs.northwestern.edu/racket/${PORTVERSION}/ \ http://mirror.csclub.uwaterloo.ca/racket/racket-installers/${PORTVERSION}/ \ http://mirror.informatik.uni-tuebingen.de/mirror/racket/${PORTVERSION}/ \ http://racket.infogroep.be/${PORTVERSION}/ PKGNAMESUFFIX= -minimal DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}-src-builtpkgs DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Interactive, integrated, graphical Scheme programming environment LICENSE= LGPL3 LIB_DEPENDS= libffi.so:devel/libffi BROKEN_aarch64= does not build: error: Unported platform BROKEN_sparc64= does not build +BROKEN_i386= does not build on i386 (Seg fault (internal error) at 0x606060a) + MAKE_JOBS_UNSAFE=yes CONFLICTS= racket-[0-9]* GNU_CONFIGURE= yes CONFIGURE_ARGS= -enable-libffi --enable-pthread --enable-places --enable-shared CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src PATCH_WRKSRC= ${WRKDIR}/racket-${PORTVERSION} USES= iconv libtool tar:tgz USE_LDCONFIG= yes REINPLACE_ARGS= -i "" OPTIONS_DEFINE= FUTURES OPTIONS_DEFAULT=FUTURES OPTIONS_DEFINE_amd64= JIT OPTIONS_DEFINE_i386= JIT OPTIONS_DEFAULT_amd64= JIT OPTIONS_DEFAULT_i386= JIT FUTURES_DESC= Enable futures JIT_DESC= Enable JIT compiler JIT_CFLAGS= -msse -msse2 -mfpmath=sse FUTURES_CONFIGURE_ENABLE= futures JIT_CONFIGURE_ENABLE= jit post-install: ${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${ARCH} == i386 -BROKEN= does not build on i386 (Seg fault (internal error) at 0x606060a) -.endif - -.include +.include Index: head/lang/spidermonkey170/Makefile =================================================================== --- head/lang/spidermonkey170/Makefile (revision 430453) +++ head/lang/spidermonkey170/Makefile (revision 430454) @@ -1,88 +1,85 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= spidermonkey170 PORTVERSION= 17.0.0 PORTREVISION= 3 CATEGORIES= lang MASTER_SITES= MOZILLA/js DISTNAME= mozjs${PORTVERSION} MAINTAINER= kwm@FreeBSD.org COMMENT= Standalone JavaScript based from Mozilla 17-esr BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libnspr4.so:devel/nspr CONFLICTS= njs-[0-9]* GNU_CONFIGURE= yes USES= gmake pathfix perl5 python:2,build USE_PERL5= build USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/mozjs${PORTVERSION}/js/src CONFIGURE_ARGS= --with-pthreads \ --with-system-nspr OPTIONS_DEFINE= DEBUG DTRACE GCZEAL JEMALLOC METHODJIT OPTIMIZE READLINE \ THREADSAFE TRACEJIT UTF8 OPTIONS_DEFAULT= METHODJIT OPTIMIZE READLINE THREADSAFE TRACEJIT OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debug debug-symbols DEBUG_CONFIGURE_DISABLE=debug DTRACE_DESC= Build with DTrace probes # move to bsd.options.desc.mk DTRACE_CONFIGURE_ENABLE=dtrace profiling DTRACE_LIBS= -lelf GCZEAL_DESC= Enable Zealous garbage collecting GCZEAL_CONFIGURE_ENABLE=gczeal JEMALLOC_DESC= Use jemalloc as memory allocator JEMALLOC_CONFIGURE_ENABLE= jemalloc METHODJIT_DESC= Enable method JIT support METHODJIT_CONFIGURE_ENABLE= methodjit OPTIMIZE_DESC= Enable compiler optimizations OPTIMIZE_CONFIGURE_ENABLE= optimize READLINE_DESC= Link js shell to system readline library READLINE_CONFIGURE_ENABLE= readline READLINE_USES= readline THREADSAFE_DESC= Enable multiple thread support THREADSAFE_CONFIGURE_ENABLE= threadsafe TRACEJIT_DESC= Enable tracing JIT support TRACEJIT_CONFIGURE_ENABLE= tracejit UTF8_DESC= Treat strings as UTF8 instead of ISO-8859-1 UTF8_CFLAGS= -DJS_C_STRINGS_ARE_UTF8 .include CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MDTRACE} -. if ${OSVERSION} < 1000510 -BROKEN= dtrace -G crashes with C++ object files -. endif STRIP_CMD= ${TRUE} .endif # ARM needs GCC until https://llvm.org/bugs/show_bug.cgi?id=23244 is fixed .if ${ARCH} == "armv6" USE_GCC= yes .endif regression-test: build @${ECHO_MSG} -n "===> Running jstests.py: " @cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} tests/jstests.py \ --no-progress ./js17 .if ${PORT_OPTIONS:MMETHODJIT} || ${PORT_OPTIONS:MTRACEJIT} @${ECHO_MSG} -n "===> Running jit_test.py: " @cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} jit-test/jit_test.py \ --no-progress --jitflags=,m,j,mj,mjp,am,amj,amjp,amd ./js17 .endif post-install: ${LN} -s libmozjs-17.0.so ${STAGEDIR}${PREFIX}/lib/libmozjs-17.0.so.1 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js17 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-17.0.* .include Index: head/lang/spidermonkey24/Makefile =================================================================== --- head/lang/spidermonkey24/Makefile (revision 430453) +++ head/lang/spidermonkey24/Makefile (revision 430454) @@ -1,84 +1,80 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= spidermonkey24 PORTVERSION= 24.2.0 PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= MOZILLA/js #http://people.mozilla.org/~sstangl/ DISTNAME= mozjs-${PORTVERSION} MAINTAINER= kwm@FreeBSD.org COMMENT= Standalone JavaScript based from Mozilla 24-esr BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libnspr4.so:devel/nspr CONFLICTS= njs-[0-9]* GNU_CONFIGURE= yes USES= compiler:c++11-lib gmake pathfix perl5 python:2,build \ readline tar:bzip2 USE_PERL5= build USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/mozjs-${PORTVERSION}/js/src CONFIGURE_ARGS= --with-pthreads \ --with-system-nspr OPTIONS_DEFINE= DEBUG GCZEAL JEMALLOC METHODJIT OPTIMIZE READLINE \ THREADSAFE TRACEJIT UTF8 DTRACE OPTIONS_DEFAULT= METHODJIT OPTIMIZE READLINE THREADSAFE TRACEJIT OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debug debug-symbols DEBUG_CONFIGURE_DISABLE=debug DTRACE_CONFIGURE_ENABLE=dtrace profiling DTRACE_LIBS= -lelf GCZEAL_DESC= Enable Zealous garbage collecting GCZEAL_CONFIGURE_ENABLE=gczeal JEMALLOC_DESC= Use jemalloc as memory allocator JEMALLOC_CONFIGURE_ENABLE= jemalloc METHODJIT_DESC= Enable method JIT support METHODJIT_CONFIGURE_ENABLE= methodjit OPTIMIZE_DESC= Enable compiler optimizations OPTIMIZE_CONFIGURE_ENABLE= optimize READLINE_DESC= Link js shell to system readline library READLINE_CONFIGURE_ENABLE= readline THREADSAFE_DESC= Enable multiple thread support THREADSAFE_CONFIGURE_ENABLE= threadsafe TRACEJIT_DESC= Enable tracing JIT support TRACEJIT_CONFIGURE_ENABLE= tracejit UTF8_DESC= Treat strings as UTF8 instead of ISO-8859-1 UTF8_CFLAGS= -DJS_C_STRINGS_ARE_UTF8 .include .if ${ARCH} == amd64 CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} .endif -.if ${PORT_OPTIONS:MDTRACE} && ${OSVERSION} < 1000510 -BROKEN= dtrace -G crashes with C++ object files -.endif - regression-test: build @${ECHO_MSG} -n "===> Running jstests.py: " @cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} tests/jstests.py \ --no-progress ./js24 .if ${PORT_OPTIONS:MMETHODJIT} || ${PORT_OPTIONS:MTRACEJIT} @${ECHO_MSG} -n "===> Running jit_test.py: " @cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} jit-test/jit_test.py \ --no-progress --jitflags=,m,j,mj,mjp,am,amj,amjp,amd ./js24 .endif post-install: ${LN} -s libmozjs-24.so ${STAGEDIR}${PREFIX}/lib/libmozjs-24.so.1 .if ! ${PORT_OPTIONS:MDTRACE} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js24 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-24.* .endif .include Index: head/lang/swift/Makefile =================================================================== --- head/lang/swift/Makefile (revision 430453) +++ head/lang/swift/Makefile (revision 430454) @@ -1,108 +1,105 @@ # $FreeBSD$ PORTNAME= swift PORTVERSION= 2.2.1 PORTREVISION= 4 CATEGORIES= lang MAINTAINER= swills@FreeBSD.org COMMENT= Swift programing language LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/swift/LICENSE.txt BUILD_DEPENDS= cmake:devel/cmake \ bash:shells/bash \ swig:devel/swig13 \ python:lang/python \ sphinx-build:textproc/py-sphinx \ binutils>=2.25.1:devel/binutils LIB_DEPENDS= libicudata.so:devel/icu \ libuuid.so:misc/e2fsprogs-libuuid USE_GITHUB= yes GH_ACCOUNT= apple:DEFAULT,llvm,clang,lldb,cmark,llbuild,swiftpm,xctest,xcfound GH_PROJECT= swift:DEFAULT swift-llvm:llvm swift-clang:clang swift-lldb:lldb \ swift-cmark:cmark swift-llbuild:llbuild swift-package-manager:swiftpm \ swift-corelibs-xctest:xctest swift-corelibs-foundation:xcfound GH_TAGNAME= swift-${PORTVERSION}-RELEASE:DEFAULT,llvm,clang,lldb,cmark \ swift-DEVELOPMENT-SNAPSHOT-2016-05-03-a:llbuild,swiftpm,xctest,xcfound GH_SUBDIR= llvm:llvm clang:clang lldb:lldb cmark:cmark llbuild:llbuild \ swiftpm:swiftpm swift-corelibs-xctest:xctest \ swift-corelibs-foundation:xcfound WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= iconv libedit ninja perl5 pkgconfig python:3,build sqlite USE_GNOME= libxml2 USE_LDCONFIG= yes ONLY_FOR_ARCHS= amd64 CONFLICTS_BUILD= googletest OPTIONS_DEFINE= DOCS PORTDOCS= * .include .if ${OPSYS} == FreeBSD .if (${OSVERSION} < 1002000) || (${OSVERSION} < 1100079) BUILD_DEPENDS+= clang38:devel/llvm38 EXTRA_FLAGS= --host-cc=${LOCALBASE}/bin/clang38 --host-cxx=${LOCALBASE}/bin/clang++38 .endif -.if (${OSVERSION} < 1001513) -BROKEN= Does not build -.endif .endif post-extract: @${MKDIR} ${WRKSRC} @${MV} ${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}-RELEASE ${WRKSRC}/swift post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/swift/cmake/modules/SwiftSharedCMakeConfig.cmake do-build: @${MKDIR} ${STAGEDIR}${PREFIX} cd ${WRKSRC}/swift; ${SETENV} PATH=${LOCALBASE}/bin:${PATH} \ CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \ CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \ CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}" \ LDFLAGS='-B${LOCALBASE}/bin -fuse-ld=bfd' \ install_destdir=${STAGEDIR} \ ./utils/build-script -R --no-assertions \ --llbuild \ -- \ ${EXTRA_FLAGS} \ --verbose-build \ --swift-runtime-enable-dtrace \ --install-swift \ --install-llbuild \ --install_prefix=${PREFIX} \ --install_destdir=${STAGEDIR} \ --swift-install-components='compiler;clang-builtin-headers;stdlib;sdk-overlay;license;tools;editor-integration' \ --build-swift-static-stdlib=1 \ --skip-test-lldb=1 @${RM} /var/run/libuuid/clock.txt /var/run/libuuid/request /var/run/libuuid/uuidd.pid do-install: ${MV} ${STAGEDIR}${PREFIX}/share/man/man1/swift.1 ${STAGEDIR}${PREFIX}/man/man1/swift.1 ${RM} -r ${STAGEDIR}${PREFIX}/share/man ${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/man1/swift.1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/swift/freebsd/libswiftGlibc.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/swift/freebsd/libswiftCore.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-compress ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sil-extract ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-ide-test ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-llvm-opt ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-build-tool ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-demangle ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sil-opt do-install-DOCS-on: cd ${WRKSRC}/build/Ninja-Release/swift-freebsd-x86_64/docs/html ; \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include Index: head/lang/yabasic/Makefile =================================================================== --- head/lang/yabasic/Makefile (revision 430453) +++ head/lang/yabasic/Makefile (revision 430454) @@ -1,45 +1,39 @@ # Created by: Frank Gruender # $FreeBSD$ PORTNAME= yabasic PORTVERSION= 2.769 CATEGORIES= lang MASTER_SITES= http://www.yabasic.de/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Yet another Basic for Unix and Windows LICENSE= ART10 GPLv2 LICENSE_COMB= multi USES= bison ncurses GNU_CONFIGURE= yes USE_XORG= ice sm x11 PORTDOCS= yabasic.htm PLIST_FILES= bin/yabasic man/man1/yabasic.1.gz OPTIONS_DEFINE= DOCS -.include - -.if ${ARCH} == "amd64" && ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -BROKEN= all tests end up with segfault on FreeBSD < 10.x amd64 -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|= -DUNIX|= @X_CFLAGS@ -DUNIX|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|-R$$x_libraries||' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/Intrinsic.h/d' ${WRKSRC}/yabasic.h post-build test: @(cd ${WRKSRC} && ${DO_MAKE_BUILD} check) post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/math/octave-forge-image/Makefile =================================================================== --- head/math/octave-forge-image/Makefile (revision 430453) +++ head/math/octave-forge-image/Makefile (revision 430454) @@ -1,38 +1,32 @@ # Created by: Stephen Montgomery-Smith # $FreeBSD$ PORTNAME= octave-forge-image PORTVERSION= 2.6.1 PORTREVISION= 1 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= Many LICENSE_NAME= Many different licenses LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept # OCTSRC is the name of the directory of the package. # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. OCTSRC= ${DISTNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src USES= compiler:c++0x GNU_CONFIGURE= yes .include "${.CURDIR}/../../Mk/bsd.octave.mk" post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} -.include - -.if ${OSVERSION} < 1000000 -BROKEN= Doesn't build on FreeBSD 9 or older -.endif - -.include +.include Index: head/math/octave-forge-level-set/Makefile =================================================================== --- head/math/octave-forge-level-set/Makefile (revision 430453) +++ head/math/octave-forge-level-set/Makefile (revision 430454) @@ -1,36 +1,30 @@ # Created by: Stephen Montgomery-Smith # $FreeBSD$ PORTNAME= octave-forge-level-set PORTVERSION= 0.3.0 PORTREVISION= 2 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= GPLv3 ALL_TARGET= oct USES= compiler:c++0x GNU_CONFIGURE= yes # OCTSRC is the name of the directory of the package. # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. OCTSRC= ${OCTAVE_PKGNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src .include "${.CURDIR}/../../Mk/bsd.octave.mk" post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} -.include - -.if ${OSVERSION} < 1000000 -BROKEN= Doesn't build on FreeBSD 9 or older -.endif - -.include +.include Index: head/math/octave-forge-tisean/Makefile =================================================================== --- head/math/octave-forge-tisean/Makefile (revision 430453) +++ head/math/octave-forge-tisean/Makefile (revision 430454) @@ -1,37 +1,31 @@ # Created by: Stephen Montgomery-Smith # $FreeBSD$ PORTNAME= octave-forge-tisean PORTVERSION= 0.2.3 PORTREVISION= 1 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= GPLv3 LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING RUN_DEPENDS+= ${TARBALLS_DIR}/signal.tar.gz:math/octave-forge-signal # OCTSRC is the name of the directory of the package. # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. OCTSRC= ${DISTNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src GNU_CONFIGURE= yes .include "${.CURDIR}/../../Mk/bsd.octave.mk" post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} -.include - -.if ${OSVERSION} < 1000000 -BROKEN= Doesn't build on FreeBSD 9 or older -.endif - -.include +.include Index: head/misc/compat10x/Makefile =================================================================== --- head/misc/compat10x/Makefile (revision 430453) +++ head/misc/compat10x/Makefile (revision 430454) @@ -1,39 +1,35 @@ # $FreeBSD$ PORTNAME= compat10x PORTVERSION= 10.3.1003000.20161027 CATEGORIES= misc MASTER_SITES= LOCAL/des PKGNAMESUFFIX= -${ARCH} DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION} MAINTAINER= des@FreeBSD.org COMMENT= Convenience package to install the compat10x libraries USES= tar:xz NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 PLIST= ${PKGDIR}/pkg-plist.${ARCH} TARGET_DIR= ${PREFIX}/lib/compat TARGET32_DIR= ${PREFIX}/lib32/compat USE_LDCONFIG= ${TARGET_DIR} .include -.if ${OSVERSION} < 1000000 -IGNORE= is for FreeBSD 10.x and newer -.endif - .if ${ARCH} == amd64 USE_LDCONFIG32= ${TARGET32_DIR} .endif do-install: @${MKDIR} -m 0755 ${STAGEDIR}${TARGET_DIR} (cd ${WRKSRC}/lib && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET_DIR}) .if ${ARCH} == amd64 @${MKDIR} ${STAGEDIR}${TARGET32_DIR} (cd ${WRKSRC}/lib32 && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET32_DIR}) .endif .include Index: head/misc/compat8x/Makefile =================================================================== --- head/misc/compat8x/Makefile (revision 430453) +++ head/misc/compat8x/Makefile (revision 430454) @@ -1,43 +1,39 @@ # $FreeBSD$ PORTNAME= compat8x PORTVERSION= 8.4.804000.20151116 CATEGORIES= misc MASTER_SITES= LOCAL/des PKGNAMESUFFIX= -${ARCH} DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION} MAINTAINER= des@FreeBSD.org COMMENT= Convenience package to install the compat8x libraries USES= tar:xz NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 PLIST= ${PKGDIR}/pkg-plist.${ARCH} TARGET_DIR= ${PREFIX}/lib/compat TARGET32_DIR= ${PREFIX}/lib32/compat USE_LDCONFIG= ${TARGET_DIR} .include -.if ${OSVERSION} < 800000 -IGNORE= is for FreeBSD 8.x and newer -.endif - .if ${OSVERSION} >= 1000000 RUN_DEPENDS= compat9x-${ARCH}>=0:misc/compat9x .endif .if ${ARCH} == amd64 USE_LDCONFIG32= ${TARGET32_DIR} .endif do-install: @${MKDIR} -m 0755 ${STAGEDIR}${TARGET_DIR} (cd ${WRKSRC}/lib && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET_DIR}) .if ${ARCH} == amd64 @${MKDIR} ${STAGEDIR}${TARGET32_DIR} (cd ${WRKSRC}/lib32 && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET32_DIR}) .endif .include Index: head/misc/freebsd-doc-en/Makefile =================================================================== --- head/misc/freebsd-doc-en/Makefile (revision 430453) +++ head/misc/freebsd-doc-en/Makefile (revision 430454) @@ -1,105 +1,101 @@ # Created by: Marc Fonvieille # $FreeBSD$ PORTNAME= freebsd-doc PORTVERSION= 49749 PORTEPOCH= 1 CATEGORIES= misc docs MASTER_SITES= LOCAL/blackend PKGNAMEPREFIX?= en- MAINTAINER= doceng@FreeBSD.org COMMENT?= Documentation from the FreeBSD Documentation Project BUILD_DEPENDS= docproj>=2.0_6:textproc/docproj USES= uidfix WRKSRC= ${WRKDIR}/doc PLIST_SUB= DOCSDIR=${DOCBASE} \ DOCLANG=${DOCLANG} \ DOCLANG_PREFIX=${DOCLANG_PREFIX} MAKE_ARGS= FORMATS="${DOCFORMAT}" \ DOC_LANG="${DOCLANG}" \ INSTALL_COMPRESSED= \ DOCDIR=${STAGEDIR}${PREFIX}/${DOCBASE} \ DOCOWN=${SHAREOWN} \ DOCGRP=${SHAREGRP} MAKE_JOBS_UNSAFE= yes NO_ARCH= yes # To populate correctly the stage directory TMPDESTDIR= ${STAGEDIR}${DESTDIR}/${PREFIX}/${DOCBASE} DESTDIRNAME= TMPDESTDIR PLIST= ${WRKDIR}/pkg-plist DOCLANG?= en_US.ISO8859-1 DOCLANG_PREFIX?= ${DOCLANG:C/_.*$//} DOCBASE?= share/doc/freebsd AVAILABLEFORMATS= HTML HTML_SPLIT PDF PS TXT OPTIONS_DEFINE= ${AVAILABLEFORMATS} OPTIONS_DEFAULT= HTML_SPLIT PDF HTML_DESC= Single HTML file per document HTML_SPLIT_DESC= The default HTML format used on www.FreeBSD.org PDF_DESC= PDF format PS_DESC= PostScript format TXT_DESC= Plain text # if PACKAGE_BUILDING=yes, enable all of $AVAILABLEFORMATS. .if defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= ${AVAILABLEFORMATS} .endif .include -.if defined(PACKAGE_BUILDING) && ${OSVERSION} < 1000000 && ${ARCH} == i386 -IGNORE= fails to build on the package builders in 9.x i386 jails due to java exceptions -.endif - .for O in ${AVAILABLEFORMATS} .if ${PORT_OPTIONS:M${O}} DOCFORMAT+= ${O:tl:S,_,-,} PLIST_FORMATS+= ${O:tl:S,_,-,} .endif .endfor .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MPS} BUILD_DEPENDS+= fop:textproc/fop \ ${LOCALBASE}/share/fonts/GentiumPlus/GentiumPlus-R.ttf:x11-fonts/gentium-plus \ ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf \ ${LOCALBASE}/share/fonts/Lohit/Lohit-Bengali.ttf:x11-fonts/lohit \ ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu \ ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:chinese/arphicttf \ ${LOCALBASE}/share/fonts/OTF/ipam.otf:japanese/font-ipa \ ${LOCALBASE}/share/fonts/nanum-ttf/NanumBarunGothic.ttf:korean/nanumfonts-ttf .endif # when html or html-split is defined as the format, add HTML_COMMON. .if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MHTML_SPLIT} PLIST_FORMATS+= html-common .endif # example files, scripts, etc. coming with the doc and common # directories for all formats. PLIST_FORMATS+= extras common pre-build: .for i in ${PLIST_FORMATS:S,^,${.CURDIR}/pkg-plist.,} if ${TEST} -f ${i}; then \ ${CAT} ${i} >> ${PLIST}; \ fi .endfor # For HTML files, images links are hardcoded during the build # with absolute pathnames. Make these pathnames relative. post-build: .if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MHTML_SPLIT} ${FIND} ${WRKSRC} -name "*.html" -exec \ ${REINPLACE_CMD} -e 's,img src=\"${WRKSRC}.*share/images,img src=\"../..,g' {} \; ${FIND} ${WRKSRC} -name "*.html" -exec \ ${REINPLACE_CMD} -e 's,img src=\"${WRKSRC}.*imagelib,img src=\"imagelib,g' {} \; .endif .include Index: head/misc/rump/Makefile =================================================================== --- head/misc/rump/Makefile (revision 430453) +++ head/misc/rump/Makefile (revision 430454) @@ -1,36 +1,32 @@ # Created by: vanilla # $FreeBSD$ PORTNAME= rump PORTVERSION= 20131213 PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/stacktic/ DISTNAME= buildrump-${PORTVERSION} MAINTAINER= vanilla@FreeBSD.org COMMENT= Virtualized NetBSD kernel components in userspace LICENSE= BSD2CLAUSE BROKEN_powerpc64= Does not build NOT_FOR_ARCHS= armv6 mips mips64 sparc64 NOT_FOR_ARCHS_REASON= not yet ported to FreeBSD on this architecture USE_LDCONFIG= yes USE_GCC= any .include -.if ${OSVERSION} < 1000510 -IGNORE= require 10.0-Release or later -.endif - do-build: cd ${WRKSRC}; ${SETENV} CC=${CC} AR=${AR} NM=${NM} OBJCOPY=${OBJCOPY} ./buildrump.sh -r fullbuild do-install: cd ${WRKSRC}/rump; ${PAX} -wr lib include ${STAGEDIR}${PREFIX}/ .include Index: head/misc/xiphos/Makefile =================================================================== --- head/misc/xiphos/Makefile (revision 430453) +++ head/misc/xiphos/Makefile (revision 430454) @@ -1,40 +1,34 @@ # $FreeBSD$ PORTNAME= xiphos PORTVERSION= 3.1.6 PORTREVISION= 5 CATEGORIES= misc gnome MASTER_SITES= SF/gnomesword/Xiphos/${PORTVERSION} MAINTAINER= tabthorpe@FreeBSD.org COMMENT= Bible interface utilizing the sword framework LICENSE= GPLv2 RUN_DEPENDS= yelp:x11/yelp BUILD_DEPENDS:= ${RUN_DEPENDS} \ docbook2html:textproc/docbook-utils \ gnome-doc-tool:textproc/gnome-doc-utils \ nspr>=4.8:devel/nspr LIB_DEPENDS= libwebkitgtk-3.0.so:www/webkit-gtk3 \ libdbus-glib-1.so:devel/dbus-glib \ libsword.so:misc/sword USES= gettext pkgconfig waf INSTALLS_OMF= yes INSTALLS_ICONS= yes USE_GNOME= gtkhtml4 intlhack gtk30 gconf2 libgsf \ gtk-update-icon-cache OPTIONS_DEFINE= DOCS post-install: @${RM} ${STAGEDIR}${PREFIX}/share/icons/hicolor/icon-theme.cache -.include - -.if ${OSVERSION} < 1000000 -BROKEN= Does not build on FreeBSD < 10.X -.endif - .include Index: head/net/axa/Makefile =================================================================== --- head/net/axa/Makefile (revision 430453) +++ head/net/axa/Makefile (revision 430454) @@ -1,64 +1,60 @@ # $FreeBSD$ PORTNAME= axa PORTVERSION= 1.4.0 CATEGORIES= net dns MASTER_SITES= FARSIGHT/${PORTNAME} LOCAL/truckman/farsight MAINTAINER= truckman@FreeBSD.org COMMENT= AXA library and tools LICENSE= APACHE20 PD LICENSE_COMB= multi LICENSE_FILE_APACHE20= ${WRKSRC}/copyright LICENSE_FILE_PD= ${WRKSRC}/license_pd BUILD_DEPENDS= bash:shells/bash \ sie-nmsg>0:net/sie-nmsg LIB_DEPENDS= libcheck.so:devel/libcheck \ libprotobuf-c.so:devel/protobuf-c \ libnmsg.so:net/nmsg \ libwdns.so:dns/wdns \ libyajl.so:devel/yajl RUN_DEPENDS= sie-nmsg>0:net/sie-nmsg GNU_CONFIGURE= yes USES= autoreconf gmake libedit libtool pathfix pkgconfig shebangfix \ ssl CONFIGURE_SHELL= ${LOCALBASE}/bin/bash USE_LDCONFIG= yes SHEBANG_FILES= cert_tools/axa_link_certs.in PORTDOCS= * OPTIONS_DEFINE= DOXYGEN OPTIONS_DEFAULT=DOXYGEN ALL_TARGET= all INSTALL_TARGET= install-strip DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= html-local LDFLAGS+= -lm .include .if ${SSL_DEFAULT} == base -. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -IGNORE= base OpenSSL in FreeBSD 9 is too old, specify a ports version of SSL by adding DEFAULT_VERSIONS+=ssl=... to /etc/make.conf and rebuild everything that needs SSL -. else CONFIGURE_ENV+= libcrypto_CFLAGS="-I${OPENSSLINC}" \ libcrypto_LIBS="${OPENSSLLIB}/libcrypto.so" \ libssl_CFLAGS="-I${OPENSSLINC}" \ libssl_LIBS="${OPENSSLLIB}/libssl.so" -. endif .endif post-extract: (${ECHO} "For libmy/b64_encode.c:" ; \ ${SED} -ne "1,/\*\//p" ${WRKSRC}/libmy/b64_encode.c ) > ${LICENSE_FILE_PD} post-install-DOXYGEN-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) .include Index: head/net/intel-ixl-kmod/Makefile =================================================================== --- head/net/intel-ixl-kmod/Makefile (revision 430453) +++ head/net/intel-ixl-kmod/Makefile (revision 430454) @@ -1,47 +1,43 @@ # Created by: Sergey Kozlov # $FreeBSD$ PORTNAME?= ixl PORTVERSION?= 1.4.27 CATEGORIES= net MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \ http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ MASTER_SITE_SUBDIR?= 25160/eng PKGNAMEPREFIX= intel- PKGNAMESUFFIX= -kmod MAINTAINER?= freebsd@intel.com COMMENT?= 40 gigabit FreeBSD Base Driver for Intel(R) Network Connections LICENSE= BSD2CLAUSE USES= kmod WRKSRC_SUBDIR= src SUB_FILES= pkg-message SUB_LIST= PORTNAME=${PORTNAME} MANPAGENAME?= ${PORTNAME} PLIST_FILES= ${KMODDIR}/if_${PORTNAME}_updated.ko \ man/man4/${MANPAGENAME}.4.gz .include # Fixup for slave ports that use this as a master port. sbruno .if ${PORTNAME} == ixl ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= Not supported on other architectures, amd64 only. -.if ${OSVERSION} < 1001000 -IGNORE= is not supported on FreeBSD 10.0 and older -.endif - .if ${OSVERSION} >= 1100000 BROKEN= does not build .endif .endif do-install: ${INSTALL_KLD} ${WRKSRC}/if_${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/if_${PORTNAME}_updated.ko ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/ .include Index: head/net/ntp/Makefile =================================================================== --- head/net/ntp/Makefile (revision 430453) +++ head/net/ntp/Makefile (revision 430454) @@ -1,86 +1,82 @@ # Created by: andreas # $FreeBSD$ PORTNAME= ntp PORTVERSION= 4.2.8p9 PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \ http://archive.ntp.org/ntp4/ntp-4.2/ \ ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/ntp/ntp4/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/P/p/:S/.r/-RC/} MAINTAINER= cy@FreeBSD.org COMMENT= The Network Time Protocol Distribution BUILD_DEPENDS= autogen:devel/autogen LIB_DEPENDS= libevent.so:devel/libevent2 \ libmd5.so:www/libwww CONFLICTS= ntp-devel-* USES= cpe pathfix shebangfix libedit libtool localbase:ldflags \ pkgconfig ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-leap-smear TEST_TARGET= check SHEBANG_FILES= scripts/ntptrace/ntptrace.in \ scripts/ntp-wait/ntp-wait.in \ scripts/update-leap/update-leap.in perl_OLD_CMD= @PATH_PERL@ .include "Makefile.inc" OPTIONS_DEFINE+= DEBUG NLS THREADS OPTIONS_DEFAULT+= THREADS OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debugging IPV6_CONFIGURE_ENABLE= ipv6 NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_OFF= ac_cv_lib_intl_gettext=no NLS_USES= gettext-runtime NTP_SIGND_CONFIGURE_ENABLE= ntp-signd NTPSNMPD_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp NTPSNMPD_CONFIGURE_OFF= --without-ntpsnmpd PERL_UTILS_USES= perl5 SSL_CONFIGURE_ON= --with-openssl-incdir=${OPENSSLINC} \ --with-openssl-libdir=${OPENSSLLIB} SSL_CONFIGURE_OFF= --without-crypto THREADS_CONFIGURE_ENABLE= thread-support THREADS_CONFIGURE_WITH= threads .for D in ${NTP_DRIVERS} ${D}_CONFIGURE_ON= --enable-${D} .endfor .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -BROKEN= Does not build under FreeBSD-9, aclocal not found -.endif - # XXX Temporary hack. Remember to remove this next commit. post-extract: @${TOUCH} ${WRKSRC}/scripts/build/checkHtmlFileDates @${CHMOD} +x ${WRKSRC}/scripts/build/checkHtmlFileDates post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE} @cd ${WRKSRC}/html && ${FIND} . -print | \ ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${STAGEDIR}${DOCSDIR} .include Index: head/net/py-netif/Makefile =================================================================== --- head/net/py-netif/Makefile (revision 430453) +++ head/net/py-netif/Makefile (revision 430454) @@ -1,34 +1,30 @@ # Created by: William Grzybowski # $FreeBSD$ PORTNAME= netif PORTVERSION= 1.0.20161013 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wg@FreeBSD.org COMMENT= Python network configuration library for FreeBSD LICENSE= BSD2CLAUSE BUILD_DEPENDS= cython>0:lang/cython USE_GITHUB= yes GH_ACCOUNT= freenas GH_PROJECT= py-netif GH_TAGNAME= d663844 USES= python USE_PYTHON= autoplist distutils .include .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1003000 -IGNORE= This module requires at least FreeBSD 10.3 -.endif - .include Index: head/net/yami4/Makefile =================================================================== --- head/net/yami4/Makefile (revision 430453) +++ head/net/yami4/Makefile (revision 430454) @@ -1,39 +1,33 @@ # $FreeBSD$ PORTNAME= yami4 PORTVERSION= 1.10.0 CATEGORIES= net MASTER_SITES= http://www.inspirel.com/yami4/files/ DISTNAME= yami4-gpl-1.10.0 MAINTAINER= prog@msobczak.com COMMENT= Messaging library for distributed systems LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt BROKEN_powerpc64= Does not build # USES= compiler:c++11-lib -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -BROKEN= Does only compile with FreeBSD 10.x or higher -.endif - do-build : cd ${WRKSRC}/src/core; make cd ${WRKSRC}/src/cpp; make do-install : ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/yami4 ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/yami4/core ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/yami4/cpp (cd ${WRKSRC}/doc/core && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/doc/yami4/core) (cd ${WRKSRC}/doc/cpp && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/doc/yami4/cpp) (cd ${WRKSRC}/include && ${COPYTREE_SHARE} yami4-core ${STAGEDIR}${PREFIX}/include) (cd ${WRKSRC}/include && ${COPYTREE_SHARE} yami4-cpp ${STAGEDIR}${PREFIX}/include) (cd ${WRKSRC}/lib && ${INSTALL_DATA} *.a ${STAGEDIR}${PREFIX}/lib) -.include +.include Index: head/net-im/ring-daemon/Makefile =================================================================== --- head/net-im/ring-daemon/Makefile (revision 430453) +++ head/net-im/ring-daemon/Makefile (revision 430454) @@ -1,83 +1,79 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= ring-daemon PORTVERSION= 0.160516 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= net-im net-p2p MAINTAINER= yuri@rawbw.com COMMENT= Daemon part of the Ring VoIP SIP phone and IM LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libyaml-cpp.so:devel/yaml-cpp \ libjsoncpp.so:devel/jsoncpp \ libpcre.so:devel/pcre \ libupnp.so:devel/upnp \ libopendht.so:devel/opendht \ libgnutls.so:security/gnutls \ libavcodec.so:multimedia/ffmpeg \ libpulse.so:audio/pulseaudio \ libsndfile.so:audio/libsndfile \ libsamplerate.so:audio/libsamplerate \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp \ libuuid.so:misc/e2fsprogs-libuuid USE_GITHUB= yes GH_TUPLE+= savoirfairelinux:ring-daemon:56ec56f GH_TUPLE+= pjsip:pjproject:2.4.5:pj CONFIGURE_ARGS= --without-gsm \ --enable-video \ --enable-ipv6 USES= autoreconf compiler:c++14-lang gmake libtool pkgconfig USE_GNOME= glib20 gtk20 cairo gdkpixbuf2 USE_XORG= x11 xscrnsaver USE_GL= gl USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \ concurrent buildtools_build linguisttools_build GNU_CONFIGURE= yes MYFLAGS= -I${WRKSRC}/contrib/native/pjproject/pjlib/include -I${LOCALBASE}/include -DPJ_LINUX -I${LOCALBASE}/include/jsoncpp CFLAGS+= ${MYFLAGS} CPPFLAGS+= ${MYFLAGS} CXXFLAGS+= ${MYFLAGS} USE_LDCONFIG= yes OPTIONS_DEFINE= DBUS OPTIONS_DEFAULT=DBUS DBUS_CONFIGURE_OFF= --without-dbus DBUS_CONFIGURE_ON= --with-dbus DBUS_LIB_DEPENDS= \ libdbus-1.so:devel/dbus \ libdbus-c++-1.so:devel/dbus-c++ OPTIONS_SUB= yes .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000 -BROKEN= does not build -.endif - post-extract: @${MKDIR} ${WRKSRC}/contrib/native @${MV} ${WRKDIR}/pjproject-2.4.5 ${WRKSRC}/contrib/native/ post-patch: @${REINPLACE_CMD} -e 's|PJPROJECT_OPTIONS)|PJPROJECT_OPTIONS) CPPFLAGS=-I${LOCALBASE}/include/ CFLAGS="-I${LOCALBASE}/include/ -fPIC"|g' \ ${WRKSRC}/contrib/src/pjproject/rules.mak @${REINPLACE_CMD} -e 's|ringtonePath_ = "/usr/share|ringtonePath_ = "${LOCALBASE}/share|g' \ ${WRKSRC}/src/account.cpp pre-configure: @(cd ${WRKSRC} && \ ${ECHO} "===> Building the custom version of pjsip" && \ cd contrib/native && \ ../bootstrap && \ ${GMAKE} .pjproject) post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libring.so .include Index: head/science/orthanc/Makefile =================================================================== --- head/science/orthanc/Makefile (revision 430453) +++ head/science/orthanc/Makefile (revision 430454) @@ -1,93 +1,87 @@ # Created by: mp39590@gmail.com # $FreeBSD$ PORTNAME= orthanc PORTVERSION= 1.1.0 PORTREVISION= 2 CATEGORIES= science graphics net www MASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/orthanc/:main \ http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/:mongoose DISTFILES= Orthanc-${PORTVERSION}.tar.gz:main \ mongoose-3.8.tgz:mongoose DIST_SUBDIR= ${PORTNAME} MAINTAINER= mp39590@gmail.com COMMENT= RESTful DICOM server for healthcare and medical research # GPLv3 license, with the OpenSSL exception. LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libjsoncpp.so:devel/jsoncpp \ libuuid.so:misc/e2fsprogs-libuuid \ libboost_filesystem.so:devel/boost-libs \ libboost_thread.so:devel/boost-libs \ libboost_system.so:devel/boost-libs \ libboost_date_time.so:devel/boost-libs \ libboost_regex.so:devel/boost-libs \ libboost_locale.so:devel/boost-libs \ libdcmdsig.so:devel/dcmtk \ libcharls.so:devel/dcmtk \ libdcmjpls.so:devel/dcmtk \ libsqlite3.so:databases/sqlite3 \ libpng16.so:graphics/png \ libgtest.so:devel/googletest \ libpugixml.so:textproc/pugixml BROKEN_powerpc64= Does not build CMAKE_ARGS= -DDCMTK_LIBRARIES="dcmdsig;charls;dcmjpls" \ -DDCMTK_DIR="${LOCALBASE}" \ -DDCMTK_DICTIONARY_DIR="${LOCALBASE}/share/dcmtk" \ -DUSE_SYSTEM_MONGOOSE=OFF \ -DUNIT_TESTS_WITH_HTTP_CONNEXIONS=OFF USES= cmake:outsource dos2unix jpeg lua:51 python:build ssl CFLAGS+= -I${LOCALBASE}/include DOS2UNIX_FILES= CMakeLists.txt USE_LDCONFIG= yes USE_RC_SUBR= orthanc WRKSRC= ${WRKDIR}/Orthanc-${PORTVERSION} USERS= orthanc GROUPS= orthanc PLIST_SUB+= PORTVERSION=${PORTVERSION} # This is mongoose sources, downloaded from Orthanc author homepage. Orthanc # requires mongoose webserver, but after version 3.8, mongoose developers has # changed the license from MIT to GPLv2 only. This action made illegal to # combine new mongoose versions with GPLv3 only Orthanc. # We download sources manually and pass USE_SYSTEM_MONGOOSE=OFF to Orthanc # cmake variables to tell that mongoose is not presented on the host OS and # should be build together with the software instead. # https://www.mail-archive.com/mongoose-users@googlegroups.com/msg00625.html post-patch: ${MKDIR} ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/mongoose-3.8.tgz ${WRKSRC}/ThirdPartyDownloads # Orthanc hardcodes /usr/local paths for libs and includes. @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/*.cmake # There is no way to disable building of test units without a patch, on other # hand it brings only one build dependency (devel/googletest) and running it was # helpful in early bug detection in Debian. # Some tests require connections to be made to the outside world, this is # definitely unsupported behaviour and therefor those tests are disabled with # cmake variable above (-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=OFF). post-build: @cd ${BUILD_WRKSRC} && ./UnitTests post-install: ${MKDIR} ${STAGEDIR}/var/db/orthanc/db/db-v5 ${MKDIR} ${STAGEDIR}${DATADIR}/plugins ${MKDIR} ${STAGEDIR}${ETCDIR} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Resources/Configuration.json ${CP} ${WRKSRC}/Resources/Configuration.json ${STAGEDIR}${ETCDIR}/orthanc.json.sample ${STRIP_CMD} ${STAGEDIR}${DATADIR}/plugins/libServeFolders.so.${PORTVERSION} -.include - -.if ${OSVERSION} < 1001000 -IGNORE= supported only on 10.x by upstream, not all unit tests are passed -.endif - -.include +.include Index: head/security/R-cran-openssl/Makefile =================================================================== --- head/security/R-cran-openssl/Makefile (revision 430453) +++ head/security/R-cran-openssl/Makefile (revision 430454) @@ -1,31 +1,27 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= openssl PORTVERSION= 0.9.6 CATEGORIES= security DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= Toolkit for Encryption, Signatures and Certificates Based on OpenSSL LICENSE= MIT USES= cran:auto-plist,compiles ssl R_POSTCMD_INSTALL_OPTIONS+= --configure-vars="INCLUDE_DIR=${OPENSSLINC} LIB_DIR=${OPENSSLLIB}" post-patch: ${REINPLACE_CMD} -e '1,5d' ${WRKSRC}/src/ssl.c .include .if ${SSL_DEFAULT:Mlibressl*} IGNORE= Detected LibreSSL (missing RSA_get0_key and others) -.else -. if ${OSVERSION} < 1000015 && ${SSL_DEFAULT:Mbase} -IGNORE= Need a more recent version of OpenSSL. -. endif .endif .include Index: head/security/krb5-115/Makefile =================================================================== --- head/security/krb5-115/Makefile (revision 430453) +++ head/security/krb5-115/Makefile (revision 430454) @@ -1,164 +1,160 @@ # Created by: nectar@FreeBSD.org # $FreeBSD$ PORTNAME= krb5 PORTVERSION= 1.15 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ .if !defined(MASTERDIR) PKGNAMESUFFIX= -115 .endif PATCH_SITES= http://web.mit.edu/kerberos/advisories/ PATCH_DIST_STRIP= -p2 MAINTAINER= cy@FreeBSD.org COMMENT= MIT implementation of RFC 4120 network authentication service LICENSE= MIT CONFLICTS= heimdal-[0-9]* srp-[0-9]* krb5-11[0-9]-* KERBEROSV_URL= http://web.mit.edu/kerberos/ USE_PERL5= build USE_LDCONFIG= yes USE_CSTD= gnu99 GNU_CONFIGURE= yes USES= cpe gettext gmake perl5 libtool:build \ gssapi:bootstrap,mit pkgconfig:both ssl CONFIGURE_ARGS?= --enable-shared --without-system-verto \ --disable-rpath --localstatedir="${PREFIX}/var" CONFIGURE_ENV= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}" MAKE_ARGS= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" CPE_VENDOR= mit CPE_VERSION= 5-${PORTVERSION} CPE_PRODUCT= kerberos OPTIONS_DEFINE= KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML OPTIONS_RADIO= CMD_LINE_EDITING OPTIONS_RADIO_CMD_LINE_EDITING= READLINE LIBEDIT KRB5_PDF_DESC= Install krb5 PDF documentation KRB5_HTML_DESC= Install krb5 HTML documentation DNS_FOR_REALM_DESC= Enable DNS lookups for Kerberos realm names LDAP= Enable LDAP support .if defined(KRB5_HOME) PREFIX= ${KRB5_HOME} .endif CPPFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC} LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} USE_RC_SUBR= kpropd .include # Fix up -Wl,-rpath in LDFLAGS .if !empty(KRB5_HOME) _RPATH= ${KRB5_HOME}/lib: .else _RPATH= ${LOCALBASE}/lib: .endif .if !empty(LDFLAGS:M-Wl,-rpath,*) .for F in ${LDFLAGS:M-Wl,-rpath,*} LDFLAGS:= -Wl,-rpath,${_RPATH}${F:S/-Wl,-rpath,//} \ ${LDFLAGS:N-Wl,-rpath,*} .endfor .endif .if defined(KRB5_HOME) && ${KRB5_HOME} != ${LOCALBASE} BROKEN= LIB_DEPENDS when using KRB5_HOME is broken .endif .if ${PORT_OPTIONS:MDNS_FOR_REALM} CONFIGURE_ARGS+= --enable-dns-for-realm .endif .if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-ldap PLIST_SUB+= LDAP="" .else PLIST_SUB+= LDAP="@comment " .endif .if ${PORT_OPTIONS:MREADLINE} USES+= readline CONFIGURE_ARGS+= --with-readline .else CONFIGURE_ARGS+= --without-readline .endif .if ${PORT_OPTIONS:MLIBEDIT} USES+= libedit CONFIGURE_ARGS+= --with-libedit .else CONFIGURE_ARGS+= --without-libedit .endif .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != "" CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" .endif WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/html PDF_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -BROKEN= Does not build under FreeBSD-9, fails to build pkinit.so -.endif - post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5 # html documentation .if ${PORT_OPTIONS:MKRB5_PDF} pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d` pdf_dirs=`${FIND} ${PDF_DOC_DIR} -type d` for i in $${pdf_dirs}; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${pdf_files}; do \ ${INSTALL_MAN} $${pdf} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_HTML} html_files=`${FIND} ${HTML_DOC_DIR} ! -type d | ${GREP} -v /_sources` html_dirs=`${FIND} ${HTML_DOC_DIR} -type d | ${GREP} -v /_sources` for i in $${html_dirs}; do \ ${MKDIR} ${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${html_files}; do \ ${INSTALL_MAN} $${i} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_PDF} for i in $${pdf_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MKRB5_HTML} for i in $${html_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif ${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST} @${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD @${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD @${ECHO} "------------------------------------------------------" @${ECHO} "This port of MIT Kerberos 5 includes remote login " @${ECHO} "daemons (telnetd and klogind). These daemons default " @${ECHO} "to using the system login program (/usr/bin/login). " @${ECHO} "Please see the file " @${ECHO} "${PREFIX}/share/doc/krb5/README.FreeBSD" @${ECHO} "for more information. " @${ECHO} "------------------------------------------------------" .include Index: head/security/p5-Crypt-SMIME/Makefile =================================================================== --- head/security/p5-Crypt-SMIME/Makefile (revision 430453) +++ head/security/p5-Crypt-SMIME/Makefile (revision 430454) @@ -1,40 +1,36 @@ # $FreeBSD$ PORTNAME= Crypt-SMIME PORTVERSION= 0.19 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= S/MIME message signing, verification, encryption and decryption LICENSE= ART10 BUILD_DEPENDS= p5-ExtUtils-CChecker>=0:devel/p5-ExtUtils-CChecker \ p5-ExtUtils-PkgConfig>=0:devel/p5-ExtUtils-PkgConfig TEST_DEPENDS= p5-Taint-Util>=0:devel/p5-Taint-Util \ p5-Test-Dependencies>=0:devel/p5-Test-Dependencies \ p5-Test-Exception>=0:devel/p5-Test-Exception \ p5-Test-Pod>=1.14:devel/p5-Test-Pod \ p5-Test-Pod-Coverage>=1.04:devel/p5-Test-Pod-Coverage \ p5-Test-Taint>=0:devel/p5-Test-Taint CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" USE_PERL5= configure USES= perl5 ssl post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/SMIME/SMIME.so .include .if ${SSL_DEFAULT:Mlibressl*} IGNORE= Required CMS is disabled on LibreSSL -.else -. if ${OSVERSION} < 1000015 && ${SSL_DEFAULT:Mbase} -IGNORE= Need a more recent version of OpenSSL. -. endif .endif .include Index: head/security/titus/Makefile =================================================================== --- head/security/titus/Makefile (revision 430453) +++ head/security/titus/Makefile (revision 430454) @@ -1,38 +1,32 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME= titus PORTVERSION= 0.3 CATEGORIES= security MAINTAINER= feld@FreeBSD.org COMMENT= TLS/SSL proxy server LICENSE= MIT USES= compiler:c++11-lang ssl USE_RC_SUBR= titus USE_GITHUB= yes GH_ACCOUNT= AGWA USERS= titus titus-keys GROUPS= nogroup MAKE_ENV+= MANDIR=${MANPREFIX}/man CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000 -BROKEN= Requires FreeBSD 10.2 or higher -.endif - post-patch: ${REINPLACE_CMD} 's|/var/lib/titus/empty|/var/empty|' ${WRKSRC}/titus.conf.example post-install: ${INSTALL_DATA} ${WRKSRC}/titus.conf.example ${STAGEDIR}${PREFIX}/etc/titus.conf.sample -.include +.include Index: head/security/vm-to-tor/Makefile =================================================================== --- head/security/vm-to-tor/Makefile (revision 430453) +++ head/security/vm-to-tor/Makefile (revision 430454) @@ -1,49 +1,43 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= vm-to-tor PORTVERSION= 0.150519 CATEGORIES= security net MAINTAINER= yuri@rawbw.com COMMENT= Connect virtual machines to the tor network LICENSE= BSD4CLAUSE RUN_DEPENDS= tor:security/tor \ tiny-dhcp-server:net/tiny-network-utilities USE_GITHUB= yes GH_ACCOUNT= yurivict GH_TAGNAME= 17bdb91 NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message PLIST_FILES+= etc/rc.d/${PORTNAME} bin/vm-ctrl PLIST_FILES+= "@sample etc/${PORTNAME}.rc.conf.simple.sample" PLIST_FILES+= "@sample etc/${PORTNAME}.rc.conf.complex.sample" -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -BROKEN= Does not work on FreeBSD versions earlier than 10 -.endif - post-patch: @${REINPLACE_CMD} 's|"/usr/local"|"${LOCALBASE}"|' \ ${WRKSRC}/${PORTNAME} @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ -e 's|etc/rc\.conf\.|etc/${PORTNAME}.rc.conf.|' \ ${WRKSRC}/rc.conf.*.sample do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d ${INSTALL_SCRIPT} ${WRKSRC}/vm-ctrl ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/rc.conf.simple.sample \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.rc.conf.simple.sample ${INSTALL_SCRIPT} ${WRKSRC}/rc.conf.complex.sample \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.rc.conf.complex.sample -.include +.include Index: head/sysutils/acerhdf-kmod/Makefile =================================================================== --- head/sysutils/acerhdf-kmod/Makefile (revision 430453) +++ head/sysutils/acerhdf-kmod/Makefile (revision 430454) @@ -1,35 +1,29 @@ # Created by: Tobias Kortkamp # $FreeBSD$ PORTNAME= acerhdf-kmod PORTVERSION= 0.1.2 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= t@tobik.me COMMENT= Acer Aspire One fan control LICENSE= GPLv2 USES= kmod uidfix KMODNAME= acerhdf KERN_DEBUGDIR= MANDIR= ${PREFIX}/man/man4 USE_GITHUB= yes GH_PROJECT= kmod-acerhdf GH_ACCOUNT= t6 -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1001000 -IGNORE= does not support FreeBSD versions older than 10.1 -.endif - ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= specific to one machine post-install: ${INSTALL_MAN} ${WRKSRC}/${KMODNAME}.4 ${STAGEDIR}${MANDIR} -.include +.include Index: head/sysutils/bhyve-rc/Makefile =================================================================== --- head/sysutils/bhyve-rc/Makefile (revision 430453) +++ head/sysutils/bhyve-rc/Makefile (revision 430454) @@ -1,28 +1,22 @@ # Created by: Michael Gmelin # $FreeBSD$ PORTNAME= bhyve-rc PORTVERSION= 3 CATEGORIES= sysutils MASTER_SITES= # none DISTFILES= # none EXTRACT_ONLY= # none MAINTAINER= freebsd@grem.de COMMENT= FreeBSD RC script for starting bhyve guests in tmux RUN_DEPENDS= tmux:sysutils/tmux NO_WRKSUBDIR= yes NO_BUILD= yes NO_INSTALL= yes USE_RC_SUBR= bhyve -.include - -.if ${OSVERSION} < 1000000 -IGNORE= bhyve first appeared in FreeBSD 10.0 -.endif - .include Index: head/sysutils/cbsd/Makefile =================================================================== --- head/sysutils/cbsd/Makefile (revision 430453) +++ head/sysutils/cbsd/Makefile (revision 430454) @@ -1,53 +1,47 @@ # $FreeBSD$ PORTNAME= cbsd PORTVERSION= 11.0.6 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= olevole@olevole.ru COMMENT= Yet another FreeBSD Jail and Bhyve Management Utility LICENSE= BSD2CLAUSE RUN_DEPENDS= rsync:net/rsync \ sudo:security/sudo \ sqlite3:databases/sqlite3 LIB_DEPENDS= libssh2.so:security/libssh2 \ libsqlite3.so:databases/sqlite3 USE_GITHUB= yes GH_ACCOUNT= olevole USES= libedit USE_RC_SUBR= cbsdd cbsdrsyncd SUB_FILES= pkg-message PLIST_FILES+= man/man8/cbsd.8.gz CBSD_HOME?= ${PREFIX}/cbsd -.include - USERS= ${PORTNAME} GROUPS= ${PORTNAME} -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -IGNORE= does not support FreeBSD versions < 10.0 -.endif - do-install: @${ECHO} "Installing in ${CBSD_HOME}" ${MKDIR} ${STAGEDIR}${CBSD_HOME} ${CP} -a ${WRKSRC}/ ${STAGEDIR}${CBSD_HOME} ${INSTALL_MAN} ${WRKSRC}/man/cbsd.8 ${STAGEDIR}${PREFIX}/man/man8/cbsd.8 ${INSTALL_PROGRAM} ${WRKSRC}/bin/cbsdsh/cbsd ${STAGEDIR}${PREFIX}/bin post-install: ${CAT} ${PKGDIR}/pkg-plist-chunk > ${TMPPLIST} ; @${FIND} -s ${STAGEDIR}${CBSD_HOME} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/bsdconfig @${LN} -sf ${CBSD_HOME}/share/bsdconfig/cbsd ${STAGEDIR}${PREFIX}/libexec/bsdconfig/cbsd -.include +.include Index: head/sysutils/cloudabi-utils/Makefile =================================================================== --- head/sysutils/cloudabi-utils/Makefile (revision 430453) +++ head/sysutils/cloudabi-utils/Makefile (revision 430454) @@ -1,35 +1,29 @@ # Created by: Ed Schouten # $FreeBSD$ PORTNAME= cloudabi-utils PORTVERSION= 0.18 PORTREVISION= 1 DISTVERSIONPREFIX=v CATEGORIES= sysutils MAINTAINER= ed@FreeBSD.org COMMENT= Utilities for running CloudABI programs LICENSE= BSD2CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/cloudabi_types.h:devel/cloudabi LIB_DEPENDS= libyaml.so:textproc/libyaml USE_GITHUB= yes GH_ACCOUNT= NuxiNL ONLY_FOR_ARCHS= aarch64 amd64 armv6 i386 ONLY_FOR_ARCHS_REASON= CloudABI has not yet been ported to other architectures USES= cmake compiler:c11 pkgconfig tar:xz USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include -.include - -.if ${OSVERSION} < 1001511 -IGNORE= requires a recent implementation of Capsicum -.endif - -.include +.include Index: head/sysutils/freefilesync/Makefile =================================================================== --- head/sysutils/freefilesync/Makefile (revision 430453) +++ head/sysutils/freefilesync/Makefile (revision 430454) @@ -1,47 +1,41 @@ # Created by: Kevin Lo # $FreeBSD$ PORTNAME= freefilesync PORTVERSION= 8.3 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.freefilesync.org/download/ \ http://www.freefilesync.org/archive/ DISTNAME= FreeFileSync_${PORTVERSION}_Source MAINTAINER= ports@FreeBSD.org COMMENT= Backup software to synchronize files and folders LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/zenxml/xml.h:textproc/zenxml LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libnotify.so:devel/libnotify FETCH_ARGS= --user-agent=firefox WRKSRC= ${WRKDIR}/FreeFileSync/Source DOS2UNIX_WRKSRC=${WRKDIR} DOS2UNIX_GLOB= *.cpp *.h USES= compiler:c++14-lang dos2unix gmake pkgconfig zip USE_LDCONFIG= yes USE_WX= 3.0+ -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1003000 -BROKEN= does not build on FreeBSD < 10.3 (lack of futimens(2)) -.endif - post-patch: @${REINPLACE_CMD} -e 's/wx-config/$${WX_CONFIG:T}/' \ -e 's,g++,$${CXX},' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|||' \ ${WRKDIR}/zen/file_access.cpp @${REINPLACE_CMD} -e 's|WEXITSTATUS||' ${WRKDIR}/zen/shell_execute.h @${REINPLACE_CMD} -e 's|CLOCK_MONOTONIC_RAW|CLOCK_MONOTONIC|' \ ${WRKDIR}/zen/tick_count.h -.include +.include Index: head/sysutils/grub2-bhyve/Makefile =================================================================== --- head/sysutils/grub2-bhyve/Makefile (revision 430453) +++ head/sysutils/grub2-bhyve/Makefile (revision 430454) @@ -1,48 +1,42 @@ # Created by: kmoore@FreeBSD.org # $FreeBSD$ PORTNAME= grub2-bhyve DISTVERSIONPREFIX= v DISTVERSION= 0.40 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= Grub-emu loader for bhyve LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \ help2man:misc/help2man ONLY_FOR_ARCHS= amd64 SSP_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= grehan-freebsd USES= bison gmake USE_GCC= yes PLIST_FILES= sbin/grub-bhyve MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS= --with-platform=emu CC=${CC} LEX=${LOCALBASE}/bin/flex \ --enable-grub-mount=no --enable-grub-mkfont=no \ --enable-grub-emu-sdl=no --disable-nls --disable-werror -.include - -.if ${OSVERSION} <= 1000000 -IGNORE= for FreeBSD 10 and higher -.endif - post-patch: @${REINPLACE_CMD} -e "s/libintl\.h/I_do_not_want_libintl.h/g" ${WRKSRC}/configure @${REINPLACE_CMD} -e "s/-lintl//g" ${WRKSRC}/grub-core/Makefile.in do-configure: @ cd ${WRKSRC}/ && ./configure ${CONFIGURE_ARGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve -.include +.include RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*} Index: head/sysutils/hpacucli/Makefile =================================================================== --- head/sysutils/hpacucli/Makefile (revision 430453) +++ head/sysutils/hpacucli/Makefile (revision 430454) @@ -1,42 +1,39 @@ # Created by: SriSaiGanesh # $FreeBSD$ PORTNAME= hpacucli PORTVERSION= 7.50 PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= LOCAL/brooks MAINTAINER= ports@FreeBSD.org COMMENT= HP configuration utility for Smart Array RAID cards RUN_DEPENDS= compat4x-i386>0:misc/compat4x \ compat5x-${ARCH}>0:misc/compat5x USES= tar:bzip2 NO_BUILD= yes IA32_BINARY_PORT= yes APP_PREFIX= ${PREFIX}/lib/compaq/hpacucli post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${PORTNAME} do-install: @${MKDIR} ${STAGEDIR}${APP_PREFIX} ${INSTALL_LIB} ${WRKSRC}/lib*.so ${STAGEDIR}${APP_PREFIX} ${INSTALL_PROGRAM} ${WRKSRC}/.${PORTNAME} ${STAGEDIR}${PREFIX}/libexec ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin .include .if ${ARCH} == amd64 USE_LDCONFIG32= ${APP_PREFIX} -. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000019 -BROKEN= currently does not work on amd64 (see PR ports/128288) -. endif .else USE_LDCONFIG= ${APP_PREFIX} .endif .include Index: head/sysutils/intel-nvmupdate/Makefile =================================================================== --- head/sysutils/intel-nvmupdate/Makefile (revision 430453) +++ head/sysutils/intel-nvmupdate/Makefile (revision 430454) @@ -1,53 +1,49 @@ # Created by: Sergey Kozlov # $FreeBSD$ PORTNAME= nvmupdate DISTVERSION= 5_04 CATEGORIES= sysutils MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \ http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ MASTER_SITE_SUBDIR= 25792/eng PKGNAMEPREFIX= intel- DISTNAME= XL710_NVMUpdatePackage_v${DISTVERSION}_FreeBSD MAINTAINER= freebsd@intel.com COMMENT= NVM Update Utility for Intel(R) Ethernet Adapters LICENSE= IFL IPL LICENSE_COMB= multi LICENSE_NAME_IFL= Intel Firmware License LICENSE_FILE_IFL= ${WRKSRC}/Intel_firmware_license.txt LICENSE_PERMS_IFL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_NAME_IPL= Intel Proprietary License LICENSE_FILE_IPL= ${WRKSRC}/license.txt LICENSE_PERMS_IPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept WRKSRC= ${WRKDIR}/XL710/FreeBSDx64 NO_BUILD= yes ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= not supported on anything other than amd64 SUB_FILES= nvmupdate SUB_LIST= NVMUPDATE_DIR=${NVMUPDATE_DIR} NVMUPDATE_DIR= intel-nvmupdate .include -.if ${OSVERSION} < 1001000 -IGNORE= is not supported on FreeBSD 10.0 and older -.endif - .if ${OSVERSION} >= 1100000 BROKEN= core dump on application startup .endif do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR} "! -name 'nvmupdate64e'" ${INSTALL_PROGRAM} ${WRKSRC}/nvmupdate64e ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR} ${INSTALL_SCRIPT} ${WRKDIR}/nvmupdate ${STAGEDIR}${PREFIX}/sbin/ .include Index: head/sysutils/intel-qcu/Makefile =================================================================== --- head/sysutils/intel-qcu/Makefile (revision 430453) +++ head/sysutils/intel-qcu/Makefile (revision 430454) @@ -1,43 +1,39 @@ # Created by: Sergey Kozlov # $FreeBSD$ PORTNAME= qcu PORTVERSION= 1.2 CATEGORIES= sysutils net MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \ http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ MASTER_SITE_SUBDIR= 25852/eng PKGNAMEPREFIX= intel- MAINTAINER= freebsd@intel.com COMMENT= Intel(R) QSFP+ Configuration Utility LICENSE= IPL LICENSE_NAME= Intel Proprietary License LICENSE_FILE= ${WRKDIR}/license.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= zip dos2unix DOS2UNIX_WRKSRC= ${WRKDIR} DOS2UNIX_FILES= license.txt NO_BUILD= yes ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= not supported on anything other than amd64 PLIST_FILES= sbin/qcu .include -.if ${OSVERSION} < 1001000 -IGNORE= is not supported on FreeBSD 10.0 and older -.endif - .if ${OSVERSION} >= 1100000 BROKEN= core dump on application startup .endif do-install: ${INSTALL_PROGRAM} ${WRKDIR}/qcu64e ${STAGEDIR}${PREFIX}/sbin/qcu .include Index: head/sysutils/jobd/Makefile =================================================================== --- head/sysutils/jobd/Makefile (revision 430453) +++ head/sysutils/jobd/Makefile (revision 430454) @@ -1,30 +1,24 @@ # $FreeBSD$ PORTNAME= jobd PORTVERSION= 0.7.1 DISTVERSIONPREFIX=v CATEGORIES= sysutils MAINTAINER= mark@heily.com COMMENT= Job management framework LICENSE= ISCL BUILD_DEPENDS= docbook2mdoc:textproc/docbook2mdoc HAS_CONFIGURE= YES USE_GITHUB= YES USE_LDCONFIG= YES GH_ACCOUNT= mheily BROKEN_aarch64= Fails to compile: comparison of constant -1 with expression of type char is always true BROKEN_mips64= Fails to configure: unrecognized command line option -std=c++11 BROKEN_sparc64= Fails to configure: unrecognized command line option -std=c++11 -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - -.include +.include Index: head/sysutils/life-preserver/Makefile =================================================================== --- head/sysutils/life-preserver/Makefile (revision 430453) +++ head/sysutils/life-preserver/Makefile (revision 430454) @@ -1,33 +1,27 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= life-preserver PORTVERSION= 1441050470 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= PC-BSD Life Preserver Utility LICENSE= BSD3CLAUSE RUN_DEPENDS= ${LOCALBASE}/share/pcbsd/scripts/functions.sh:sysutils/pcbsd-libsh \ stunnel:security/stunnel WRKSRC_SUBDIR= src-sh/lpreserver USES= pkgconfig NO_BUILD= yes NO_ARCH= yes MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} USE_GITHUB= yes GH_ACCOUNT= pcbsd GH_PROJECT= pcbsd GH_TAGNAME= 3c4d2b -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - -.include +.include Index: head/sysutils/pbi-manager/Makefile =================================================================== --- head/sysutils/pbi-manager/Makefile (revision 430453) +++ head/sysutils/pbi-manager/Makefile (revision 430454) @@ -1,31 +1,25 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= pbi-manager PORTVERSION= 1456333648 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= PBI management utilities LICENSE= BSD3CLAUSE RUN_DEPENDS= ${LOCALBASE}/share/pcbsd/scripts/functions.sh:sysutils/pcbsd-libsh WRKSRC_SUBDIR= src-sh/pbi-manager USES= pkgconfig tar:xz NO_BUILD= yes MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} USE_GITHUB= yes GH_ACCOUNT= pcbsd GH_PROJECT= pcbsd GH_TAGNAME= b77814 -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - -.include +.include Index: head/sysutils/pcbsd-appweb/Makefile =================================================================== --- head/sysutils/pcbsd-appweb/Makefile (revision 430453) +++ head/sysutils/pcbsd-appweb/Makefile (revision 430454) @@ -1,36 +1,30 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= pcbsd-appweb PORTVERSION= 1441129621 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= PC-BSD Web Interface LICENSE= BSD3CLAUSE RUN_DEPENDS= syscache:sysutils/pcbsd-syscache \ pbi:sysutils/pbi-manager \ warden:sysutils/warden \ nginx:www/nginx USE_PHP= filter gd json session WRKSRC_SUBDIR= src-webui USES= pkgconfig NO_BUILD= yes NO_ARCH= yes MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} USE_GITHUB= yes GH_ACCOUNT= pcbsd GH_PROJECT= pcbsd GH_TAGNAME= 3c4d2b -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - -.include +.include Index: head/sysutils/pcbsd-libsh/Makefile =================================================================== --- head/sysutils/pcbsd-libsh/Makefile (revision 430453) +++ head/sysutils/pcbsd-libsh/Makefile (revision 430454) @@ -1,32 +1,26 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= pcbsd-libsh PORTVERSION= 1438351389 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= PC-BSD Shell Library LICENSE= BSD3CLAUSE WRKSRC_SUBDIR= src-sh/libsh USES= pkgconfig NO_BUILD= yes NO_ARCH= yes MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} USE_GITHUB= yes GH_ACCOUNT= pcbsd GH_PROJECT= pcbsd GH_TAGNAME= 2c5a0c PLIST_FILES= share/pcbsd/scripts/functions.sh -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - -.include +.include Index: head/sysutils/pcbsd-syscache/Makefile =================================================================== --- head/sysutils/pcbsd-syscache/Makefile (revision 430453) +++ head/sysutils/pcbsd-syscache/Makefile (revision 430454) @@ -1,34 +1,28 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= pcbsd-syscache PORTVERSION= 1439494375 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= PC-BSD SysCache Utility LICENSE= BSD3CLAUSE WRKSRC_SUBDIR= src-sh/syscache USE_QT5= core network buildtools qmake USES= pkgconfig NO_BUILD= yes MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} PLIST_FILES= bin/syscache \ bin/syscache-daemon \ etc/rc.d/syscache USE_GITHUB= yes GH_ACCOUNT= pcbsd GH_PROJECT= pcbsd GH_TAGNAME= 3c4d2b -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - -.include +.include Index: head/sysutils/pcbsd-utils/Makefile =================================================================== --- head/sysutils/pcbsd-utils/Makefile (revision 430453) +++ head/sysutils/pcbsd-utils/Makefile (revision 430454) @@ -1,32 +1,26 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= pcbsd-utils PORTVERSION= 1440778617 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= PC-BSD Command-Line Utilities LICENSE= BSD3CLAUSE RUN_DEPENDS= sipcalc:net-mgmt/sipcalc \ eject:sysutils/eject WRKSRC_SUBDIR= src-sh/pcbsd-utils USE_QT5= core network buildtools qmake USES= pkgconfig tar:xz MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} USE_GITHUB= yes GH_ACCOUNT= pcbsd GH_PROJECT= pcbsd GH_TAGNAME= 3c4d2b -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - -.include +.include Index: head/sysutils/pcbsd-utils-qt5/Makefile =================================================================== --- head/sysutils/pcbsd-utils-qt5/Makefile (revision 430453) +++ head/sysutils/pcbsd-utils-qt5/Makefile (revision 430454) @@ -1,57 +1,51 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= pcbsd-utils-qt5 PORTVERSION= 1444236547 PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= PC-BSD Qt5 Utilities LICENSE= BSD3CLAUSE BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ ${PYTHON_PKGNAMEPREFIX}sphinx-intl>=0:textproc/py-sphinx-intl \ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-httpdomain>=0:textproc/py-sphinxcontrib-httpdomain \ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>=0:textproc/py-sphinx_rtd_theme \ ${PYTHON_PKGNAMEPREFIX}alabaster>=0:textproc/py-alabaster \ tex-formats>=0:print/tex-formats \ tex-dvipsk>=0:print/tex-dvipsk RUN_DEPENDS= pc-updatemanager:sysutils/pcbsd-utils \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus \ cdda2wav:sysutils/cdrtools LIB_DEPENDS= libcurl.so:ftp/curl \ libpoppler-qt5.so:graphics/poppler-qt5 CONFLICTS?= pcbsd-utils-qt4-[0-9]* MAKE_JOBS_UNSAFE=yes ONLY_FOR_ARCHS= amd64 USE_LDCONFIG= yes USE_QT5= core gui network svg linguist \ buildtools x11extras USES= desktop-file-utils python qmake shebangfix tar:xz SHEBANG_FILES= pc-netmanager/src/NetworkManager/resources/umts_stick \ pc-sysmanager/scripts/fastest_cvsup WRKSRC_SUBDIR= src-qt5 QMAKE_ARGS= CONFIG+="configure" USE_GITHUB= yes GH_ACCOUNT= pcbsd GH_PROJECT= pcbsd GH_TAGNAME= 3c4d2b -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - post-install: @${FIND} ${STAGEDIR}${PREFIX}/share/pcbsd/doc/html -type f | \ ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} .include Index: head/sysutils/u-boot-olimex-a20-som-evb/Makefile =================================================================== --- head/sysutils/u-boot-olimex-a20-som-evb/Makefile (revision 430453) +++ head/sysutils/u-boot-olimex-a20-som-evb/Makefile (revision 430454) @@ -1,57 +1,51 @@ # $FreeBSD$ PORTNAME= u-boot PORTVERSION= ${UBOOT_VERSION} CATEGORIES= sysutils MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/ PKGNAMESUFFIX?= -${MODEL} MAINTAINER= manu@FreeBSD.org COMMENT= Cross-build U-Boot loader for olimex-a20-som-evb LICENSE= GPLv2 BUILD_DEPENDS= arm-none-eabi-gcc:devel/arm-none-eabi-gcc UBOOT_VERSION?= 2016.09 BOARD_CONFIG?= A20-Olimex-SOM-EVB_defconfig MODEL?= olimex-a20-som-evb NO_ARCH= yes WRKSRC= ${WRKDIR}/u-boot-${DISTVERSION} USES= gmake tar:bzip2 SSP_UNSAFE= yes # cross-LD does not support -fstack-protector U_BOOT_DIR= share/u-boot/${PORTNAME}${PKGNAMESUFFIX} PLIST_FILES= ${U_BOOT_DIR}/u-boot.img \ ${U_BOOT_DIR}/u-boot-sunxi-with-spl.bin \ ${U_BOOT_DIR}/sunxi-spl.bin \ ${U_BOOT_DIR}/README MAKE_ARGS+= ARCH=arm \ CROSS_COMPILE=arm-none-eabi- -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - post-patch: @${REINPLACE_CMD} -e "s,%%MODEL%%,${MODEL}," \ ${WRKSRC}/include/configs/sunxi-common.h do-configure: (cd ${WRKSRC}; ${MAKE_CMD} ${BOARD_CONFIG}) do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${WRKSRC}/u-boot.img ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${WRKSRC}/u-boot-sunxi-with-spl.bin \ ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${WRKSRC}/spl/sunxi-spl.bin \ ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README -.include +.include Index: head/sysutils/u-boot-pine64/Makefile =================================================================== --- head/sysutils/u-boot-pine64/Makefile (revision 430453) +++ head/sysutils/u-boot-pine64/Makefile (revision 430454) @@ -1,59 +1,53 @@ # $FreeBSD$ PORTNAME= u-boot PORTVERSION= 2016.05 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/:uboot \ http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/Pine64/standard/src/:firmware PKGNAMESUFFIX= -pine64 DISTFILES= u-boot-${PORTVERSION}.tar.bz2:uboot \ firmware-pine64-20160329-6.1.src.rpm:firmware MAINTAINER= brd@FreeBSD.org COMMENT= Cross-build U-Boot loader for Pine64 LICENSE= GPLv2 BUILD_DEPENDS= aarch64-none-elf-gcc:devel/aarch64-none-elf-gcc WRKSRC= ${WRKDIR}/u-boot-${DISTVERSION} USES= gmake tar:bzip2 SSP_UNSAFE= yes # cross-LD does not support -fstack-protector U_BOOT_DIR= share/u-boot/${PORTNAME}${PKGNAMESUFFIX} PLIST_FILES= ${U_BOOT_DIR}/pine64.img \ ${U_BOOT_DIR}/README MAKE_ARGS+= ARCH=arm \ CROSS_COMPILE=aarch64-none-elf- \ PLAT=sun50iw1p1 \ CONFIG_EFI=y -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - post-extract: (cd ${WRKSRC}; ${EXTRACT_CMD} xvf ${DISTDIR}/firmware-pine64-20160329-6.1.src.rpm) ${RM} -r ${WRKSRC}/arm-trusted-firmware (cd ${WRKSRC}; ${EXTRACT_CMD} xvf pine64atf.tar.xz) do-configure: (cd ${WRKSRC}; ${MAKE_CMD} pine64_plus_defconfig) post-build: (cd ${WRKSRC}/arm-trusted-firmware; ${GMAKE} ${MAKE_ARGS} DEBUG=1) (cd ${WRKSRC}; ${CC} -o pine64_image pine64_image.c) (cd ${WRKSRC}; ${CAT} arm-trusted-firmware/build/sun50iw1p1/debug/bl31.bin u-boot-dtb.bin > bl31uboot.bin) (cd ${WRKSRC}; ./pine64_image scp.bin bl31uboot.bin u-boot.img) (cd ${WRKSRC}; ${CAT} boot0.bin u-boot.img > pine64.img) do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${WRKSRC}/pine64.img ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README -.include +.include Index: head/sysutils/u-boot-sinovoip-bpi-m3/Makefile =================================================================== --- head/sysutils/u-boot-sinovoip-bpi-m3/Makefile (revision 430453) +++ head/sysutils/u-boot-sinovoip-bpi-m3/Makefile (revision 430454) @@ -1,54 +1,51 @@ # $FreeBSD$ PORTNAME= u-boot PORTVERSION= 2016.05 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/ PKGNAMESUFFIX?= -sinovoip-bpi-m3 MAINTAINER= jmcneill@FreeBSD.org COMMENT= Cross-build U-Boot loader for Sinovoip Banana Pi M3 LICENSE= GPLv2 BUILD_DEPENDS= arm-none-eabi-gcc:devel/arm-none-eabi-gcc USES= gmake tar:bzip2 WRKSRC= ${WRKDIR}/u-boot-${DISTVERSION} .include NO_ARCH= yes -.if ${OSVERSION} < 1001000 -IGNORE= requires dtc -.endif MODEL?= sinovoip-bpi-m3 CONF_TARGET?= Sinovoip_BPI_M3_defconfig SSP_UNSAFE= yes # cross-LD does not support -fstack-protector U_BOOT_DIR= share/u-boot/${PORTNAME}${PKGNAMESUFFIX} PLIST_FILES= ${U_BOOT_DIR}/u-boot.img \ ${U_BOOT_DIR}/u-boot-sunxi-with-spl.bin \ ${U_BOOT_DIR}/sunxi-spl.bin \ ${U_BOOT_DIR}/README MAKE_ARGS+= ARCH=arm \ CROSS_COMPILE=arm-none-eabi- post-patch: @${REINPLACE_CMD} -e "s,%%MODEL%%,${MODEL}," \ ${WRKSRC}/include/configs/sunxi-common.h do-configure: (cd ${WRKSRC}; ${MAKE_CMD} ${CONF_TARGET}) do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${WRKSRC}/spl/sunxi-spl.bin ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${WRKSRC}/u-boot-sunxi-with-spl.bin \ ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${WRKSRC}/u-boot.img ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README .include Index: head/sysutils/vm-bhyve/Makefile =================================================================== --- head/sysutils/vm-bhyve/Makefile (revision 430453) +++ head/sysutils/vm-bhyve/Makefile (revision 430454) @@ -1,36 +1,30 @@ # $FreeBSD$ PORTNAME= vm-bhyve PORTVERSION= 1.1.5 DISTVERSIONPREFIX=v CATEGORIES= sysutils MAINTAINER= churchers@gmail.com COMMENT= Management system for bhyve virtual machines LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= EXAMPLES EXAMPLES_DESC= Install example guest templates USE_GITHUB= yes GH_ACCOUNT= churchers NO_ARCH= yes NO_BUILD= yes -.include - -.if ${OSVERSION} < 1000000 -IGNORE= this port works only on FreeBSD 10 and newer -.endif - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/vm ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/vm ${STAGEDIR}${PREFIX}/etc/rc.d (cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/vm-bhyve) (cd ${WRKSRC}/sample-templates/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) ${INSTALL_MAN} ${WRKSRC}/vm.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 -.include +.include Index: head/sysutils/warden/Makefile =================================================================== --- head/sysutils/warden/Makefile (revision 430453) +++ head/sysutils/warden/Makefile (revision 430454) @@ -1,34 +1,28 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= warden PORTVERSION= 1438351389 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= Warden jail management system utility LICENSE= BSD3CLAUSE RUN_DEPENDS= ${LOCALBASE}/share/pcbsd/scripts/functions.sh:sysutils/pcbsd-libsh \ debootstrap:sysutils/debootstrap \ jailme:sysutils/jailme WRKSRC_SUBDIR= src-sh/warden USES= pkgconfig NO_BUILD= yes NO_ARCH= yes MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} USE_GITHUB= yes GH_ACCOUNT= pcbsd GH_PROJECT= pcbsd GH_TAGNAME= 2c5a0c -.include - -.if ${OSVERSION} < 1000000 -IGNORE= requires FreeBSD 10 or later -.endif - -.include +.include Index: head/textproc/sdcv/Makefile =================================================================== --- head/textproc/sdcv/Makefile (revision 430453) +++ head/textproc/sdcv/Makefile (revision 430454) @@ -1,44 +1,38 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= sdcv PORTVERSION= 0.4.2 PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Text-based utility for work with dictionaries in StarDict's format LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= autoreconf gettext pkgconfig readline tar:bzip2 USE_GNOME= glib20 SUB_FILES= pkg-message CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -.include - -.if ${OSVERSION} < 1000000 -BROKEN= does not build on < 10.x: error expanding embedded variable -.endif - post-patch: .for i in doc/sdcv.1 src/sdcv.cpp @${REINPLACE_CMD} -e \ 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/${i} .endfor @${REINPLACE_CMD} -e \ 's|@mandir@/uk|@mandir@|' ${WRKSRC}/doc/uk/Makefile.am @${REINPLACE_CMD} -e \ 's|getopt1.c getopt.h||' ${WRKSRC}/src/Makefile.am @${RM} ${WRKSRC}/src/getopt.h @${REINPLACE_CMD} '/AM_GNU_GETTEXT_VERSION/s/0\.14\.1/0.19.1/' \ ${WRKSRC}/configure.ac -.include +.include Index: head/www/squid-devel/Makefile =================================================================== --- head/www/squid-devel/Makefile (revision 430453) +++ head/www/squid-devel/Makefile (revision 430454) @@ -1,320 +1,316 @@ # $FreeBSD$ PORTNAME= squid PORTVERSION= 4.0.17 CATEGORIES= www ipv6 MASTER_SITES= http://www.squid-cache.org/Versions/v4/ \ http://www2.us.squid-cache.org/Versions/v4/ \ http://www1.at.squid-cache.org/Versions/v4/ \ http://www.eu.squid-cache.org/Versions/v4/ \ http://www1.jp.squid-cache.org/Versions/v4/ PKGNAMESUFFIX= -devel DIST_SUBDIR= squid${PORTVERSION:R} PATCH_SITES= http://www.squid-cache.org/%SUBDIR%/ \ http://www2.us.squid-cache.org/%SUBDIR%/ \ http://www1.at.squid-cache.org/%SUBDIR%/ \ http://www.eu.squid-cache.org/%SUBDIR%/ \ http://www1.jp.squid-cache.org/%SUBDIR%/ \ http://master.squid-cache.org/~amosjeffries/patches/:nosid PATCH_SITE_SUBDIR= Versions/v4/changesets #PATCHFILES= MAINTAINER= timp87@gmail.com COMMENT= HTTP Caching Proxy LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= squid*-3.* USES= compiler:c++11-lib cpe perl5 shebangfix tar:xz CPE_VENDOR= squid-cache SHEBANG_FILES= scripts/*.pl contrib/*.pl tools/*.pl GNU_CONFIGURE= yes USE_RC_SUBR= squid USERS= squid GROUPS= squid MYDOCS= QUICKSTART README RELEASENOTES.html doc/debug-sections.txt PORTDOCS= ${MYDOCS:T} PORTEXAMPLES= * SUB_FILES+= pkg-install pkg-message OPTIONS_SUB= yes OPTIONS_GROUP= AUTH OPTIONS_RADIO= FW OPTIONS_GROUP_AUTH=AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB AUTH_SQL OPTIONS_RADIO_FW=TP_IPF TP_IPFW TP_PF OPTIONS_DEFINE= ARP_ACL CACHE_DIGESTS DEBUG DELAY_POOLS ECAP ESI \ FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT IPV6 \ KQUEUE LARGEFILE NETTLE SNMP SSL SSL_CRTD STACKTRACES LAX_HTTP \ VIA_DB WCCP WCCPV2 DOCS EXAMPLES OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_DEFAULT=ARP_ACL AUTH_NIS CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF \ FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT KQUEUE LARGEFILE \ LAX_HTTP SNMP SSL SSL_CRTD TP_IPFW VIA_DB WCCP WCCPV2 GSSAPI_BASE ARP_ACL_CONFIGURE_ENABLE= eui AUTH_LDAP_CFLAGS= -I${LOCALBASE}/include AUTH_LDAP_LDFLAGS= -L${LOCALBASE}/lib AUTH_LDAP_USE= OPENLDAP=yes AUTH_LDAP_VARS= BASIC_AUTH+=LDAP EXTERNAL_ACL+=LDAP_group AUTH_SASL_CFLAGS= -I${LOCALBASE}/include AUTH_SASL_CPPFLAGS= -I${LOCALBASE}/include AUTH_SASL_LDFLAGS= -L${LOCALBASE}/lib AUTH_SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 AUTH_SASL_VARS= BASIC_AUTH+=SASL AUTH_SMB_RUN_DEPENDS= smbclient:net/samba43 AUTH_SMB_VARS= BASIC_AUTH+=SMB EXTERNAL_ACL+=wbinfo_group AUTH_SQL_RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI AUTH_SQL_VARS= EXTERNAL_ACL+=SQL_session CACHE_DIGESTS_CONFIGURE_ENABLE= cache-digests DELAY_POOLS_CONFIGURE_ENABLE= delay-pools ECAP_CFLAGS= -I${LOCALBASE}/include ECAP_CONFIGURE_ENABLE= ecap ECAP_LDFLAGS= -L${LOCALBASE}/lib ECAP_LIB_DEPENDS= libecap.so:www/libecap ECAP_USES= pkgconfig:build ESI_CFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2 ESI_CONFIGURE_ENABLE= esi ESI_LDFLAGS= -L${LOCALBASE}/lib ESI_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libxml2.so:textproc/libxml2 FOLLOW_XFF_CONFIGURE_ENABLE= follow-x-forwarded-for HTCP_CONFIGURE_ENABLE= htcp ICAP_CONFIGURE_ENABLE= icap-client ICMP_CONFIGURE_ENABLE= icmp IDENT_CONFIGURE_ENABLE= ident-lookups IPV6_CONFIGURE_ENABLE= ipv6 KQUEUE_CONFIGURE_ENABLE= kqueue LARGEFILE_CONFIGURE_WITH= large-files LAX_HTTP_CONFIGURE_ENABLE= http-violations FS_AUFS_VARS= STORAGE_SCHEMES+=aufs DISKIO_MODULES+=DiskThreads # Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS, # e.g. SQUID_CONFIGURE_ARGS=--with-aufs-threads=N FS_AUFS_LDFLAGS= -pthread FS_AUFS_CONFIGURE_OFF= --without-pthreads FS_DISKD_VARS= STORAGE_SCHEMES+=diskd DISKIO_MODULES+=DiskDaemon FS_ROCK_VARS= STORAGE_SCHEMES+=rock NETTLE_LIB_DEPENDS= libnettle.so:security/nettle NETTLE_CONFIGURE_OFF= --without-nettle SNMP_CONFIGURE_ENABLE= snmp SSL_CONFIGURE_ENABLE= ssl SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} \ --enable-security-cert-generators="file" \ LIBOPENSSL_CFLAGS=-I${OPENSSLINC} \ LIBOPENSSL_LIBS="-lcrypto -lssl" SSL_USES= ssl SSL_CRTD_CONFIGURE_ENABLE= ssl-crtd SSL_CRTD_IMPLIES= SSL STACKTRACES_CONFIGURE_ENABLE= stacktraces STACKTRACES_EXTRA_PATCHES= ${FILESDIR}/extra-patch-gen-stacktrace STACKTRACES_LIB_DEPENDS= libunwind.so:devel/libunwind STACKTRACES_CONFIGURE_ON= --disable-strict-error-checking STACKTRACES_CFLAGS= -g STACKTRACES_LDFLAGS= -lunwind -L${LOCALBASE}/lib STACKTRACES_VARS= STRIP="" TP_IPFW_CONFIGURE_ENABLE= ipfw-transparent TP_IPF_CONFIGURE_ENABLE= ipf-transparent TP_PF_CONFIGURE_ENABLE= pf-transparent TP_PF_CONFIGURE_WITH= nat-devpf VIA_DB_CONFIGURE_ENABLE= forw-via-db WCCPV2_CONFIGURE_ENABLE= wccpv2 WCCP_CONFIGURE_ENABLE= wccp GSSAPI_NONE_CONFIGURE_ON= --without-heimdal-krb5 \ --without-mit-krb5 \ --without-gss GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --with-heimdal-krb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_BASE_PLIST_SUB= AUTH_KERB="" # Make it build on FreeBSD < 10 GSSAPI_BASE_EXTRA_PATCHES= ${FILESDIR}/extra-patch-build-8-9 GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_HEIMDAL_CONFIGURE_ON= --with-heimdal-krb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_HEIMDAL_PLIST_SUB= AUTH_KERB="" GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --with-mit-krb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_MIT_PLIST_SUB= AUTH_KERB="" # TODO: # add an option for external_acl/session (requires some kind of external # Berkeley DB support, unsure which one) ARP_ACL_DESC= ARP/MAC/EUI based authentification AUTH_DESC= Authentication helpers AUTH_LDAP_DESC= Install LDAP authentication helpers AUTH_NIS_DESC= Install NIS/YP authentication helpers AUTH_SASL_DESC= Install SASL authentication helpers AUTH_SMB_DESC= Install SMB auth. helpers (req. Samba) AUTH_SQL_DESC= Install SQL based auth CACHE_DIGESTS_DESC= Use cache digests DEBUG_DESC= Build with extended debugging support DELAY_POOLS_DESC= Delay pools (bandwidth limiting) ECAP_DESC= Loadable content adaptation modules ESI_DESC= ESI support FOLLOW_XFF_DESC= Support for the X-Following-For header FS_AUFS_DESC= AUFS (threaded-io) support FS_DISKD_DESC= DISKD storage engine controlled by separate service FS_ROCK_DESC= ROCK storage engine HTCP_DESC= HTCP support ICAP_DESC= the ICAP client ICMP_DESC= ICMP pinging and network measurement IDENT_DESC= Ident lookups (RFC 931) KQUEUE_DESC= Kqueue(2) support LARGEFILE_DESC= Support large (>2GB) cache and log files NETTLE_DESC= Nettle MD5 algorithm support SNMP_DESC= SNMP support SSL_CRTD_DESC= Use ssl_crtd to handle SSL cert requests SSL_DESC= SSL gatewaying support STACKTRACES_DESC= Enable automatic backtraces on fatal errors LAX_HTTP_DESC= Do not enforce strict HTTP compliance TP_IPFW_DESC= Transparent proxying with IPFW TP_IPF_DESC= Transparent proxying with IPFilter TP_PF_DESC= Transparent proxying with PF VIA_DB_DESC= Forward/Via database WCCPV2_DESC= Web Cache Coordination Protocol v2 WCCP_DESC= Web Cache Coordination Protocol change_files= ChangeLog \ contrib/nextstep/makepkg \ contrib/nextstep/post_install \ errors/Makefile.am \ errors/Makefile.in \ src/auth/basic/SMB_LM/README.html \ src/Makefile.am \ src/Makefile.in \ src/cf_gen.cc \ src/squid.8.in \ test-suite/Makefile.in \ tools/Makefile.am \ tools/Makefile.in .if !defined(SQUID_CONFIGURE_ARGS) \ || ${SQUID_CONFIGURE_ARGS:M*--disable-unlinkd*} == "" PLIST_SUB+= UNLINKD="" .else PLIST_SUB+= UNLINKD="@comment " .endif CONFIGURE_ARGS= --with-default-user=squid \ --bindir=${PREFIX}/sbin \ --sbindir=${PREFIX}/sbin \ --datadir=${ETCDIR} \ --libexecdir=${PREFIX}/libexec/squid \ --localstatedir=/var \ --sysconfdir=${ETCDIR} \ --with-logdir=/var/log/squid \ --with-pidfile=/var/run/squid/squid.pid \ --with-swapdir=/var/squid/cache \ --without-gnutls \ --enable-auth \ --enable-zph-qos \ --enable-build-info \ --enable-loadable-modules \ --enable-removal-policies="lru heap" \ --disable-epoll \ --disable-linux-netfilter \ --disable-linux-tproxy \ --disable-translation \ --disable-arch-native .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -IGNORE= doesn't build, messes C++ headers and libs -.endif - # Authentication methods and modules: BASIC_AUTH+= DB SMB_LM NCSA PAM POP3 RADIUS fake getpwnam EXTERNAL_ACL+= file_userip time_quota unix_group # POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: .if ${PORT_OPTIONS:MAUTH_NIS} && !defined(NO_NIS) && !defined(WITHOUT_NIS) BASIC_AUTH+= NIS .endif # POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: .if ${PORT_OPTIONS:MGSSAPI_NONE} || defined(NO_KERBEROS) || defined(WITHOUT_KERBEROS) NEGOTIATE_AUTH= none PLIST_SUB+= AUTH_KERB="@comment " .else # The kerberos_ldap_group external helper also depends on LDAP and SASL: . if ${PORT_OPTIONS:MAUTH_LDAP} && ${PORT_OPTIONS:MAUTH_SASL} EXTERNAL_ACL+= kerberos_ldap_group . endif NEGOTIATE_AUTH= kerberos wrapper .endif # Storage schemes: STORAGE_SCHEMES+= ufs DISKIO_MODULES+= AIO Blocking IpcIo Mmapped CONFIGURE_ARGS+= --enable-auth-basic="${BASIC_AUTH}" \ --enable-auth-digest="file" \ --enable-external-acl-helpers="${EXTERNAL_ACL}" \ --enable-auth-negotiate="${NEGOTIATE_AUTH}" \ --enable-auth-ntlm="fake SMB_LM" \ --enable-storeio="${STORAGE_SCHEMES}" \ --enable-disk-io="${DISKIO_MODULES}" \ --enable-log-daemon-helpers="file" \ --enable-url-rewrite-helpers="fake" \ --enable-storeid-rewrite-helpers="file" \ --enable-security-cert-validators="fake" # Other options set via 'make config': .if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG) CONFIGURE_ARGS+= --disable-optimizations --enable-debug-cbdata WITH_DEBUG?= yes .endif # Finally, add additional user specified configuration options: CONFIGURE_ARGS+= ${SQUID_CONFIGURE_ARGS} post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/src/cf.data.pre @(cd ${WRKSRC} && ${REINPLACE_CMD} \ -e 's|\.conf\.default|.conf.sample|' \ -e 's|)\.default|).sample|' \ ${change_files}) @(cd ${WRKSRC} && ${MV} src/mime.conf.default src/mime.conf.sample) post-patch-IPV6-off: @${REINPLACE_CMD} -e's/ ::1//' -e's/ fc00::\/7//' \ -e's/ fe80::\/10//' -e's/ 2001:DB8::2//' \ -e's/ 2001:DB8::a:0\/64//' \ -e'/tcp_outgoing_address 2001:db8::c001 good_service_net/d' \ -e'/tcp_outgoing_address 2001:db8::beef normal_service_net/d' \ -e'/tcp_outgoing_address 2001:db8::1/d' \ ${WRKSRC}/src/cf.data.pre post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/src/auth/basic/DB/passwd.sql \ ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${MYDOCS} ${STAGEDIR}${DOCSDIR}) .include .if ${PORT_OPTIONS:MSSL} && ${SSL_DEFAULT:Mopenssl-devel} BROKEN= Does not build with openssl-devel .endif .if ${CHOSEN_COMPILER_TYPE} == clang #CXXFLAGS+= -Wno-unused-private-field CXXFLAGS+= -Wno-unknown-warning-option CXXFLAGS+= -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -Wno-dynamic-class-memaccess .endif .include