*/*: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2016-11-14 09:01:05 +01:00
parent f3230d03ec
commit 471d90c17c
309 changed files with 13187 additions and 11327 deletions

View File

@ -12,8 +12,6 @@ COMMENT= Program to extract Inno Setup files
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= Does not build
LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \
libboost_filesystem.so:devel/boost-libs \
libboost_system.so:devel/boost-libs \
@ -25,4 +23,7 @@ CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man
PLIST_FILES= bin/innoextract \
man/man1/innoextract.1.gz
BROKEN_powerpc64= Does not build
BROKEN_sparc64= Does not build: undefined reference to std::ctype<char>::_M_widen_init()
.include <bsd.port.mk>

View File

@ -12,6 +12,8 @@ COMMENT= Portable library and utility to use Microsoft cabinet files (.cab)
USE_LDCONFIG= yes
BROKEN_aarch64= Fails to link: linker command failed with exit code 1
USES= uidfix
SRCFILE= ${WRKSRC}/listcab.cpp
PROGFILE= ${SRCFILE:S/.cpp$//}

View File

@ -11,6 +11,8 @@ DISTNAME= mkZiplib${PORTVERSION:S/.//}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= GZIP and ZIP support for TCL; dynamically loadable
BROKEN_aarch64= Fails to build: error: operand of type va_list where arithmetic or pointer type is required
USES+= tcl zip
WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION}

View File

@ -35,6 +35,8 @@ PORTDOCS= *
SHLIB_MAJOR_VER=5
SHLIB_MINOR_VER=${PORTVERSION:S|0$||}
BROKEN_sparc64= Fails to compile: malloc.h has been replaced by stdlib.h
do-install:
cd ${WRKSRC}/ && ${INSTALL_DATA} drvrsmem.h fitsio.h fitsio2.h longnam.h ${STAGEDIR}${PREFIX}/include/
cd ${WRKSRC}/ && ${INSTALL_DATA} libcfitsio.a ${STAGEDIR}${PREFIX}/lib/

View File

@ -7,6 +7,7 @@ CATEGORIES= audio accessibility
MASTER_SITES= FESTIVAL
DISTFILES= ${DISTNAME}-release.tar.gz \
speech_tools-${PORTVERSION}-release.tar.gz
DIST_SUBDIR= festival
PATCHFILES= src_modules_diphone_diphone.h.diff?id=b58a836:debian \
src_modules_diphone_di_io.cc.diff?id=b58a836:debian \
@ -24,12 +25,15 @@ PATCH_SITES= ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/audio/festival/patch
MAINTAINER= mi@aldan.algebra.com
COMMENT= Multi-lingual speech synthesis system
BROKEN_aarch64= XXX
BROKEN_armv6= Fails to link: cc.mak: No such file or directory
BROKEN_mips64= Fails to link: cc.mak: No such file or directory
BROKEN_powerpc64= Does not build
OPTIONS_DEFINE= NAS ESD
OPTIONS_DEFAULT=NAS ESD
ESD_DESC= ${ESOUND_DESC}
DIST_SUBDIR= festival
CXXFLAGS+= -DFTLIBDIR=${LOCALBASE}/share/festival/lib
CONFIGURE_WRKSRC= ${WRKDIR}/festival
USES= gmake
@ -43,8 +47,6 @@ WRKSRC= ${WRKDIR}
SPT_PATCHES= include_ling__class_EST__FeatureFunctionPackage.h \
include_unix_EST__socket__unix.h
BROKEN_powerpc64= Does not build
do-build:
.for d in speech_tools festival
${MAKE_CMD} -C ${WRKDIR}/$d ${MAKE_FLAGS} Makefile ${MAKE_ARGS}

View File

@ -15,6 +15,6 @@ manual.
If you need the OGI extensions, install ports/audio/festival+OGI instead.
WWW: http://www.cstr.ed.ac.uk/projects/festival/
WWW: http://www.cstr.ed.ac.uk/projects/festival/
Trevor Johnson

View File

@ -13,6 +13,7 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_FreeBSD_9= does not build
BROKEN_aarch64= Does not build: the clang compiler does not support -march=native
BROKEN_powerpc64= Does not build
USES= cmake compiler:c++11-lib

View File

@ -26,6 +26,8 @@ ALL_TARGET= lrelease manpages all
DATADIR= ${PREFIX}/share/mscore-${PORTVERSION:R}
BROKEN_aarch64= Fails to compile: error: constant expression evaluates to -1
OPTIONS_DEFINE= ALSA JACK PORTAUDIO PULSEAUDIO
OPTIONS_DEFAULT= PORTAUDIO

View File

@ -19,6 +19,8 @@ RUN_DEPENDS= sox:audio/sox
USES= alias libtool
GNU_CONFIGURE= yes
BROKEN_aarch64= Fails to build: error: Cannot determine endian-ness of processor
OPTIONS_DEFINE= DOCS
post-install:

View File

@ -22,6 +22,9 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH}
BROKEN_aarch64= Fails to compile: many undefined symbols in xorg.cf
BROKEN_armv6= Fails to compile: many undefined symbols in xorg.cf
BROKEN_mips64= Fails to compile: many undefined symbols in xorg.cf
BROKEN_powerpc64= Does not build on powerpc64
pre-patch:

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= astk
DISTVERSION= 1.13.5-1
DISTVERSION= 1.13.8-2
CATEGORIES= cad
.if !defined(CLIENT_SEUL)
PKGNAMESUFFIX= -serveur
@ -40,6 +40,7 @@ REINPLACE_ARGS= -i ""
EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION:S/-/./:R}/SRC
NO_ARCH= yes
SUB_FILES= pkg-message
SUB_LIST= inst_dir=${inst_dir} tools_dir=${tools_dir}
PKGMESSAGE= ${WRKDIR}/pkg-message
@ -47,8 +48,7 @@ LINSTDIR= aster/ASTK
inst_dir= ${PREFIX}/${LINSTDIR}
aster_dir= ${LOCALBASE}/aster/${vaster}
S_SCRIPTS= bin/as_run bin/parallel_cp asrun/installation.py \
share/codeaster/asrun/data/mpirun_template \
etc/profile.csh
share/codeaster/asrun/data/mpirun_template
S_PYLIBS= share/codeaster/asrun/examples/alamain.py \
unittest/datafiles/config_serveurs unittest/010_misc.py \
unittest/015_package.py unittest/run_test.py
@ -58,13 +58,14 @@ conf_dir= ${WRKSRC}/etc/astkrc
.include <bsd.port.pre.mk>
WRKCONF= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/configuration
.if !defined(CLIENT_SEUL)
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/ASTK_SERV
PATCHDIR= ${MASTERDIR}/files
PLIST_SUB= ASTKDIR=${LINSTDIR}/ASTK_SERV SERV="" CLIENT="@comment " \
PLIST_SUB= ASTKDIR=${LINSTDIR}/ASTK_SERV SERV="" CLIENT="@comment "\
vaster=${vaster}
PATCH2RM= bin/as_run bin/parallel_cp etc/asrun etc/profile.csh etc/profile.sh \
asrun/config.py asrun/installation.py asrun/system.py \
PATCH2RM= bin/as_run bin/parallel_cp etc/asrun etc/profile.sh \
asrun/config.py asrun/installation.py asrun/system.py \
asrun/common/sysutils.py asrun/system_command.py
. if exists(${LOCALBASE}/sbin/pbs_server)
WITH_PBS= yes
@ -121,6 +122,9 @@ SHIA= zsh
.endif
SHIADEP= ${SHIA}
BASH2RC= asrun/calcul.py share/codeaster/asrun/data/mpirun_template
BASH2RC2= lib/tkselecteur.tcl
BASH2RC3= deprecated_outils.sh extract_info.py deprecated_client.sh \
deprecated_server.sh
.if !defined(WITH_ED)
. if exists(${LOCALBASE}/bin/nedit)
@ -132,9 +136,6 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/gvim:editors/vim
. elif exists(${LOCALBASE}/bin/emacs)
WITH_ED= emacs
RUN_DEPENDS+= ${LOCALBASE}/bin/emacs:editors/emacs
. elif exists(${LOCALBASE}/bin/xemacs)
WITH_ED= xemacs
RUN_DEPENDS+= ${LOCALBASE}/bin/xemacs:editors/xemacs
. elif exists(${LOCALBASE}/bin/gedit)
WITH_ED= gedit
RUN_DEPENDS+= ${LOCALBASE}/bin/gedit:editors/gedit
@ -197,16 +198,14 @@ do-configure:
-e "s|LOCALBASE|${LOCALBASE}|" \
${WRKSRC}/etc/${sc}
. endfor
. for sh in sh csh
${REINPLACE_CMD} -e "s|?ASTER_ROOT?|${LOCALBASE}/aster|" \
-e 's|?HOME_PYTHON?|${PYTHONBASE}|' \
-e 's|?ASRUN_SITE_PKG?|${PREFIX}/${LINSTDIR}/ASTK_SERV|' \
-e 's|?PYTHON_EXE?|${PYTHON_CMD}|' \
-e 's|?HOME_MED?|${LOCALBASE}|' \
-e 's|?HOME_HDF?|${LOCALBASE}|' \
-e "s|?WISH_EXE?|${WISH}|" \
${WRKSRC}/etc/profile.${sh}
. endfor
-e "s|?WISH_EXE?|${WISH}|" \
${WRKSRC}/etc/profile.sh
. for libs in ${S_PYLIBS}
${REINPLACE_CMD} -e "s|/opt/aster/NEW9|${aster_dir}|" \
-e "s|/opt/aster/NEW10|${aster_dir}|" \
@ -262,7 +261,13 @@ do-configure:
${WRKSRC}/lib/tkselecteur.tcl
${REINPLACE_CMD} -e "s|%%unamesm%%|${unamesm}|" \
${WRKSRC}/lib/init.tcl
. for sh in ${BASH2RC2}
${REINPLACE_CMD} -e 's|/bin/bash|${SHELL_INSTALL_ASTER}|' ${WRKSRC}/${sh}
. endfor
.endif
.for sh in ${BASH2RC3}
${REINPLACE_CMD} -e 's|/bin/bash|${SHELL_INSTALL_ASTER}|' ${WRKCONF}/${sh}
.endfor
do-install:
${MKDIR} ${STAGEDIR}${inst_dir}
@ -278,6 +283,7 @@ do-install:
(cd ${STAGEDIR}${PREFIX} \
&& ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-d ${PREFIX} -f aster)
${MV} ${STAGEDIR}${ETCDIR}/profile.sh ${STAGEDIR}${ETCDIR}/profile_astk.sh
. if defined(WITH_MPI)
${ECHO_CMD} "localhost" > ${STAGEDIR}${PREFIX}/aster/aster-mpihosts
. endif

View File

@ -1,5 +1,5 @@
--- bin/astk.orig 2011-12-20 13:33:00.000000000 +0100
+++ bin/astk 2012-05-08 12:31:09.000000000 +0200
--- bin/astk.orig 2015-08-05 15:37:44 UTC
+++ bin/astk
@@ -17,15 +17,9 @@
# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
# ==============================================================================
@ -9,19 +9,18 @@
- local bin=`dirname $this`
- prefix=`dirname $bin`
-}
-
-set_prefix $0
+prefix=%%inst_dir%%/ASTK_CLIENT
-set_prefix $0
-
-ASTER_ROOT=$prefix
+ASTER_ROOT=?ASTER_ROOT?
ASTER_ETC=$ASTER_ROOT/etc
if [ "$ASTER_ROOT" = "/usr" ]; then
ASTER_ETC=/etc
@@ -43,5 +37,5 @@
@@ -43,4 +37,4 @@ if [ -z "$WISHEXECUTABLE" ]; then
WISHEXECUTABLE=wish
fi
-$WISHEXECUTABLE $ASTER_ROOT/lib/astk/astk.tcl -- $* &
+$WISHEXECUTABLE $prefix/lib/astk.tcl -- $* &

View File

@ -1,14 +0,0 @@
--- ./etc/profile.csh.orig 2009-12-23 15:53:06.000000000 +0100
+++ ./etc/profile.csh 2010-01-10 21:45:50.000000000 +0100
@@ -38,6 +38,11 @@
# this should not be usefull...
#setenv PYTHONHOME ?HOME_PYTHON?
+# Might be useful to fix errors on 64 bits platforms
+# See <http://www.code-aster.org/forum/read.php?f=11&i=1603&t=1574>
+setenv HOME_MED ?HOME_MED?
+setenv HOME_HDF ?HOME_HDF?
+
setenv WISHEXECUTABLE ?WISH_EXE?

View File

@ -372,6 +372,9 @@
%%SERV%%%%ASTKDIR%%/asrun/plugins/default.py
%%SERV%%%%ASTKDIR%%/asrun/plugins/default.pyc
%%SERV%%%%ASTKDIR%%/asrun/plugins/default.pyo
%%SERV%%%%ASTKDIR%%/asrun/plugins/generic_func.py
%%SERV%%%%ASTKDIR%%/asrun/plugins/generic_func.pyc
%%SERV%%%%ASTKDIR%%/asrun/plugins/generic_func.pyo
%%SERV%%%%ASTKDIR%%/asrun/plugins/rsh_server.py
%%SERV%%%%ASTKDIR%%/asrun/plugins/rsh_server.pyc
%%SERV%%%%ASTKDIR%%/asrun/plugins/rsh_server.pyo
@ -381,6 +384,9 @@
%%SERV%%%%ASTKDIR%%/asrun/plugins/sftp_server.py
%%SERV%%%%ASTKDIR%%/asrun/plugins/sftp_server.pyc
%%SERV%%%%ASTKDIR%%/asrun/plugins/sftp_server.pyo
%%SERV%%%%ASTKDIR%%/asrun/plugins/webdav_server.py
%%SERV%%%%ASTKDIR%%/asrun/plugins/webdav_server.pyc
%%SERV%%%%ASTKDIR%%/asrun/plugins/webdav_server.pyo
%%SERV%%%%ASTKDIR%%/asrun/profil.py
%%SERV%%%%ASTKDIR%%/asrun/profil.pyc
%%SERV%%%%ASTKDIR%%/asrun/profil.pyo
@ -399,6 +405,9 @@
%%SERV%%%%ASTKDIR%%/asrun/run.py
%%SERV%%%%ASTKDIR%%/asrun/run.pyc
%%SERV%%%%ASTKDIR%%/asrun/run.pyo
%%SERV%%%%ASTKDIR%%/asrun/runner.py
%%SERV%%%%ASTKDIR%%/asrun/runner.pyc
%%SERV%%%%ASTKDIR%%/asrun/runner.pyo
%%SERV%%%%ASTKDIR%%/asrun/schema.py
%%SERV%%%%ASTKDIR%%/asrun/schema.pyc
%%SERV%%%%ASTKDIR%%/asrun/schema.pyo
@ -448,13 +457,18 @@
%%SERV%%%%ASTKDIR%%/etc/plugins/aster5.py
%%SERV%%%%ASTKDIR%%/etc/plugins/aster5.pyc
%%SERV%%%%ASTKDIR%%/etc/plugins/aster5.pyo
%%SERV%%%%ASTKDIR%%/etc/plugins/athosdev.py
%%SERV%%%%ASTKDIR%%/etc/plugins/athosdev.pyc
%%SERV%%%%ASTKDIR%%/etc/plugins/athosdev.pyo
%%SERV%%%%ASTKDIR%%/etc/plugins/ivanoe.py
%%SERV%%%%ASTKDIR%%/etc/plugins/ivanoe.pyc
%%SERV%%%%ASTKDIR%%/etc/plugins/ivanoe.pyo
%%SERV%%%%ASTKDIR%%/etc/plugins/sge_pe.py
%%SERV%%%%ASTKDIR%%/etc/plugins/sge_pe.pyc
%%SERV%%%%ASTKDIR%%/etc/plugins/sge_pe.pyo
%%SERV%%%%ASTKDIR%%/etc/profile.csh
%%SERV%%%%ASTKDIR%%/etc/plugins/tail_slurm.py
%%SERV%%%%ASTKDIR%%/etc/plugins/tail_slurm.pyc
%%SERV%%%%ASTKDIR%%/etc/plugins/tail_slurm.pyo
%%SERV%%%%ASTKDIR%%/etc/profile.sh
%%SERV%%%%ASTKDIR%%/i18n/Makefile
%%SERV%%%%ASTKDIR%%/i18n/asrun.fr.mo
@ -579,11 +593,16 @@
%%SERV%%%%ETCDIR%%/plugins/aster5.py
%%SERV%%%%ETCDIR%%/plugins/aster5.pyc
%%SERV%%%%ETCDIR%%/plugins/aster5.pyo
%%SERV%%%%ETCDIR%%/plugins/athosdev.py
%%SERV%%%%ETCDIR%%/plugins/athosdev.pyc
%%SERV%%%%ETCDIR%%/plugins/athosdev.pyo
%%SERV%%%%ETCDIR%%/plugins/ivanoe.py
%%SERV%%%%ETCDIR%%/plugins/ivanoe.pyc
%%SERV%%%%ETCDIR%%/plugins/ivanoe.pyo
%%SERV%%%%ETCDIR%%/plugins/sge_pe.py
%%SERV%%%%ETCDIR%%/plugins/sge_pe.pyc
%%SERV%%%%ETCDIR%%/plugins/sge_pe.pyo
%%SERV%%%%ETCDIR%%/profile.csh
%%SERV%%%%ETCDIR%%/profile.sh
%%SERV%%%%ETCDIR%%/plugins/tail_slurm.py
%%SERV%%%%ETCDIR%%/plugins/tail_slurm.pyc
%%SERV%%%%ETCDIR%%/plugins/tail_slurm.pyo
%%SERV%%%%ETCDIR%%/profile_astk.sh

View File

@ -31,6 +31,8 @@ GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
BROKEN_aarch64= Fails to link: missing sbrk
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTCL}

View File

@ -32,6 +32,8 @@ LINRAD_DOCFILES= z_APM.txt z_BUFFERS.txt z_CALIBRATE.txt \
z_PARALLEL_PORT.txt z_SETTINGS.txt \
z_USERS_EXTRA.txt z_USERS_HWARE.txt
BROKEN_sparc64= Fails to compile: implicit declaration of function outb
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BINFILE= xlinrad

View File

@ -26,6 +26,9 @@ CFLAGS+= -DAUTO_PPP
MAKE_JOBS_UNSAFE= yes
BROKEN_aarch64= Fails to compile: error: initializer element is not a compile-time constant
BROKEN_mips64= Fails to compile: error: initializer element is not a compile-time constant
OPTIONS_DEFINE= FIDO
FIDO_DESC= Enable FIDO EMSI support
FIDO_CFLAGS= -DFIDO

View File

@ -21,6 +21,8 @@ USE_GNOME= gtk20 intltool
OPTIONS_DEFINE= DOCS
OPTIONS_SUB= yes
BROKEN_sparc64= Fails to link: relocation truncated to fit: R_SPARC_GOT13 against symbol input_fp
post-extract:
${CP} ${PATCHDIR}/clog.c ${WRKSRC}/src
${TOUCH} ${WRKSRC}/src/cexp.c

View File

@ -11,8 +11,6 @@ COMMENT= Convert HTML (or live webpages) to PDF or image
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= Does not build
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
@ -26,6 +24,11 @@ WKQT_TAGNAME= fe194f9
GH_TUPLE= ${PORTNAME}:qt:${WKQT_TAGNAME}:qt
HAS_CONFIGURE= yes
BROKEN_aarch64= Does not build: error: cast from pointer to smaller type loses information
BROKEN_armv6= Does not build: error: Not supported ARM architecture
BROKEN_mips64= Does not link: undefined reference to __sync_add_and_fetch_4
BROKEN_powerpc64= Does not build
PATCH_WRKSRC= ${WRKSRC}/qt
CONFIGURE_WRKSRC= ${WRKSRC}/build/qt
BUILD_WRKSRC= ${WRKSRC}/build/qt

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= cego
PORTVERSION= 2.31.1
PORTVERSION= 2.31.2
CATEGORIES= databases
MASTER_SITES= http://www.lemke-it.com/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1478808710
SHA256 (cego-2.31.1.tar.gz) = dd07b1a09d7a1a3693c7a5a2602c2b9c6985b2247eacb3fd596d5ad55ecc8d5e
SIZE (cego-2.31.1.tar.gz) = 1398092
TIMESTAMP = 1479046552
SHA256 (cego-2.31.2.tar.gz) = 8c9c93d983f1018a43735b8ca5ba13afc93790e58c0fe8a40076375a532249b2
SIZE (cego-2.31.2.tar.gz) = 1398334

View File

@ -11,8 +11,6 @@ COMMENT= Highly scalable, fault-tolerant distributed file system
LICENSE= APACHE20
BROKEN_powerpc64= Does not build
BUILD_DEPENDS= ${LOCALBASE}/lib/erlang17/bin/erlc:lang/erlang-runtime17 \
${LOCALBASE}/bin/cmake:devel/cmake \
${LOCALBASE}/lib/libcheck.a:devel/libcheck
@ -20,6 +18,10 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/erlang17/bin/erlc:lang/erlang-runtime17 \
USE_GITHUB= yes
GH_ACCOUNT= leo-project
BROKEN_aarch64= Does not compile: fatal error: lzo/lzo1x.h file not found
BROKEN_powerpc64= Does not build
BROKEN_sparc64= Does not build: error Please implement AtomicPointer for this platform
LEOFS_USER= leofs
LEOFS_GROUP= leofs
USERS= ${LEOFS_USER}

View File

@ -22,4 +22,7 @@ USE_PERL5= build run
MAKE_JOBS_UNSAFE= yes
BROKEN_aarch64= Fails to link: error adding symbols: File in wrong format
BROKEN_mips64= Fails to link: ld: failed to merge target specific data
.include <bsd.port.mk>

View File

@ -52,6 +52,7 @@ DATADIR= ${PREFIX}/share/mysql
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_armv6= Does not compile on armv6
BROKEN_sparc64= Does not compile: Unsupported platform
.if defined(USE_MYSQL)
.error You have 'USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again.

View File

@ -18,6 +18,9 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/builds
BROKEN_aarch64= Fails to build: error: typedef redefinition with different types
BROKEN_mips64= Fails to build: error: conflicting declaration typedef long int t4_i32
OPTIONS_DEFINE= PYTHON TCL DOCS
OPTIONS_DEFAULT= PYTHON

View File

@ -18,7 +18,7 @@ LIB_DEPENDS= libleveldb.so:databases/leveldb
BROKEN_aarch64= does not build: error: Please implement AtomicPointer for this platform
BROKEN_powerpc64= does not build
BROKEN_sparcpc64= does not build: unrecognized command line options
BROKEN_sparc64= does not build: unrecognized command line options
MAKE_ARGS= CC="${CXX}"
USE_PERL5= configure

View File

@ -20,6 +20,9 @@ CMAKE_ARGS+= -DENABLE_DTRACE=OFF
USE_LDCONFIG= ${PREFIX}/lib/mysql
BROKEN_aarch64= Fails to build: error: passing int to parameter of incompatible type va_list
BROKEN_armv6= Fails to build: error: passing int to parameter of incompatible type va_list
MANPAGES= comp_err.1 msql2mysql.1 mysql.1 mysql_config.1 mysql_find_rows.1 \
mysql_waitpid.1 mysqlaccess.1 mysqladmin.1 mysqlbinlog.1 \
mysqlcheck.1 mysqldump.1 mysqlimport.1 mysqlshow.1 mysqlslap.1

View File

@ -39,7 +39,6 @@ LIBMEMCACHED_DESC= Build with MemCached support
LIBMEMCACHED_BUILD_DEPENDS= libmemcached>=1.0:databases/libmemcached
LIBMEMCACHED_CONFIGURE_ON= --with-memcached=${LOCALBASE}/lib/libmemcached
SSL_DESC= Build with OpenSSL support
SSL_CONFIGURE_WITH= openssl
SSL_USE= OPENSSL=yes

View File

@ -29,7 +29,6 @@ PORTDOCShtml= pgpool-en.html pgpool-ja.html pgpool.css
PORTDOCShtml+= tutorial-en.html tutorial-ja.html
OPTIONS_DEFINE+= DOCS SSL
SSL_DESC= Build with OpenSSL support
.include <bsd.port.options.mk>

View File

@ -25,6 +25,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
--with-python-prefix="${LOCALBASE}"
BROKEN_aarch64= Fails to configure: machine aarch64-portbld not recognized
.include "${.CURDIR}/../sqlrelay/Makefile.common"
do-extract:

View File

@ -12,8 +12,6 @@ COMMENT= Open source, distributed, noSQL database
LICENSE= APACHE20
BROKEN_powerpc64= Does not build
BUILD_DEPENDS= ${LOCALBASE}/lib/erlang15/bin/erlc:lang/erlang-runtime15
USES= gmake readline shebangfix
@ -46,6 +44,10 @@ ALL_TARGET= rel
MAKE_JOBS_UNSAFE=yes
MAKE_ENV= PATH=${LOCALBASE}/lib/erlang15/bin:${PATH}
BROKEN_aarch64= Does not compile: error: Unknown CPU architecture
BROKEN_powerpc64= Does not build
BROKEN_sparc64= Does not compile: Please implement AtomicPointer for this platform
.include <bsd.port.pre.mk>
post-patch:

View File

@ -20,8 +20,6 @@ COMMENT= Riak is an open source, distributed, noSQL database
LICENSE= APACHE20
BROKEN_powerpc64= Does not build
BUILD_DEPENDS= ${LOCALBASE}/lib/riak-erlang/bin/erlc:lang/erlang-riak
USES= gmake readline shebangfix
@ -30,7 +28,9 @@ SHEBANG_FILES= deps/eper/priv/bin/* \
USE_RC_SUBR= riak
USE_GCC= yes
BROKEN_i386= does not build
BROKEN_i386= Does not build
BROKEN_powerpc64= Does not build
BROKEN_sparc64= Does not build: Please implement AtomicPointer for this platform
USERS= riak
GROUPS= riak

View File

@ -15,8 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgflags.so:devel/gflags \
libsnappy.so:archivers/snappy
BROKEN_powerpc64= does not build
OPTIONS_DEFINE= DEBUG
ALL_TARGET= shared_lib static_lib all
@ -32,7 +30,10 @@ GH_ACCOUNT= facebook
USE_GITHUB= yes
BROKEN_DragonFly= does not build on DragonFly BSD using GCC with -Werror
BROKEN_sparc64= cannot build: uses unknown compiler flags
BROKEN_aarch64= does not build: the clang compiler does not support -march=native
BROKEN_armv6= does not build: the clang compiler does not support -march=native
BROKEN_powerpc64= does not build
BROKEN_sparc64= cannot build: uses unknown compiler flags
BENCHMARKS= cache_bench db_bench memtablerep_bench table_reader_bench
TOOLS= db_repl_stress db_sanity_test db_stress ldb rocksdb_dump rocksdb_undump sst_dump write_stress

View File

@ -17,4 +17,8 @@ GH_TAGNAME= a251965
USES= cmake
CMAKE_ARGS= -DENABLE_BUNDLED_MSGPUCK=false
BROKEN_aarch64= Fails to compile: clang compiler does not support -march=native
BROKEN_mips64= Fails to compile: clang compiler does not support -march=native
BROKEN_sparc64= Fails to compile: clang compiler does not support -march=native
.include <bsd.port.mk>

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tile38
PORTVERSION= 1.4.2
PORTVERSION= 1.5.2
CATEGORIES= databases
MAINTAINER= olevole@olevole.ru

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1474222150
SHA256 (tidwall-tile38-1.4.2_GH0.tar.gz) = 3d4e76e4bfdad8c6f69f787c4b4dbe98e446d26df17ca58af6934b06a8545107
SIZE (tidwall-tile38-1.4.2_GH0.tar.gz) = 2674362
TIMESTAMP = 1477411595
SHA256 (tidwall-tile38-1.5.2_GH0.tar.gz) = a6b8bdbcb30db698d64390649b2b72bb6673eab895a6497235b71d75bdf27b03
SIZE (tidwall-tile38-1.5.2_GH0.tar.gz) = 3445237

View File

@ -22,6 +22,7 @@ LIB_DEPENDS= libxml2.so:textproc/libxml2
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_powerpc64= Does not build
BROKEN_sparc64= Does not compile: error: DV_INT_TAG_WORD undeclared
NOT_FOR_ARCHS= arm armv6 i386 mips powerpc
NOT_FOR_ARCHS_REASON= can only be built on 64bit platforms

View File

@ -31,10 +31,9 @@ SUB_LIST= EG_DIR=${EG_DIR} \
USE_GITHUB= yes
GH_ACCOUNT= EGroupware
OPTIONS_DEFINE= MYSQL POSTGRES OSSL ZIP GD LDAP MBSTRING
OPTIONS_DEFAULT=MYSQL OSSL ZIP
OPTIONS_DEFINE= MYSQL POSTGRES SSL ZIP GD LDAP MBSTRING
OPTIONS_DEFAULT=MYSQL SSL ZIP
OSSL_DESC= Enable SSL connection support
MBSTRING_DESC= Support multi-byte character sets
POSTGRES_DESC= PostgreSQL database support
ZIP_DESC= Install PHP zip extension
@ -42,7 +41,7 @@ ZIP_DESC= Install PHP zip extension
MYSQL_USE= PHP=mysqli,pdo_mysql
POSTGRES_USE= PHP=pgsql,pdo_pgsql
MBSTRING_USE= PHP=mbstring
OSSL_USE= PHP=openssl
SSL_USE= PHP=openssl
ZIP_USE= PHP=zip
GD_USE= PHP=gd
LDAP_USE= PHP=ldap

View File

@ -21,6 +21,8 @@ MAKE_ARGS+= WITHOUT_SSL=yes
LIB_DEPENDS+= libgnutls.so:security/gnutls
.endif
BROKEN_aarch64= Fails to compile: error: cast from pointer to smaller type loses information
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fusenshi

View File

@ -27,7 +27,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twiggy>0:devel/py-twiggy \
${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \
${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2 \
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose
OPTIONS_DEFINE= BUGZILLA JIRA PHABRICATOR

View File

@ -6,7 +6,7 @@
# Support of GTK+ is checked at compile time and themes directories too.
PORTNAME= xfce4-notifyd
PORTVERSION= 0.3.3
PORTVERSION= 0.3.4
CATEGORIES= deskutils xfce
MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1475442314
SHA256 (xfce4/xfce4-notifyd-0.3.3.tar.bz2) = 986c4cfeb64c21c6bfb2fe65839490ad0f501fdfc8ed10cc71815da5da110f73
SIZE (xfce4/xfce4-notifyd-0.3.3.tar.bz2) = 433388
TIMESTAMP = 1478753728
SHA256 (xfce4/xfce4-notifyd-0.3.4.tar.bz2) = 038535de79b7056058e8d6dceb457959949831853c2594a686ec68b037ae31bf
SIZE (xfce4/xfce4-notifyd-0.3.4.tar.bz2) = 442087

View File

@ -1,6 +1,6 @@
--- ./configure.orig 2013-04-21 08:49:43.000000000 +0000
+++ ./configure 2013-04-21 15:48:06.000000000 +0000
@@ -5649,7 +5649,7 @@
--- configure.orig 2016-11-09 22:20:54 UTC
+++ configure
@@ -5771,7 +5771,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
$as_echo_n "checking whether NLS is requested... " >&6; }
# Check whether --enable-nls was given.
if test "${enable_nls+set}" = set; then :
@ -9,7 +9,7 @@
else
USE_NLS=yes
fi
@@ -13186,7 +13186,7 @@
@@ -13772,7 +13772,7 @@ $as_echo "#define HAVE_LC_MESSAGES 1" >>
fi
fi

View File

@ -1555,6 +1555,7 @@
SUBDIR += mercator
SUBDIR += mercurial
SUBDIR += mercurialeclipse
SUBDIR += meson
SUBDIR += mico
SUBDIR += mime
SUBDIR += mimir
@ -3319,6 +3320,7 @@
SUBDIR += p5-Test-Mock-Guard
SUBDIR += p5-Test-Mock-LWP
SUBDIR += p5-Test-Mock-LWP-Dispatch
SUBDIR += p5-Test-MockDateTime
SUBDIR += p5-Test-MockModule
SUBDIR += p5-Test-MockObject
SUBDIR += p5-Test-MockRandom

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= git-cinnabar
DISTVERSION= 0.4.0b3-6
DISTVERSIONSUFFIX= -g75f38ed
DISTVERSION= 0.4.0b3-14
DISTVERSIONSUFFIX= -g2091b9b
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1476283907
SHA256 (glandium-git-cinnabar-0.4.0b3-6-g75f38ed_GH0.tar.gz) = 4fb18f9bad6f9da0425e403ec2f60374eed3888f5263a46b4133ef46439f9f55
SIZE (glandium-git-cinnabar-0.4.0b3-6-g75f38ed_GH0.tar.gz) = 84068
TIMESTAMP = 1478963838
SHA256 (glandium-git-cinnabar-0.4.0b3-14-g2091b9b_GH0.tar.gz) = bce603f74532bc57cf1bdc3c8fb2c58f5ba7e8d2aac3dd22f3261c4377ddc8fe
SIZE (glandium-git-cinnabar-0.4.0b3-14-g2091b9b_GH0.tar.gz) = 84240

20
devel/meson/Makefile Normal file
View File

@ -0,0 +1,20 @@
# Created by: Ting-Wei Lan <lantw44@gmail.com>
# $FreeBSD$
PORTNAME= meson
PORTVERSION= 0.35.1
CATEGORIES= devel python
MASTER_SITES= https://github.com/mesonbuild/${PORTNAME}/releases/download/${PORTVERSION}/
MAINTAINER= gnome@FreeBSD.org
COMMENT= High performance build system
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ninja:devel/ninja
USES= python:3
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

3
devel/meson/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1478286789
SHA256 (meson-0.35.1.tar.gz) = b47edb53bd7554cb7890a32399fdf6402e8079379393893ab3dec8fffcbfba2c
SIZE (meson-0.35.1.tar.gz) = 510957

View File

@ -0,0 +1,44 @@
From b8ef693a2af7463be0cfa3cc752decd4c4955587 Mon Sep 17 00:00:00 2001
From: Nirbheek Chauhan <nirbheek@centricular.com>
Date: Sat, 29 Oct 2016 12:38:36 +0530
Subject: [PATCH] Clang also supports gnu89/99/11, gnu++03/11/14/1z
The list of supported standards is identical for GCC and Clang.
We don't list duplicate standard names however, such as c++03 and c++09
https://github.com/llvm-mirror/clang/blob/master/include/clang/Frontend/LangStandards.def
--- mesonbuild/compilers.py.orig 2016-10-17 17:38:14 UTC
+++ mesonbuild/compilers.py
@@ -1968,7 +1968,8 @@ class GnuCCompiler(GnuCompiler, CCompile
def get_options(self):
opts = {'c_std' : coredata.UserComboOption('c_std', 'C language standard to use',
- ['none', 'c89', 'c99', 'c11', 'gnu89', 'gnu99', 'gnu11'],
+ ['none', 'c89', 'c99', 'c11',
+ 'gnu89', 'gnu99', 'gnu11'],
'none')}
if self.gcc_type == GCC_MINGW:
opts.update({
@@ -2097,7 +2098,8 @@ class ClangCCompiler(ClangCompiler, CCom
def get_options(self):
return {'c_std' : coredata.UserComboOption('c_std', 'C language standard to use',
- ['none', 'c89', 'c99', 'c11'],
+ ['none', 'c89', 'c99', 'c11',
+ 'gnu89', 'gnu99', 'gnu11',],
'none')}
def get_option_compile_args(self, options):
@@ -2124,8 +2126,9 @@ class ClangCPPCompiler(ClangCompiler,
def get_options(self):
return {'cpp_std' : coredata.UserComboOption('cpp_std', 'C++ language standard to use',
- ['none', 'c++03', 'c++11', 'c++14', 'c++1z'],
- 'none')}
+ ['none', 'c++03', 'c++11', 'c++14', 'c++1z',
+ 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++1z'],
+ 'none')}
def get_option_compile_args(self, options):
args = []

View File

@ -0,0 +1,184 @@
From ac58c13bbfa6c7b47cc54f30e32bd405c944076d Mon Sep 17 00:00:00 2001
From: Nirbheek Chauhan <nirbheek@centricular.com>
Date: Tue, 25 Oct 2016 02:32:57 +0530
Subject: [PATCH] has_function: Only ignore prototype when no includes are
specified
The Autoconf-style check we were doing gives false positives when the
linker uses the prototype defined in the SDK header to decide whether
a function is available or not.
For example, with macOS 10.12, clock_gettime is now implemented
(alongwith other functions). These functions are always defined in the
XCode 8 SDK as weak imports and you're supposed to do a runtime check to
see if the symbols are available and use fallback code if they aren't.
The linker will always successfully link if you use one of those symbols
(without a runtime fallback) even if you target an older OS X version
with -mmacosx-version-min. This is the intended behaviour by Apple.
But this makes has_function useless because to test if the symbol is
available, we must know at link-time whether it is available.
To force the linker to do the check at link-time you must use
'-Wl,-no_weak_imports` *and* use the prototype in time.h which has an
availability macro which tells the linker whether the symbol is
available or not based on the -mmacosx-version-min flag.
An autoconf-style check would override this prototype and use its own
which would result in the linker thinking that the function is always
available (a false positive). Worse, this would manifest at runtime and
might not be picked up immediately.
We now use the function prototype in the user-provided includes if the
'prefix' kwarg contains a `#include` and use the old Autoconf-style
check if not. I've tested that the configure checks done by GStreamer
and GLib are completely unaffected by this; at least on Linux.
The next commit will also add `-Wl,-no_weak_imports` to extra_args by
default so that Meson avoids this mess completely. We always want this
because the user would not do a has_function check if they have
a runtime fallback for the function in their code.
--- mesonbuild/compilers.py.orig 2016-11-09 17:25:49 UTC
+++ mesonbuild/compilers.py
@@ -891,55 +891,65 @@ int main(int argc, char **argv) {
raise EnvironmentException('Could not determine alignment of %s. Sorry. You might want to file a bug.' % typename)
return align
- def has_function(self, funcname, prefix, env, extra_args=None, dependencies=None):
+ @staticmethod
+ def _no_prototype_templ():
"""
- First, this function looks for the symbol in the default libraries
- provided by the compiler (stdlib + a few others usually). If that
- fails, it checks if any of the headers specified in the prefix provide
- an implementation of the function, and if that fails, it checks if it's
- implemented as a compiler-builtin.
+ Try to find the function without a prototype from a header by defining
+ our own dummy prototype and trying to link with the C library (and
+ whatever else the compiler links in by default). This is very similar
+ to the check performed by Autoconf for AC_CHECK_FUNCS.
"""
- if extra_args is None:
- extra_args = []
- # Define the symbol to something else in case it is defined by the
- # includes or defines listed by the user `{0}` or by the compiler.
- # Then, undef the symbol to get rid of it completely.
- templ = '''
+ # Define the symbol to something else since it is defined by the
+ # includes or defines listed by the user (prefix -> {0}) or by the
+ # compiler. Then, undef the symbol to get rid of it completely.
+ head = '''
#define {1} meson_disable_define_of_{1}
#include <limits.h>
{0}
#undef {1}
'''
-
# Override any GCC internal prototype and declare our own definition for
# the symbol. Use char because that's unlikely to be an actual return
# value for a function which ensures that we override the definition.
- templ += '''
+ head += '''
#ifdef __cplusplus
extern "C"
#endif
char {1} ();
'''
-
- # glibc defines functions that are not available on Linux as stubs that
- # fail with ENOSYS (such as e.g. lchmod). In this case we want to fail
- # instead of detecting the stub as a valid symbol.
- # We always include limits.h above to ensure that these are defined for
- # stub functions.
- stubs_fail = '''
- #if defined __stub_{1} || defined __stub___{1}
- fail fail fail this function is not going to work
- #endif
- '''
- templ += stubs_fail
-
- # And finally the actual function call
- templ += '''
- int
- main ()
+ # The actual function call
+ main = '''
+ int main ()
{{
return {1} ();
}}'''
+ return head, main
+
+ @staticmethod
+ def _have_prototype_templ():
+ """
+ Returns a head-er and main() call that uses the headers listed by the
+ user for the function prototype while checking if a function exists.
+ """
+ # Add the 'prefix', aka defines, includes, etc that the user provides
+ head = '#include <limits.h>\n{0}\n'
+ # We don't know what the function takes or returns, so just add
+ # a useless reference to it
+ main = '\nint main() {{ {1}; }}'
+ return head, main
+
+ def has_function(self, funcname, prefix, env, extra_args=None, dependencies=None):
+ """
+ First, this function looks for the symbol in the default libraries
+ provided by the compiler (stdlib + a few others usually). If that
+ fails, it checks if any of the headers specified in the prefix provide
+ an implementation of the function, and if that fails, it checks if it's
+ implemented as a compiler-builtin.
+ """
+ if extra_args is None:
+ extra_args = []
+
+ # Short-circuit if the check is already provided by the cross-info file
varname = 'has function ' + funcname
varname = varname.replace(' ', '_')
if self.is_cross:
@@ -948,16 +958,35 @@ int main(int argc, char **argv) {
if isinstance(val, bool):
return val
raise EnvironmentException('Cross variable {0} is not a boolean.'.format(varname))
- if self.links(templ.format(prefix, funcname), env, extra_args, dependencies):
- return True
+
+ # glibc defines functions that are not available on Linux as stubs that
+ # fail with ENOSYS (such as e.g. lchmod). In this case we want to fail
+ # instead of detecting the stub as a valid symbol.
+ # We already included limits.h earlier to ensure that these are defined
+ # for stub functions.
+ stubs_fail = '''
+ #if defined __stub_{1} || defined __stub___{1}
+ fail fail fail this function is not going to work
+ #endif
+ '''
+
+ # If we have any includes in the prefix supplied by the user, assume
+ # that the user wants us to use the symbol prototype defined in those
+ # includes. If not, then try to do the Autoconf-style check with
+ # a dummy prototype definition of our own.
+ # This is needed when the linker determines symbol availability from an
+ # SDK based on the prototype in the header provided by the SDK.
+ # Ignoring this prototype would result in the symbol always being
+ # marked as available.
+ if '#include' in prefix:
+ head, main = self._have_prototype_templ()
+ else:
+ head, main = self._no_prototype_templ()
+ templ = head + stubs_fail + main
+
# Add -O0 to ensure that the symbol isn't optimized away by the compiler
args = extra_args + self.get_no_optimization_args()
- # Sometimes the implementation is provided by the header, or the header
- # redefines the symbol to be something else. In that case, we want to
- # still detect the function. We still want to fail if __stub_foo or
- # _stub_foo are defined, of course.
- header_templ = '#include <limits.h>\n{0}\n' + stubs_fail + '\nint main() {{ {1}; }}'
- if self.links(header_templ.format(prefix, funcname), env, args, dependencies):
+ if self.links(templ.format(prefix, funcname), env, extra_args, dependencies):
return True
# Some functions like alloca() are defined as compiler built-ins which
# are inlined by the compiler, so test for that instead. Built-ins are

View File

@ -0,0 +1,23 @@
From 4be8e71fb380a0541b69992539a0695ea29b3205 Mon Sep 17 00:00:00 2001
From: Nirbheek Chauhan <nirbheek@centricular.com>
Date: Tue, 25 Oct 2016 08:01:21 +0530
Subject: [PATCH] has_function: Try to use the function being checked
Simply placing a reference to it isn't enough for the linker to try and
think it's being used and do a symbol availability check with
-Wl,-no_weak_imports on OS X ld.
--- mesonbuild/compilers.py.orig 2016-11-09 17:43:55 UTC
+++ mesonbuild/compilers.py
@@ -933,9 +933,9 @@ int main(int argc, char **argv) {
"""
# Add the 'prefix', aka defines, includes, etc that the user provides
head = '#include <limits.h>\n{0}\n'
- # We don't know what the function takes or returns, so just add
- # a useless reference to it
- main = '\nint main() {{ {1}; }}'
+ # We don't know what the function takes or returns, so try to use it as
+ # a function pointer
+ main = '\nint main() {{ int a = (int) &{1}; }}'
return head, main
def has_function(self, funcname, prefix, env, extra_args=None, dependencies=None):

View File

@ -0,0 +1,20 @@
From f144e50f5ca65ba67c23ff262a79c35a2c444006 Mon Sep 17 00:00:00 2001
From: Nirbheek Chauhan <nirbheek@centricular.com>
Date: Tue, 8 Nov 2016 16:22:40 +0530
Subject: [PATCH] has_function: Cast to void* instead of int
Clang++ doesn't allow that, but void* will always be allowed because
lots of projects depend on that.
error: cast from pointer to smaller type 'int' loses information
--- mesonbuild/compilers.py.orig 2016-11-09 17:42:03 UTC
+++ mesonbuild/compilers.py
@@ -935,7 +935,7 @@ int main(int argc, char **argv) {
head = '#include <limits.h>\n{0}\n'
# We don't know what the function takes or returns, so try to use it as
# a function pointer
- main = '\nint main() {{ int a = (int) &{1}; }}'
+ main = '\nint main() {{ void *a = (void*) &{1}; }}'
return head, main
def has_function(self, funcname, prefix, env, extra_args=None, dependencies=None):

View File

@ -0,0 +1,34 @@
From f7431fd5dba1f59ce70b07d7074999d1e7442887 Mon Sep 17 00:00:00 2001
From: Jussi Pakkanen <jpakkane@gmail.com>
Date: Wed, 9 Nov 2016 15:46:40 +0200
Subject: [PATCH] Can specify scan-build executable with an environment
variable. Closes #1015.
--- mesonbuild/scripts/scanbuild.py.orig 2016-10-17 17:38:14 UTC
+++ mesonbuild/scripts/scanbuild.py
@@ -17,10 +17,10 @@ import subprocess
import shutil
import tempfile
-def scanbuild(srcdir, blddir, privdir, logdir, args):
+def scanbuild(exename, srcdir, blddir, privdir, logdir, args):
with tempfile.TemporaryDirectory(dir=privdir) as scandir:
- meson_cmd = ['scan-build'] + args
- build_cmd = ['scan-build', '-o', logdir, 'ninja']
+ meson_cmd = [exename] + args
+ build_cmd = [exename, '-o', logdir, 'ninja']
rc = subprocess.call(meson_cmd + [srcdir, scandir])
if rc != 0:
return rc
@@ -33,7 +33,8 @@ def run(args):
privdir = os.path.join(blddir, 'meson-private')
logdir = os.path.join(blddir, 'meson-logs/scanbuild')
shutil.rmtree(logdir, ignore_errors=True)
- if not shutil.which('scan-build'):
- print('Scan-build not installed')
+ exename = os.environ.get('SCANBUILD', 'scan-build')
+ if not shutil.which(exename):
+ print('Scan-build not installed.')
return 1
- return scanbuild(srcdir, blddir, privdir, logdir, meson_cmd)
+ return scanbuild(exename, srcdir, blddir, privdir, logdir, meson_cmd)

View File

@ -0,0 +1,60 @@
From 999669e8501501d4618588008e4bf4353a1ace2a Mon Sep 17 00:00:00 2001
From: Patrick Griffis <tingping@tingping.se>
Date: Fri, 30 Sep 2016 23:28:40 -0400
Subject: [PATCH] setup.py: On Unix install scripts without .py suffix
--- setup.py.orig 2016-10-17 17:38:14 UTC
+++ setup.py
@@ -14,7 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+import os
import sys
+from os import path
if sys.version_info[0] < 3:
print('Tried to install with Python 2, Meson only supports Python 3.')
@@ -25,8 +27,32 @@ if sys.version_info[0] < 3:
# plain distutils when setuptools is not available.
try:
from setuptools import setup
+ from setuptools.command.install_scripts import install_scripts as orig
except ImportError:
from distutils.core import setup
+ from distutils.command.install_scripts import install_scripts as orig
+
+from distutils.file_util import copy_file
+from distutils.dir_util import mkpath
+from stat import ST_MODE
+
+class install_scripts(orig):
+ def run(self):
+ if sys.platform == 'win32':
+ super().run()
+ return
+
+ self.outfiles = []
+ if not self.dry_run:
+ mkpath(self.install_dir)
+
+ # We want the files to be installed without a suffix on Unix
+ for infile in self.get_inputs():
+ in_stripped = infile[:-3] if infile.endswith('.py') else infile
+ outfile = path.join(self.install_dir, in_stripped)
+ # NOTE: Mode is preserved by default
+ copy_file(infile, outfile, dry_run=self.dry_run)
+ self.outfiles.append(outfile)
from mesonbuild.coredata import version
@@ -46,7 +72,8 @@ setup(name='meson',
'mesonconf.py',
'mesonintrospect.py',
'wraptool.py'],
- data_files=[('share/man/man1', ['man/meson.1',
+ cmdclass={'install_scripts': install_scripts},
+ data_files=[('man/man1' , ['man/meson.1',
'man/mesonconf.1',
'man/mesonintrospect.1',
'man/wraptool.1'])],

9
devel/meson/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
Meson is a cross-platform build system designed to be both as fast and as
user friendly as possible. It supports many languages and compilers, including
GCC, Clang and Visual Studio. Its build definitions are written in a simple
non-turing complete DSL. The main design point of Meson is that every moment
a developer spends writing or debugging build definitions is a second wasted.
So is every second spent waiting for the build system to actually start
compiling code.
WWW: http://mesonbuild.com

View File

@ -27,4 +27,11 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-IO-Socket-IP>=0.21:net/p5-IO-Socket-IP
RUN_DEPENDS+= p5-IO-Socket-IP>=0.21:net/p5-IO-Socket-IP
.endif
.include <bsd.port.post.mk>

View File

@ -21,4 +21,11 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.31:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.31:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>

View File

@ -27,4 +27,11 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>

View File

@ -28,4 +28,11 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>

View File

@ -30,4 +30,10 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502200
TEST_DEPENDS+= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= Test-MockDateTime
PORTVERSION= 0.02
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= hvo.pm@xs4all.nl
COMMENT= Mock DateTime->now calls during tests
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-DateTime-Format-DateParse>=0:devel/p5-DateTime-Format-DateParse
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1478797177
SHA256 (Test-MockDateTime-0.02.tar.gz) = c6370a58b9f291fc205121caf92a89865451d49559b0163a8dc7e606f34878dc
SIZE (Test-MockDateTime-0.02.tar.gz) = 9837

View File

@ -0,0 +1,19 @@
Getting the current time sometimes is not very helpful
for testing scenarios.
Instead, if you could obtain a known value during the runtime
of a testcase will make your results predictable.
Why another Date Mocker?
I wanted something simple with a very concise usage pattern
and a mocked date should only exist and stay constant inside a scope.
After leaving the scope the current time should be back.
This lead to this tiny module.
This simple module allows faking a given date and time
for the runtime of a subsequent code block.
By default the on keyword is exported into the namespace
of the test file.
The date to get mocked must be in a format that is recognized
by DateTime::Format::DateParse.
WWW: http://search.cpan.org/dist/Test-MockDateTime/

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/Test/MockDateTime.pm
%%PERL5_MAN3%%/Test::MockDateTime.3.gz

View File

@ -17,4 +17,11 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Unicode-Collate>=1.04:textproc/p5-Unicode-Collate
RUN_DEPENDS+= p5-Unicode-Collate>=1.04:textproc/p5-Unicode-Collate
.endif
.include <bsd.port.post.mk>

View File

@ -22,4 +22,10 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.86:devel/p5-ExtUtils-MakeMaker
.endif
.include <bsd.port.post.mk>

View File

@ -22,4 +22,10 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.86:devel/p5-ExtUtils-MakeMaker
.endif
.include <bsd.port.post.mk>

View File

@ -24,4 +24,11 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>

View File

@ -18,4 +18,10 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.82:devel/p5-ExtUtils-MakeMaker
.endif
.include <bsd.port.post.mk>

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= backports_abc
PORTVERSION= 0.4
PORTVERSION= 0.5
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,2 +1,3 @@
SHA256 (backports_abc-0.4.tar.gz) = 8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5
SIZE (backports_abc-0.4.tar.gz) = 5593
TIMESTAMP = 1479034599
SHA256 (backports_abc-0.5.tar.gz) = 033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde
SIZE (backports_abc-0.5.tar.gz) = 9807

View File

@ -28,10 +28,6 @@ GH_TAGNAME= b24df9f
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2
.endif
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

View File

@ -14,8 +14,7 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \
${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
USES= python
USE_PYTHON= autoplist distutils

View File

@ -3,9 +3,13 @@ This patch is necessary for us to split PyQt5 up into several different ports.
It works by conditionally building and installing some tools (such as
pylupdate5 and pyrcc5), replacing the all-encompassing PyQt5.api file that
depends on different modules with module-specific .api files.
--- configure.py.orig 2015-10-25 11:42:16 UTC
+++ configure.py
@@ -1458,13 +1458,13 @@ def generate_makefiles(target_config, ve
Also fixes a bug where dbus support drops multiple -I flags produced
by pkg-config --cflags dbus-1 .
--- configure.py.orig 2016-04-24 10:55:08.000000000 +0000
+++ configure.py 2016-10-30 22:16:19.159104000 +0000
@@ -1482,13 +1482,13 @@
generate_sip_module_code(target_config, verbose, no_timestamp, parts,
tracing, 'Qt', sip_flags)
@ -24,7 +28,7 @@ depends on different modules with module-specific .api files.
# Generate the pyuic5 wrapper.
pyuic_wrapper = generate_pyuic5_wrapper(target_config)
@@ -1483,22 +1483,6 @@ def generate_makefiles(target_config, ve
@@ -1507,22 +1507,6 @@
source_path('examples', 'quick', 'tutorials', 'extending',
'chapter6-plugins'))
@ -47,28 +51,28 @@ depends on different modules with module-specific .api files.
# Generate the Python dbus module.
if target_config.pydbus_module_dir != '':
mname = 'dbus'
@@ -1526,21 +1510,24 @@ def generate_makefiles(target_config, ve
@@ -1548,21 +1532,24 @@
out_f.write('''TEMPLATE = subdirs
CONFIG += ordered nostrip
SUBDIRS = %s
+''' % (' '.join(subdirs)))
+''' % ' '.join(subdirs))
+ if "QtCore" in target_config.pyqt_modules:
+ out_f.write('''
init_py.files = %s
init_py.path = %s/PyQt5
init_py.path = %s
INSTALLS += init_py
-''' % (' '.join(subdirs), source_path('__init__.py'), target_config.pyqt_module_dir))
+''' % (source_path('__init__.py'), target_config.pyqt_module_dir))
-''' % (' '.join(subdirs), source_path('__init__.py'), qmake_quote(target_config.pyqt_module_dir + '/PyQt5')))
+''' % (source_path('__init__.py'), qmake_quote(target_config.pyqt_module_dir + '/PyQt5')))
- # Install the uic module and the pyuic5 wrapper.
- out_f.write('''
+ # Install the uic module and the pyuic5 wrapper.
+ out_f.write('''
uic_package.files = %s
uic_package.path = %s/PyQt5
uic_package.path = %s
INSTALLS += uic_package
''' % (source_path('pyuic', 'uic'), target_config.pyqt_module_dir))
''' % (source_path('pyuic', 'uic'), qmake_quote(target_config.pyqt_module_dir + '/PyQt5')))
- if not target_config.no_tools:
- out_f.write('''
@ -77,7 +81,7 @@ depends on different modules with module-specific .api files.
pyuic5.files = %s
pyuic5.path = %s
INSTALLS += pyuic5
@@ -1548,11 +1535,12 @@ INSTALLS += pyuic5
@@ -1579,11 +1566,12 @@
# Install the QScintilla .api file.
if target_config.qsci_api:
@ -85,10 +89,21 @@ depends on different modules with module-specific .api files.
out_f.write('''
-qscintilla_api.files = PyQt5.api
+qscintilla_api.files = %s
qscintilla_api.path = %s/api/python
qscintilla_api.path = %s
INSTALLS += qscintilla_api
-''' % target_config.qsci_api_dir)
+''' % (api_list, target_config.qsci_api_dir))
-''' % qmake_quote(target_config.qsci_api_dir + '/api/python'))
+''' % (api_list, qmake_quote(target_config.qsci_api_dir + '/api/python')))
out_f.close()
@@ -2140,7 +2128,9 @@
else:
dlist = target_config.dbus_inc_dirs
- target_config.dbus_inc_dirs = []
+ # Don't reset dbus_inc_dirs, because it will forget the flags
+ # found for dbus, above (which might require multiple -I flags).
+ # target_config.dbus_inc_dirs = []
for d in dlist:
if os.access(os.path.join(d, 'dbus', 'dbus-python.h'), os.F_OK):

View File

@ -213,6 +213,7 @@ bin/pyuic5
%%PYQT_SIPDIR%%/QtCore/quuid.sip
%%PYQT_SIPDIR%%/QtCore/qvariant.sip
%%PYQT_SIPDIR%%/QtCore/qvariantanimation.sip
%%PYQT_SIPDIR%%/QtCore/qversionnumber.sip
%%PYQT_SIPDIR%%/QtCore/qwaitcondition.sip
%%PYQT_SIPDIR%%/QtCore/qwineventnotifier.sip
%%PYQT_SIPDIR%%/QtCore/qxmlstream.sip

View File

@ -1,2 +1,3 @@
SHA256 (PyQt-gpl-5.5.1.tar.gz) = 0a70ef94fbffcf674b0dde024aae2a2a7a3f5a8c42806109ff7df2c941bd8386
SIZE (PyQt-gpl-5.5.1.tar.gz) = 3705749
TIMESTAMP = 1477759251
SHA256 (PyQt5_gpl-5.6.tar.gz) = 2e481a6c4c41b96ed3b33449e5f9599987c63a5c8db93313bd57a6acbf20f0e1
SIZE (PyQt5_gpl-5.6.tar.gz) = 3720782

View File

@ -15,7 +15,6 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:devel/py-dateutil \
${PYTHON_PKGNAMEPREFIX}pytz>=2010:devel/py-pytz
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2:devel/py-unittest2
OPTIONS_DEFINE= TESTS
TESTS_DESC= Include tools for unit tests

View File

@ -1,2 +1,3 @@
SHA256 (sip-4.17.tar.gz) = 603026822adf8673fca6e0ea20b02c3c4a2dccb309647656f7269adc8de89060
SIZE (sip-4.17.tar.gz) = 959835
TIMESTAMP = 1473848835
SHA256 (sip-4.18.tar.gz) = f1dc5c81c07a9ad97edcd4a0af964a41e420024ba7ca165afd2b351efd249cb6
SIZE (sip-4.18.tar.gz) = 991980

View File

@ -1,6 +1,7 @@
bin/sip
%%PYTHON_INCLUDEDIR%%/sip.h
%%PYTHON_SITELIBDIR%%/sip.so
%%PYTHON_SITELIBDIR%%/sip.pyi
%%PYTHON_SITELIBDIR%%/sipconfig.py
%%PYTHON_SITELIBDIR%%/sipconfig.pyc
%%PYTHON_SITELIBDIR%%/sipconfig.pyo

View File

@ -21,7 +21,6 @@ NO_ARCH= yes
.if ${PYTHON_REL} < 3000
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2
.if ${PYTHON_REL} < 3300
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
.endif

View File

@ -13,8 +13,9 @@ LICENSE= GPLv2
LIB_DEPENDS= libboost_serialization.so:devel/boost-libs
BROKEN_powerpc64= Does not build
BROKEN_FreeBSD_9= Does not link
BROKEN_powerpc64= Does not build
BROKEN_sparc64= Does not compile: error: to_string is not a member of std
USES= compiler:c++11-lib cpe gmake libtool pathfix pkgconfig ssl \
tar:bzip2

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= rbldnsd
PORTVERSION= 0.997a
PORTVERSION= 0.998
CATEGORIES= dns
MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/ \
ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
@ -12,8 +12,6 @@ COMMENT= Small and fast DNS daemon especially for DNSBL zones
LICENSE= GPLv2
ROOTDIR= ${STAGEDIR}${PREFIX}/etc/rbldnsd
HAS_CONFIGURE= yes
USE_RC_SUBR= rbldnsd
USERS= rbldns
@ -24,11 +22,8 @@ SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
do-install:
if [ ! -d ${ROOTDIR} ]; then \
${INSTALL} -d -m 710 ${ROOTDIR}; \
fi
${INSTALL_DATA} -m 640 \
${FILESDIR}/example ${ROOTDIR}
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${FILESDIR}/example ${STAGEDIR}${ETCDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 ${STAGEDIR}${PREFIX}/man/man8
@ -37,10 +32,5 @@ do-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/CHANGES-0.81 ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/changelog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/copyright ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.default ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.init ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/rbldnsd.spec ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (rbldnsd-0.997a.tar.gz) = 9c17c6bde6995058204a66805444039d31523a7d4ef40cec059e505a0882a8ef
SIZE (rbldnsd-0.997a.tar.gz) = 144771
TIMESTAMP = 1478845478
SHA256 (rbldnsd-0.998.tar.gz) = bc36082d46828ecdc0c9e3f8f009596746e1242b2b4002ab9cf9b93fe36e4924
SIZE (rbldnsd-0.998.tar.gz) = 145363

View File

@ -1,13 +1,8 @@
@owner rbldns
@group rbldns
sbin/rbldnsd
etc/rbldnsd/example
%%ETCDIR%%/example
man/man8/rbldnsd.8.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES-0.81
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/changelog
%%PORTDOCS%%%%DOCSDIR%%/copyright
%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.default
%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.init
%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.spec

View File

@ -8,8 +8,8 @@ CATEGORIES= editors elisp
MASTER_SITES= http://git.chise.org/elisp/dist/apel/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER?= nobutaka@FreeBSD.org
COMMENT?= Portable Emacs Library
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Portable Emacs Library
LICENSE= GPLv2
@ -33,14 +33,6 @@ MAKE_ARGS+= PREFIX="${STAGEDIR}${LOCALBASE}" \
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${EMACS_VER:C/\..*//} >= 23
PLIST_SUB+= EMACS23="" NOEMACS23="@comment "
.else
PLIST_SUB+= EMACS23="@comment " NOEMACS23=""
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC} ; \
@ -48,4 +40,4 @@ post-install-DOCS-on:
${INSTALL_DATA} $${i} ${STAGEDIR}${DOCSDIR} ; \
done)
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- APEL-MK.orig Wed Dec 22 13:14:21 1999
+++ APEL-MK Wed May 10 23:45:36 2000
--- APEL-MK.orig 2006-12-20 17:24:49 UTC
+++ APEL-MK
@@ -41,7 +41,7 @@
;; Make "emu" subdirectory.
"emu"

View File

@ -1,8 +1,8 @@
Index: broken.el
===================================================================
--- broken.el (revision 2)
+++ broken.el (working copy)
@@ -58,51 +58,51 @@
--- broken.el.orig 2005-07-06 02:08:52 UTC
+++ broken.el
@@ -58,51 +58,51 @@ FACILITY must be symbol.
If ASSERTION is not omitted and evaluated to nil and NO-NOTICE is nil,
it is noticed."

View File

@ -1,8 +1,8 @@
Index: filename.el
===================================================================
--- filename.el (revision 2)
+++ filename.el (working copy)
@@ -102,26 +102,26 @@
--- filename.el.orig 2005-07-06 02:08:52 UTC
+++ filename.el
@@ -102,26 +102,26 @@ Moreover, if you want to convert Japanes
inc-i '(1+ i))
(setq sref 'aref
inc-i '(+ i (char-length chr))))

View File

@ -1,7 +1,7 @@
Index: pccl.el
===================================================================
--- pccl.el (revision 2)
+++ pccl.el (working copy)
--- pccl.el.orig 2005-07-06 02:08:53 UTC
+++ pccl.el
@@ -27,138 +27,138 @@
(require 'broken)

View File

@ -1,8 +1,8 @@
Index: product.el
===================================================================
--- product.el (revision 2)
+++ product.el (working copy)
@@ -232,21 +232,21 @@
--- product.el.orig 2006-04-24 05:53:58 UTC
+++ product.el
@@ -232,21 +232,21 @@ PRODUCT-DEF is a definition of the produ
(product-version (product-version product))
(product-code-name (product-code-name product))
(product-version-string (product-version-string product)))
@ -39,7 +39,7 @@ Index: product.el
(defun product-version-as-string (product)
"Return version number of product as a string.
@@ -293,13 +293,13 @@
@@ -293,13 +293,13 @@ The 1st argument is a product structure.
PRODUCT is a product structure which returned by `product-define'."
(let (dest)
(product-for-each product nil
@ -60,7 +60,7 @@ Index: product.el
dest))
(defun product-string-verbose (product)
@@ -307,13 +307,13 @@
@@ -307,13 +307,13 @@ PRODUCT is a product structure which ret
PRODUCT is a product structure which returned by `product-define'."
(let (dest)
(product-for-each product nil

View File

@ -1,7 +1,7 @@
Index: pym.el
===================================================================
--- pym.el (revision 2)
+++ pym.el (working copy)
--- pym.el.orig 2005-07-06 02:08:53 UTC
+++ pym.el
@@ -63,15 +63,15 @@
See also the function `defun'."
(or (and (fboundp name)
@ -27,7 +27,7 @@ Index: pym.el
(put 'defmacro-maybe 'lisp-indent-function 'defun)
(defmacro defmacro-maybe (name &rest everything-else)
@@ -79,15 +79,15 @@
@@ -79,15 +79,15 @@ See also the function `defun'."
See also the function `defmacro'."
(or (and (fboundp name)
(not (get name 'defmacro-maybe)))
@ -52,7 +52,7 @@ Index: pym.el
(put 'defsubst-maybe 'lisp-indent-function 'defun)
(defmacro defsubst-maybe (name &rest everything-else)
@@ -95,15 +95,15 @@
@@ -95,15 +95,15 @@ See also the function `defmacro'."
See also the macro `defsubst'."
(or (and (fboundp name)
(not (get name 'defsubst-maybe)))
@ -77,7 +77,7 @@ Index: pym.el
(defmacro defalias-maybe (symbol definition)
"Define SYMBOL as an alias for DEFINITION if SYMBOL is not defined.
@@ -111,35 +111,35 @@
@@ -111,35 +111,35 @@ See also the function `defalias'."
(setq symbol (eval symbol))
(or (and (fboundp symbol)
(not (get symbol 'defalias-maybe)))
@ -130,7 +130,7 @@ Index: pym.el
(defmacro defun-maybe-cond (name args &optional doc &rest clauses)
"Define NAME as a function if NAME is not defined.
@@ -152,26 +152,26 @@
@@ -152,26 +152,26 @@ See also the function `defun'."
doc nil))
(or (and (fboundp name)
(not (get name 'defun-maybe)))
@ -177,7 +177,7 @@ Index: pym.el
(defmacro defmacro-maybe-cond (name args &optional doc &rest clauses)
"Define NAME as a macro if NAME is not defined.
@@ -184,26 +184,26 @@
@@ -184,26 +184,26 @@ See also the function `defmacro'."
doc nil))
(or (and (fboundp name)
(not (get name 'defmacro-maybe)))
@ -224,7 +224,7 @@ Index: pym.el
(defmacro defsubst-maybe-cond (name args &optional doc &rest clauses)
"Define NAME as an inline function if NAME is not defined.
@@ -216,26 +216,26 @@
@@ -216,26 +216,26 @@ See also the macro `defsubst'."
doc nil))
(or (and (fboundp name)
(not (get name 'defsubst-maybe)))
@ -271,7 +271,7 @@ Index: pym.el
;;; Edebug spec.
@@ -246,7 +246,7 @@
@@ -246,7 +246,7 @@ See also the macro `defsubst'."
"Set the edebug-form-spec property of SYMBOL according to SPEC.
Both SYMBOL and SPEC are unevaluated. The SPEC can be 0, t, a symbol
\(naming a function\), or a list."

View File

@ -1,7 +1,7 @@
Index: static.el
===================================================================
--- static.el (revision 2)
+++ static.el (working copy)
--- static.el.orig 2005-07-06 02:08:53 UTC
+++ static.el
@@ -29,38 +29,38 @@
"Like `if', but evaluate COND at compile time."
(if (eval cond)

View File

@ -14,10 +14,8 @@
%%EMACS_VERSION_SITE_LISPDIR%%/emu/broken.elc
%%EMACS_VERSION_SITE_LISPDIR%%/emu/emu.el
%%EMACS_VERSION_SITE_LISPDIR%%/emu/emu.elc
%%NOEMACS23%%%%EMACS_VERSION_SITE_LISPDIR%%/emu/inv-19.el
%%NOEMACS23%%%%EMACS_VERSION_SITE_LISPDIR%%/emu/inv-19.elc
%%EMACS23%%%%EMACS_VERSION_SITE_LISPDIR%%/emu/inv-23.el
%%EMACS23%%%%EMACS_VERSION_SITE_LISPDIR%%/emu/inv-23.elc
%%EMACS_VERSION_SITE_LISPDIR%%/emu/inv-23.el
%%EMACS_VERSION_SITE_LISPDIR%%/emu/inv-23.elc
%%EMACS_VERSION_SITE_LISPDIR%%/emu/invisible.el
%%EMACS_VERSION_SITE_LISPDIR%%/emu/invisible.elc
%%EMACS_VERSION_SITE_LISPDIR%%/emu/mcharset.el

View File

@ -9,8 +9,8 @@ CATEGORIES= editors elisp
MASTER_SITES= http://git.chise.org/elisp/dist/flim/flim-1.14/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER?= nobutaka@FreeBSD.org
COMMENT?= Message representation or encoding elisp library for emacs
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Message representation or encoding elisp library for emacs
LICENSE= GPLv2
@ -49,31 +49,10 @@ MAKE_ARGS+= PREFIX="${STAGEDIR}${LOCALBASE}" \
.include <bsd.port.pre.mk>
.if defined(EMACS_PORT_NAME)
.if (${EMACS_PORT_NAME} == "emacs25") || (${EMACS_PORT_NAME} == "emacs-nox11") || (${EMACS_PORT_NAME} == "emacs-devel")
DEPPORT_SUFFIX=
.else
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
.endif
.if (${EMACS_PORT_NAME} == "emacs25") || (${EMACS_PORT_NAME} == "emacs-nox11") || (${EMACS_PORT_NAME} == "emacs-devel")
PLIST= ${PKGDIR}/pkg-plist.emacs21
.endif
# depends on apel (case of xemacs-21.x or later)
.if defined(EMACS_PACKAGESDIR)
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/apel/emu.el:editors/xemacs-packages
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/apel/emu.el:editors/xemacs-packages
MAKE_ARGS+= PACKAGEDIR="${STAGEDIR}${LOCALBASE}/${EMACS_PACKAGESDIR}"
.else
# depends on apel (case of gnu emacsen etc...)
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:editors/apel${DEPPORT_SUFFIX}
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:editors/apel${DEPPORT_SUFFIX}
.endif
.else
.BEGIN:
@${ECHO} "Error: Bad port."
@${ECHO} "You must define EMACS_PORT_NAME."
@${FALSE}
.endif
# depends on apel
BUILD_DEPENDS+= apel-${EMACS_PORT_NAME}>0:editors/apel
RUN_DEPENDS+= apel-${EMACS_PORT_NAME}>0:editors/apel
.if !defined(BUILD_INFO_BY_EMACS) || (${BUILD_INFO_BY_EMACS} == "NO")
# info files JIS to EUC
@ -205,7 +184,7 @@ manifest-install:
@${RM} ${WRKDIR}/${MANIFEST}
@${CAT} ${PLIST} | ${GREP} -e "^%%EMACS_PACKAGESDIR%%" | \
${SED} -e "s;^%%EMACS_PACKAGESDIR%%/;;" > ${WRKDIR}/${MANIFEST}
@${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
${STAGEDIR}${LOCALBASE}/${EMACS_PACKAGESDIR}/pkginfo/
pkgcookie-install:

View File

@ -1,5 +1,5 @@
--- FLIM-CFG.orig Tue Sep 15 15:26:08 1998
+++ FLIM-CFG Sun May 9 01:33:26 1999
--- FLIM-CFG.orig 2006-12-20 17:40:42 UTC
+++ FLIM-CFG
@@ -8,6 +8,8 @@
(add-to-list 'load-path

View File

@ -1,8 +1,8 @@
Index: eword-encode.el
===================================================================
--- eword-encode.el (revision 2)
+++ eword-encode.el (working copy)
@@ -162,15 +162,15 @@
--- eword-encode.el.orig 2007-09-06 07:48:50 UTC
+++ eword-encode.el
@@ -162,15 +162,15 @@ MODE is allows `text', `comment', `phras
;;;
(defmacro make-ew-rword (text charset encoding type)
@ -23,7 +23,7 @@ Index: eword-encode.el
(defun ew-find-charset-rule (charsets)
(if charsets
@@ -184,31 +184,31 @@
@@ -184,30 +184,30 @@ MODE is allows `text', `comment', `phras
;; which is not depended on the Mule model. We should redesign
;; `eword-encode-split-string' to avoid to depend on the Mule model.
(if (featurep 'utf-2000)
@ -58,12 +58,7 @@ Index: eword-encode.el
- mode)
- ))
- wl)))
+ (let ((ret (ew-find-charset-rule (car word))))
+ (make-ew-rword (cdr word) (car ret)(nth 1 ret) mode)
+ )))
+ wl))
+ )
-
-;; for legacy Mule
-(defun tm-eword::words-to-ruled-words (wl &optional mode)
- (mapcar (function
@ -73,7 +68,11 @@ Index: eword-encode.el
- )))
- wl))
-)
-
+ (let ((ret (ew-find-charset-rule (car word))))
+ (make-ew-rword (cdr word) (car ret)(nth 1 ret) mode)
+ )))
+ wl))
+ )
(defun ew-space-process (seq)
(let (prev a ac b c cc)
(while seq

View File

@ -1,7 +1,7 @@
Index: hex-util.el
===================================================================
--- hex-util.el (revision 2)
+++ hex-util.el (working copy)
--- hex-util.el.orig 2007-09-05 23:39:48 UTC
+++ hex-util.el
@@ -28,14 +28,14 @@
(eval-when-compile

View File

@ -1,6 +1,6 @@
--- hmac-def.el.orig 2007-09-06 08:39:48.000000000 +0900
+++ hmac-def.el 2012-08-23 00:42:35.000000000 +0900
@@ -39,46 +39,46 @@
--- hmac-def.el.orig 2007-09-05 23:39:48 UTC
+++ hmac-def.el
@@ -39,46 +39,46 @@ a string and return a digest of it (in b
B is a byte-length of a block size of H. (B=64 for both SHA1 and MD5.)
L is a byte-length of hash outputs. (L=16 for MD5, L=20 for SHA1.)
If BIT is non-nil, truncate output to specified bits."

View File

@ -1,8 +1,8 @@
Index: md4.el
===================================================================
--- md4.el (revision 2)
+++ md4.el (working copy)
@@ -78,21 +78,20 @@
--- md4.el.orig 2007-09-05 23:39:48 UTC
+++ md4.el
@@ -78,21 +78,20 @@ bytes long. N is required to handle str
(setq m (md4-copy64 (substring buf 64)))
(md4-64 m)))
@ -31,7 +31,7 @@ Index: md4.el
(h2 (logand 65535 (+ h1 (lsh l1 -16))))
(l2 (logand 65535 l1))
;; cyclic shift of 32 bits integer
@@ -102,7 +101,7 @@
@@ -102,7 +101,7 @@ bytes long. N is required to handle str
(l3 (logand 65535 (if (> s 15)
(+ (lsh l2 (- s 32)) (lsh h2 (- s 16)))
(+ (lsh l2 s) (lsh h2 (- s 16)))))))

View File

@ -1,6 +1,6 @@
--- md5-el.el.orig 2000-11-06 22:03:19.000000000 +0900
+++ md5-el.el 2012-08-23 00:42:35.000000000 +0900
@@ -169,11 +169,10 @@
--- md5-el.el.orig 2000-11-06 13:03:19 UTC
+++ md5-el.el
@@ -169,11 +169,10 @@ Returns a vector of 16 bytes containing
(defsubst md5-I (x y z) (logxor y (logior x (logand 65535 (lognot z)))))
(defmacro md5-make-step (name func)
@ -15,7 +15,7 @@
(m2 (logand 65535 (+ m1 (lsh l1 -16))))
(l2 (logand 65535 l1))
(m3 (logand 65535 (if (> s 15)
@@ -182,7 +181,7 @@
@@ -182,7 +181,7 @@ Returns a vector of 16 bytes containing
(l3 (logand 65535 (if (> s 15)
(+ (lsh l2 (- s 32)) (lsh m2 (- s 16)))
(+ (lsh l2 s) (lsh m2 (- s 16)))))))

Some files were not shown because too many files have changed in this diff Show More