Index: head/lang/newlisp/Makefile =================================================================== --- head/lang/newlisp/Makefile (revision 405720) +++ head/lang/newlisp/Makefile (revision 405721) @@ -1,141 +1,141 @@ # Created by: Stanislav Sedov # $FreeBSD$ PORTNAME= newlisp PORTVERSION= 10.6.2 CATEGORIES= lang MASTER_SITES= http://www.newlisp.org/downloads/ MAINTAINER= olgeni@FreeBSD.org COMMENT= LISP like scripting language LICENSE= GPLv3 LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi CONFLICTS= newlisp-devel-[0-9]* USES= readline:port tar:tgz OPTIONS_SUB= yes HAS_CONFIGURE= yes ALL_TARGET= default REINPLACE_ARGS= -i "" MODULES= canvas cgi crypto ftp getopts infix odbc plot pop3 \ postscript smtp smtpx stat unix xmlrpc-client zlib DOCS= CHANGES CodePatterns.html ExpressionEvaluation.html \ MemoryManagement.html manual_frame.html \ newLISP-${PORTVERSION}-Release.html newLISPdoc.html \ newlisp-man.txt newlisp_index.html newlisp_manual.html \ newlispdoc-man.txt OPTIONS_DEFINE= GSL MYSQL PGSQL SQLITE GUISERV DOCS EXAMPLES GSL_DESC= GSL (GNU Scientific Library) GUISERV_DESC= Install GUI server (in Java) .include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64" CFLAGS+= -DNEWLISP64 .endif .if ${PORT_OPTIONS:MGSL} LIB_DEPENDS+= libgsl.so:${PORTSDIR}/math/gsl MODULES+= gsl .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes MODULES+= mysql .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql MODULES+= postgres .endif .if ${PORT_OPTIONS:MSQLITE} -USE_SQLITE= 3 +USES+= sqlite MODULES+= sqlite3 .endif post-patch: @${REINPLACE_CMD} -E \ -e "s,/usr/(local/)?bin/newlisp,${PREFIX}/bin/newlisp,g" \ -e "s,/usr/(local/)?share/newlisp,${DATADIR},g" \ -e "s,/usr/(local/)?lib/newlisp.so,${PREFIX}/lib/newlisp.so,g"\ -e "s,/usr/bin,${PREFIX}/bin,g" \ -e "s,/usr/local/bin/vi,/usr/bin/vi,g" \ ${WRKSRC}/examples/* \ ${WRKSRC}/doc/* \ ${WRKSRC}/guiserver/*.lsp \ ${WRKSRC}/modules/* \ ${WRKSRC}/newlisp.c @${REINPLACE_CMD} -E -e \ "s,/usr/local/mysql/lib/(libmysqlclient.)dylib,${LOCALBASE}/lib/mysql/\1so.${MYSQL${MYSQL_VER}_LIBVER}," \ ${WRKSRC}/modules/mysql.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/(libsqlite)3.so,${LOCALBASE}/lib/\1${_SQLITE_VER}.so," \ ${WRKSRC}/modules/sqlite3.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libgsl.so,${LOCALBASE}/lib/libgsl.so," \ ${WRKSRC}/modules/gsl.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libpq.so.5.1,${LOCALBASE}/lib/libpq.so.5," \ ${WRKSRC}/modules/postgres.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/share/newlisp,${LOCALBASE}/share/newlisp," \ ${WRKSRC}/newlisp.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/newlisp ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/util/newlispdoc ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/util ${INSTALL_DATA} ${WRKSRC}/util/syntax.cgi \ ${WRKSRC}/util/README.txt \ ${WRKSRC}/util/newlisp.jsf \ ${WRKSRC}/util/newlisp.vim \ ${WRKSRC}/util/standard.lsp \ ${STAGEDIR}${DATADIR}/util @${MKDIR} ${STAGEDIR}${DATADIR}/modules ${INSTALL_DATA} ${MODULES:S,^,${WRKSRC}/modules/,:S,$,.lsp,} \ ${STAGEDIR}${DATADIR}/modules ${INSTALL_MAN} ${WRKSRC}/doc/newlisp.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/newlispdoc.1 ${STAGEDIR}${PREFIX}/man/man1 .if ${PORT_OPTIONS:MGUISERV} @${MKDIR} ${STAGEDIR}${DATADIR}/guiserver @(cd ${WRKSRC}/guiserver/ && ${COPYTREE_SHARE} \*.lsp \ ${STAGEDIR}${DATADIR}/guiserver/ \ "! -name guiserver.lsp ! -name newlisp-edit.lsp") ${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.jar ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.lsp ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/guiserver/newlisp-edit.lsp \ ${STAGEDIR}${PREFIX}/bin/newlisp-edit .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} .if ${PORT_OPTIONS:MGUISERV} @${MKDIR} ${STAGEDIR}${DOCSDIR}/guiserver ${INSTALL_DATA} ${WRKSRC}/guiserver/index.html \ ${WRKSRC}/guiserver/guiserver.lsp.html \ ${STAGEDIR}${DOCSDIR}/guiserver .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .endif .include Index: head/lang/newlisp-devel/Makefile =================================================================== --- head/lang/newlisp-devel/Makefile (revision 405720) +++ head/lang/newlisp-devel/Makefile (revision 405721) @@ -1,177 +1,177 @@ # Created by: Stanislav Sedov # $FreeBSD$ PORTNAME= newlisp PORTVERSION= 10.6.1 CATEGORIES= lang MASTER_SITES= http://www.newlisp.org/downloads/development/ PKGNAMESUFFIX= -devel MAINTAINER= olgeni@FreeBSD.org COMMENT= LISP like scripting language LICENSE= GPLv3 LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi CONFLICTS= newlisp-[0-9]* USES= readline tar:tgz HAS_CONFIGURE= yes ALL_TARGET= default REINPLACE_ARGS= -i "" MODULES= canvas cgi crypto ftp getopts infix odbc pop3 \ postscript smtp smtpx stat unix xmlrpc-client zlib DOCS= CHANGES CodePatterns.html ExpressionEvaluation.html \ MemoryManagement.html newLISP-${PORTVERSION}-Release.html \ manual_frame.html newLISPdoc.html \ newlisp_index.html newlisp_manual.html \ OPTIONS_DEFINE= GMP GSL MYSQL PGSQL SQLITE GUISERV DOCS EXAMPLES GSL_DESC= GSL (GNU Scientific Library) GUISERV_DESC= Install GUI server (in Java) .include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64" CFLAGS+= -DNEWLISP64 .endif .if ${PORT_OPTIONS:MGMP} LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp MODULES+= gmp PLIST_SUB+= GMP="" .else PLIST_SUB+= GMP="@comment " .endif .if ${PORT_OPTIONS:MGSL} LIB_DEPENDS+= libgsl.so:${PORTSDIR}/math/gsl MODULES+= gsl PLIST_SUB+= GSL="" .else PLIST_SUB+= GSL="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes MODULES+= mysql PLIST_SUB+= MYSQL="" .else PLIST_SUB+= MYSQL="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql MODULES+= postgres PLIST_SUB+= PGSQL="" .else PLIST_SUB+= PGSQL="@comment " .endif .if ${PORT_OPTIONS:MSQLITE} -USE_SQLITE= 3 +USES+= sqlite MODULES+= sqlite3 PLIST_SUB+= SQLITE="" .else PLIST_SUB+= SQLITE="@comment " .endif .if ${PORT_OPTIONS:MGUISERV} PLIST_SUB+= GUISERV="" .else PLIST_SUB+= GUISERV="@comment " .endif post-patch: @${REINPLACE_CMD} -E -e "s,install -m 644, \$${BSD_INSTALL_DATA},g" \ -e "s,install -m 755, \$${BSD_INSTALL_SCRIPT},g" \ -e "s,^(datadir=).*,\1${STAGEDIR}${PREFIX}/share,g" \ -e "s,^(bindir=).*,\1${STAGEDIR}${PREFIX}/bin,g" \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -E \ -e "s,/usr/(local/)?bin/newlisp,${PREFIX}/bin/newlisp,g" \ -e "s,/usr/(local/)?share/newlisp,${DATADIR},g" \ -e "s,/usr/(local/)?lib/newlisp.so,${PREFIX}/lib/newlisp.so,g"\ -e "s,/usr/bin,${PREFIX}/bin,g" \ -e "s,/usr/local/bin/vi,/usr/bin/vi,g" \ ${WRKSRC}/examples/* \ ${WRKSRC}/doc/* \ ${WRKSRC}/guiserver/*.lsp \ ${WRKSRC}/modules/* \ ${WRKSRC}/newlisp.c @${REINPLACE_CMD} -E -e \ "s,/usr/local/mysql/lib/(libmysqlclient.)dylib,${LOCALBASE}/lib/mysql/\1so.${MYSQL${MYSQL_VER}_LIBVER}," \ ${WRKSRC}/modules/mysql.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/(libsqlite)3.so,${LOCALBASE}/lib/\1${_SQLITE_VER}.so," \ ${WRKSRC}/modules/sqlite3.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libgmp.so,${LOCALBASE}/lib/libgmp.so," \ ${WRKSRC}/modules/gmp.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libgsl.so,${LOCALBASE}/lib/libgsl.so," \ ${WRKSRC}/modules/gsl.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libpq.so.5.1,${LOCALBASE}/lib/libpq.so.5," \ ${WRKSRC}/modules/postgres.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/share/newlisp,${LOCALBASE}/share/newlisp," \ ${WRKSRC}/newlisp.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/newlisp ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/util/newlispdoc ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/util ${INSTALL_DATA} ${WRKSRC}/util/syntax.cgi \ ${WRKSRC}/util/README.txt \ ${WRKSRC}/util/newlisp.jsf \ ${WRKSRC}/util/newlisp.vim \ ${WRKSRC}/util/standard.lsp \ ${STAGEDIR}${DATADIR}/util @${MKDIR} ${STAGEDIR}${DATADIR}/modules ${INSTALL_DATA} ${MODULES:S,^,${WRKSRC}/modules/,:S,$,.lsp,} \ ${STAGEDIR}${DATADIR}/modules ${INSTALL_MAN} ${WRKSRC}/doc/newlisp.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/newlispdoc.1 ${STAGEDIR}${PREFIX}/man/man1 .if ${PORT_OPTIONS:MGUISERV} @${MKDIR} ${STAGEDIR}${DATADIR}/guiserver @(cd ${WRKSRC}/guiserver/ && ${COPYTREE_SHARE} \*.lsp \ ${STAGEDIR}${DATADIR}/guiserver/ \ "! -name guiserver.lsp ! -name newlisp-edit.lsp") ${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.jar ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.lsp ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/guiserver/newlisp-edit.lsp \ ${STAGEDIR}${PREFIX}/bin/newlisp-edit .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} .if ${PORT_OPTIONS:MGUISERV} @${MKDIR} ${STAGEDIR}${DOCSDIR}/guiserver ${INSTALL_DATA} ${WRKSRC}/guiserver/index.html \ ${WRKSRC}/guiserver/guiserver.lsp.html \ ${STAGEDIR}${DOCSDIR}/guiserver .endif .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .endif .include Index: head/lang/php5/Makefile.ext =================================================================== --- head/lang/php5/Makefile.ext (revision 405720) +++ head/lang/php5/Makefile.ext (revision 405721) @@ -1,599 +1,599 @@ COMMENT= The ${PHP_MODNAME} shared extension for php USE_PHP= yes USE_PHPEXT= yes PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_DEFAULT= 5.4 IGNORE_WITH_PHP=52 53 55 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+=--enable-bcmath PHP_HEADER_DIRS=libbcmath libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+=--with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+=--enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+=--enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl CONFIGURE_ARGS+=--with-curl=${LOCALBASE} .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+=--enable-dba OPTIONS_DEFINE= CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE OPTIONS_DEFAULT=CDB INIFILE FLATFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support GDBM_DESC= GDBM database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support INIFILE_DESC= INI file support FLATFILE_DESC= flatfile support PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+=--enable-dom \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+=--enable-fileinfo \ --with-pcre-dir=${LOCALBASE} PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+=--enable-filter \ --with-pcre-dir=${LOCALBASE} .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+=--enable-ftp \ --with-openssl-dir=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libpng.so:${PORTSDIR}/graphics/png USES+= jpeg CONFIGURE_ARGS+=--with-gd \ --with-freetype-dir=${LOCALBASE} \ --with-jpeg-dir=${LOCALBASE} \ --with-png-dir=${LOCALBASE} \ --with-zlib-dir=/usr OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX OPTIONS_DEFAULT=T1LIB TRUETYPE X11 T1LIB_DESC= Include T1lib support TRUETYPE_DESC= Enable TrueType string function JIS_DESC= Enable JIS-mapped Japanese font support X11_DESC= Enable XPM support VPX_DESC= Enable VP8 codec support PHP_HEADER_DIRS=libgd .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+=--with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "hash" CONFIGURE_ARGS+=--enable-hash \ --with-mhash .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "imap" OPTIONS_DEFINE= PANDA PANDA_DESC= Uses the forked panda-cclient instead of the original cclient CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \ --with-pcre-dir=${LOCALBASE} \ --with-imap-ssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "interbase" CONFIGURE_ARGS+=--with-interbase=${LOCALBASE} -USE_FIREBIRD= yes +USES+= firebird .endif .if ${PHP_MODNAME} == "json" CONFIGURE_ARGS+=--enable-json .endif .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} USE_OPENLDAP= yes . ifdef(WANT_OPENLDAP_SASL) CONFIGURE_ARGS+=--with-ldap-sasl=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+=--enable-mbstring \ --with-pcre-dir=${LOCALBASE} OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT=REGEX REGEX_DESC= Enable multibyte regex support PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mcrypt" LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl \ libmcrypt.so:${PORTSDIR}/security/libmcrypt CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mssql" LIB_DEPENDS+= libsybdb.so:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-mssql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "mysqli" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC CONFIGURE_ARGS+=--enable-odbc \ --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "openssl" CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+=--enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+=--enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+=--with-pdo-dblib=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+=--with-pdo-firebird=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes USE_FIREBIRD= yes .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pdo-pgsql=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_sqlite" -USE_SQLITE= yes +USES+= sqlite CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "pear" CONFIGURE_ARGS+=--with-pear .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+=--enable-phar \ --with-pcre-dir=${LOCALBASE} USE_PHP= hash USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+=--enable-posix .endif .if ${PHP_MODNAME} == "pspell" LIB_DEPENDS+= libaspell.so:${PORTSDIR}/textproc/aspell CONFIGURE_ARGS+=--with-pspell=${LOCALBASE} # Ugly hack to load session before psell to avoid crashes USE_PHP= session USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-readline=/usr USES+= readline .endif .if ${PHP_MODNAME} == "recode" LIB_DEPENDS+= librecode.so:${PORTSDIR}/converters/recode CONFIGURE_ARGS+=--with-recode=${LOCALBASE} .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+=--enable-session .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+=--enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+=--enable-simplexml \ --with-pcre-dir=${LOCALBASE} \ --with-libxml-dir=${LOCALBASE} USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} \ --with-openssl-dir=${OPENSSLBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+=--enable-soap \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 USE_PHP= session USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+=--enable-sockets .endif .if ${PHP_MODNAME} == "sqlite3" USE_SQLITE= yes CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sybase_ct" LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+=--enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+=--enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+=--enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy.so:${PORTSDIR}/www/tidy-lib .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+=--enable-tokenizer .endif .if ${PHP_MODNAME} == "wddx" CONFIGURE_ARGS+=--enable-wddx \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 USE_PHP= xml session USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+=--enable-xml \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+=--enable-xmlreader \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 USE_PHP= dom USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "xmlrpc" CONFIGURE_ARGS+=--with-xmlrpc \ --with-libxml-dir=${LOCALBASE} \ --with-iconv-dir=${LOCALBASE} USES+= iconv:translit USE_GNOME= libxml2 PHP_HEADER_DIRS=libxmlrpc USE_PHP= xml USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+=--enable-xmlwriter \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+=--with-xsl=${LOCALBASE} USE_GNOME= libxslt USE_PHP= dom xml USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "zip" CONFIGURE_ARGS+=--enable-zip \ --with-zlib-dir=/usr \ --with-pcre-dir=${LOCALBASE} .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+=--with-zlib=/usr .endif .include .if ${PHP_MODNAME} == "dba" . if empty(PORT_OPTIONS:MCDB) CONFIGURE_ARGS+=--without-cdb . endif . if ${PORT_OPTIONS:MDB4} CONFIGURE_ARGS+=--with-db4=${LOCALBASE} USE_BDB= 40+ WITH_BDB_HIGHEST= yes . endif . if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MQDBM} LIB_DEPENDS+= libqdbm.so:${PORTSDIR}/databases/qdbm CONFIGURE_ARGS+=--with-qdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTOKYO} LIB_DEPENDS+= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet CONFIGURE_ARGS+=--with-tcadb=${LOCALBASE} . endif . if empty(PORT_OPTIONS:MINIFILE) CONFIGURE_ARGS+=--disable-inifile . endif . if empty(PORT_OPTIONS:MFLATFILE) CONFIGURE_ARGS+=--disable-flatfile . endif .endif .if ${PHP_MODNAME} == "gd" . if ${PORT_OPTIONS:MT1LIB} LIB_DEPENDS+= libt1.so:${PORTSDIR}/devel/t1lib CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTRUETYPE} CONFIGURE_ARGS+=--enable-gd-native-ttf . endif . if ${PORT_OPTIONS:MJIS} CONFIGURE_ARGS+=--enable-gd-jis-conv . endif . if ${PORT_OPTIONS:MX11} USE_XORG= xpm CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} . endif . if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:${PORTSDIR}/multimedia/libvpx CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "imap" . if ${PORT_OPTIONS:MPANDA} LIB_DEPENDS+= libc-client4.so.10:${PORTSDIR}/mail/panda-cclient . else LIB_DEPENDS+= libc-client4.so.9:${PORTSDIR}/mail/cclient . endif .endif .if ${PHP_MODNAME} == "mbstring" . if ${PORT_OPTIONS:MREGEX} LIB_DEPENDS+= libonig.so:${PORTSDIR}/devel/oniguruma5 CONFIGURE_ARGS+=--with-onig=${LOCALBASE} . else CONFIGURE_ARGS+=--disable-mbregex . endif .endif .if ${PHP_MODNAME} == "mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysql=mysqlnd . else CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USE_MYSQL= yes . endif .endif .if ${PHP_MODNAME} == "mysqli" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysqli=mysqlnd . else CONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config USE_MYSQL= yes . endif .endif .if ${PHP_MODNAME} == "openssl" || ${PHP_MODNAME} == "sqlite3" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "pdo_dblib" . if ${PORT_OPTIONS:MMSSQL} LIB_DEPENDS+= libsybdb.so:${PORTSDIR}/databases/freetds . else LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds . endif .endif .if ${PHP_MODNAME} == "pdo_mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd USE_PHP+= mysql . else CONFIGURE_ARGS+=--with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USE_MYSQL= yes . endif .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .if ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif Index: head/lang/php55/Makefile.ext =================================================================== --- head/lang/php55/Makefile.ext (revision 405720) +++ head/lang/php55/Makefile.ext (revision 405721) @@ -1,599 +1,599 @@ COMMENT= The ${PHP_MODNAME} shared extension for php USE_PHP= yes USE_PHPEXT= yes PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_DEFAULT= 5.5 IGNORE_WITH_PHP=52 53 54 5 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+=--enable-bcmath PHP_HEADER_DIRS=libbcmath libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+=--with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+=--enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+=--enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl CONFIGURE_ARGS+=--with-curl=${LOCALBASE} .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+=--enable-dba OPTIONS_DEFINE= CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE OPTIONS_DEFAULT=CDB INIFILE FLATFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support GDBM_DESC= GDBM database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support INIFILE_DESC= INI file support FLATFILE_DESC= flatfile support PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+=--enable-dom \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+=--enable-fileinfo \ --with-pcre-dir=${LOCALBASE} PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+=--enable-filter \ --with-pcre-dir=${LOCALBASE} .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+=--enable-ftp \ --with-openssl-dir=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libpng.so:${PORTSDIR}/graphics/png USES+= jpeg CONFIGURE_ARGS+=--with-gd \ --with-freetype-dir=${LOCALBASE} \ --with-jpeg-dir=${LOCALBASE} \ --with-png-dir=${LOCALBASE} \ --with-zlib-dir=/usr OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX OPTIONS_DEFAULT=T1LIB TRUETYPE X11 T1LIB_DESC= Include T1lib support TRUETYPE_DESC= Enable TrueType string function JIS_DESC= Enable JIS-mapped Japanese font support X11_DESC= Enable XPM support VPX_DESC= Enable VP8 codec support PHP_HEADER_DIRS=libgd .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+=--with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "hash" CONFIGURE_ARGS+=--enable-hash \ --with-mhash .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "imap" OPTIONS_DEFINE= PANDA PANDA_DESC= Uses the forked panda-cclient instead of the original cclient CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \ --with-pcre-dir=${LOCALBASE} \ --with-imap-ssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "interbase" CONFIGURE_ARGS+=--with-interbase=${LOCALBASE} -USE_FIREBIRD= yes +USES+= firebird .endif .if ${PHP_MODNAME} == "json" CONFIGURE_ARGS+=--enable-json .endif .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} USE_OPENLDAP= yes . ifdef(WANT_OPENLDAP_SASL) CONFIGURE_ARGS+=--with-ldap-sasl=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+=--enable-mbstring \ --with-pcre-dir=${LOCALBASE} OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT=REGEX REGEX_DESC= Enable multibyte regex support PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mcrypt" LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl \ libmcrypt.so:${PORTSDIR}/security/libmcrypt CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mssql" LIB_DEPENDS+= libsybdb.so:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-mssql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "mysqli" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC CONFIGURE_ARGS+=--enable-odbc \ --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "openssl" CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "opcache" CONFIGURE_ARGS+=--enable-opcache .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+=--enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+=--enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+=--with-pdo-dblib=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+=--with-pdo-firebird=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes USE_FIREBIRD= yes .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pdo-pgsql=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_sqlite" -USE_SQLITE= yes +USES+= sqlite CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+=--enable-phar \ --with-pcre-dir=${LOCALBASE} USE_PHP= hash USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+=--enable-posix .endif .if ${PHP_MODNAME} == "pspell" LIB_DEPENDS+= libaspell.so:${PORTSDIR}/textproc/aspell CONFIGURE_ARGS+=--with-pspell=${LOCALBASE} # Ugly hack to load session before psell to avoid crashes USE_PHP= session USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-readline=/usr USES+= readline .endif .if ${PHP_MODNAME} == "recode" LIB_DEPENDS+= librecode.so:${PORTSDIR}/converters/recode CONFIGURE_ARGS+=--with-recode=${LOCALBASE} .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+=--enable-session .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+=--enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+=--enable-simplexml \ --with-pcre-dir=${LOCALBASE} \ --with-libxml-dir=${LOCALBASE} USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} \ --with-openssl-dir=${OPENSSLBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+=--enable-soap \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 USE_PHP= session USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+=--enable-sockets .endif .if ${PHP_MODNAME} == "sqlite3" USE_SQLITE= yes CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sybase_ct" LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+=--enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+=--enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+=--enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy.so:${PORTSDIR}/www/tidy-lib .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+=--enable-tokenizer .endif .if ${PHP_MODNAME} == "wddx" CONFIGURE_ARGS+=--enable-wddx \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 USE_PHP= xml session USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+=--enable-xml \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+=--enable-xmlreader \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 USE_PHP= dom USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "xmlrpc" CONFIGURE_ARGS+=--with-xmlrpc \ --with-libxml-dir=${LOCALBASE} \ --with-iconv-dir=${LOCALBASE} USES+= iconv:translit USE_GNOME= libxml2 PHP_HEADER_DIRS=libxmlrpc USE_PHP= xml USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+=--enable-xmlwriter \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+=--with-xsl=${LOCALBASE} USE_GNOME= libxslt USE_PHP= dom xml USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "zip" CONFIGURE_ARGS+=--enable-zip \ --with-zlib-dir=/usr \ --with-pcre-dir=${LOCALBASE} .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+=--with-zlib=/usr .endif .include .if ${PHP_MODNAME} == "dba" . if empty(PORT_OPTIONS:MCDB) CONFIGURE_ARGS+=--without-cdb . endif . if ${PORT_OPTIONS:MDB4} CONFIGURE_ARGS+=--with-db4=${LOCALBASE} USE_BDB= 40+ WITH_BDB_HIGHEST= yes . endif . if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MQDBM} LIB_DEPENDS+= libqdbm.so:${PORTSDIR}/databases/qdbm CONFIGURE_ARGS+=--with-qdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTOKYO} LIB_DEPENDS+= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet CONFIGURE_ARGS+=--with-tcadb=${LOCALBASE} . endif . if empty(PORT_OPTIONS:MINIFILE) CONFIGURE_ARGS+=--disable-inifile . endif . if empty(PORT_OPTIONS:MFLATFILE) CONFIGURE_ARGS+=--disable-flatfile . endif .endif .if ${PHP_MODNAME} == "gd" . if ${PORT_OPTIONS:MT1LIB} LIB_DEPENDS+= libt1.so:${PORTSDIR}/devel/t1lib CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTRUETYPE} CONFIGURE_ARGS+=--enable-gd-native-ttf . endif . if ${PORT_OPTIONS:MJIS} CONFIGURE_ARGS+=--enable-gd-jis-conv . endif . if ${PORT_OPTIONS:MX11} USE_XORG= xpm CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} . endif . if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:${PORTSDIR}/multimedia/libvpx CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "imap" . if ${PORT_OPTIONS:MPANDA} LIB_DEPENDS+= libc-client4.so.10:${PORTSDIR}/mail/panda-cclient . else LIB_DEPENDS+= libc-client4.so.9:${PORTSDIR}/mail/cclient . endif .endif .if ${PHP_MODNAME} == "mbstring" . if ${PORT_OPTIONS:MREGEX} LIB_DEPENDS+= libonig.so:${PORTSDIR}/devel/oniguruma5 CONFIGURE_ARGS+=--with-onig=${LOCALBASE} . else CONFIGURE_ARGS+=--disable-mbregex . endif .endif .if ${PHP_MODNAME} == "mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysql=mysqlnd . else CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USE_MYSQL= yes . endif .endif .if ${PHP_MODNAME} == "mysqli" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysqli=mysqlnd . else CONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config USE_MYSQL= yes . endif .endif .if ${PHP_MODNAME} == "openssl" || ${PHP_MODNAME} == "sqlite3" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "pdo_dblib" . if ${PORT_OPTIONS:MMSSQL} LIB_DEPENDS+= libsybdb.so:${PORTSDIR}/databases/freetds . else LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds . endif .endif .if ${PHP_MODNAME} == "pdo_mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd USE_PHP+= mysql . else CONFIGURE_ARGS+=--with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USE_MYSQL= yes . endif .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .if ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif Index: head/lang/php56/Makefile.ext =================================================================== --- head/lang/php56/Makefile.ext (revision 405720) +++ head/lang/php56/Makefile.ext (revision 405721) @@ -1,602 +1,602 @@ COMMENT= The ${PHP_MODNAME} shared extension for php USE_PHP= yes USE_PHPEXT= yes PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_DEFAULT= 5.6 IGNORE_WITH_PHP=52 53 54 55 5 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+=--enable-bcmath PHP_HEADER_DIRS=libbcmath libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+=--with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+=--enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+=--enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl CONFIGURE_ARGS+=--with-curl=${LOCALBASE} .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+=--enable-dba OPTIONS_DEFINE= CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE OPTIONS_DEFAULT=CDB INIFILE FLATFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support GDBM_DESC= GDBM database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support INIFILE_DESC= INI file support FLATFILE_DESC= flatfile support PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+=--enable-dom \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+=--enable-fileinfo \ --with-pcre-dir=${LOCALBASE} PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+=--enable-filter \ --with-pcre-dir=${LOCALBASE} .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+=--enable-ftp \ --with-openssl-dir=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libpng.so:${PORTSDIR}/graphics/png USES+= jpeg CONFIGURE_ARGS+=--with-gd \ --with-freetype-dir=${LOCALBASE} \ --with-jpeg-dir=${LOCALBASE} \ --with-png-dir=${LOCALBASE} \ --with-zlib-dir=/usr OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX OPTIONS_DEFAULT=T1LIB TRUETYPE X11 T1LIB_DESC= Include T1lib support TRUETYPE_DESC= Enable TrueType string function JIS_DESC= Enable JIS-mapped Japanese font support X11_DESC= Enable XPM support VPX_DESC= Enable VP8 codec support PHP_HEADER_DIRS=libgd .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+=--with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "hash" CONFIGURE_ARGS+=--enable-hash \ --with-mhash .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "imap" OPTIONS_DEFINE= PANDA PANDA_DESC= Uses the forked panda-cclient instead of the original cclient CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \ --with-pcre-dir=${LOCALBASE} \ --with-imap-ssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "interbase" CONFIGURE_ARGS+=--with-interbase=${LOCALBASE} -USE_FIREBIRD= yes +USES+= firebird .endif .if ${PHP_MODNAME} == "json" CONFIGURE_ARGS+=--enable-json .endif .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} USE_OPENLDAP= yes . ifdef(WANT_OPENLDAP_SASL) CONFIGURE_ARGS+=--with-ldap-sasl=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+=--enable-mbstring \ --with-pcre-dir=${LOCALBASE} OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT=REGEX REGEX_DESC= Enable multibyte regex support PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mcrypt" LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl \ libmcrypt.so:${PORTSDIR}/security/libmcrypt CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mssql" LIB_DEPENDS+= libsybdb.so:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-mssql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "mysqli" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC CONFIGURE_ARGS+=--enable-odbc \ --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "openssl" CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "opcache" CONFIGURE_ARGS+=--enable-opcache .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+=--enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+=--enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+=--with-pdo-dblib=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+=--with-pdo-firebird=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes USE_FIREBIRD= yes .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pdo-pgsql=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_sqlite" -USE_SQLITE= yes +USE+= sqlite CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} USE_PHP= pdo USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+=--enable-phar \ --with-pcre-dir=${LOCALBASE} USE_PHP= hash USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+=--enable-posix .endif .if ${PHP_MODNAME} == "pspell" LIB_DEPENDS+= libaspell.so:${PORTSDIR}/textproc/aspell CONFIGURE_ARGS+=--with-pspell=${LOCALBASE} # Ugly hack to load session before psell to avoid crashes USE_PHP= session USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-readline=/usr USES+= readline .endif .if ${PHP_MODNAME} == "recode" LIB_DEPENDS+= librecode.so:${PORTSDIR}/converters/recode CONFIGURE_ARGS+=--with-recode=${LOCALBASE} .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+=--enable-session .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+=--enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+=--enable-simplexml \ --with-pcre-dir=${LOCALBASE} \ --with-libxml-dir=${LOCALBASE} USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} \ --with-openssl-dir=${OPENSSLBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+=--enable-soap \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 USE_PHP= session USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+=--enable-sockets .endif .if ${PHP_MODNAME} == "sqlite3" USE_SQLITE= yes CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sybase_ct" LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+=--enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+=--enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+=--enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy.so:${PORTSDIR}/www/tidy-lib .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+=--enable-tokenizer .endif .if ${PHP_MODNAME} == "wddx" CONFIGURE_ARGS+=--enable-wddx \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 USE_PHP= xml session USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+=--enable-xml \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+=--enable-xmlreader \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 USE_PHP= dom USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "xmlrpc" CONFIGURE_ARGS+=--with-xmlrpc \ --with-libxml-dir=${LOCALBASE} \ --with-iconv-dir=${LOCALBASE} USES+= iconv:translit USE_GNOME= libxml2 PHP_HEADER_DIRS=libxmlrpc USE_PHP= xml USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+=--enable-xmlwriter \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+=--with-xsl=${LOCALBASE} USE_GNOME= libxslt USE_PHP= dom xml USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "zip" LIB_DEPENDS+= libzip.so:${PORTSDIR}/archivers/libzip CONFIGURE_ARGS+=--enable-zip \ --with-zlib-dir=/usr \ --with-pcre-dir=${LOCALBASE} \ --with-libzip=${LOCALBASE} .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+=--with-zlib=/usr .endif .include .if ${PHP_MODNAME} == "dba" . if empty(PORT_OPTIONS:MCDB) CONFIGURE_ARGS+=--without-cdb . endif . if ${PORT_OPTIONS:MDB4} CONFIGURE_ARGS+=--with-db4=${LOCALBASE} USE_BDB= 40+ WITH_BDB_HIGHEST= yes . endif . if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MQDBM} LIB_DEPENDS+= libqdbm.so:${PORTSDIR}/databases/qdbm CONFIGURE_ARGS+=--with-qdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTOKYO} LIB_DEPENDS+= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet CONFIGURE_ARGS+=--with-tcadb=${LOCALBASE} . endif . if empty(PORT_OPTIONS:MINIFILE) CONFIGURE_ARGS+=--disable-inifile . endif . if empty(PORT_OPTIONS:MFLATFILE) CONFIGURE_ARGS+=--disable-flatfile . endif .endif .if ${PHP_MODNAME} == "gd" . if ${PORT_OPTIONS:MT1LIB} LIB_DEPENDS+= libt1.so:${PORTSDIR}/devel/t1lib CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTRUETYPE} CONFIGURE_ARGS+=--enable-gd-native-ttf . endif . if ${PORT_OPTIONS:MJIS} CONFIGURE_ARGS+=--enable-gd-jis-conv . endif . if ${PORT_OPTIONS:MX11} USE_XORG= xpm CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} . endif . if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:${PORTSDIR}/multimedia/libvpx CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "imap" . if ${PORT_OPTIONS:MPANDA} LIB_DEPENDS+= libc-client4.so.10:${PORTSDIR}/mail/panda-cclient . else LIB_DEPENDS+= libc-client4.so.9:${PORTSDIR}/mail/cclient . endif .endif .if ${PHP_MODNAME} == "mbstring" . if ${PORT_OPTIONS:MREGEX} LIB_DEPENDS+= libonig.so:${PORTSDIR}/devel/oniguruma5 CONFIGURE_ARGS+=--with-onig=${LOCALBASE} . else CONFIGURE_ARGS+=--disable-mbregex . endif .endif .if ${PHP_MODNAME} == "mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysql=mysqlnd . else CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USE_MYSQL= yes . endif .endif .if ${PHP_MODNAME} == "mysqli" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysqli=mysqlnd . else CONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config USE_MYSQL= yes . endif .endif .if ${PHP_MODNAME} == "openssl" || ${PHP_MODNAME} == "sqlite3" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "pdo_dblib" . if ${PORT_OPTIONS:MMSSQL} LIB_DEPENDS+= libsybdb.so:${PORTSDIR}/databases/freetds . else LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds . endif .endif .if ${PHP_MODNAME} == "pdo_mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd USE_PHP+= mysql . else CONFIGURE_ARGS+=--with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USE_MYSQL= yes . endif .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .if ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif Index: head/lang/racket/Makefile =================================================================== --- head/lang/racket/Makefile (revision 405720) +++ head/lang/racket/Makefile (revision 405721) @@ -1,55 +1,54 @@ # Created by: Joseph Koshy # $FreeBSD$ PORTNAME= racket PORTVERSION= 6.2 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}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Interactive, integrated, graphical Scheme programming environment LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi \ libcairo.so:${PORTSDIR}/graphics/cairo \ libpng.so:${PORTSDIR}/graphics/png MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= RACKET_PLACES OPTIONS_DEFAULT= RACKET_PLACES RACKET_PLACES_DESC= Enable Places RACKET_PLACES_CONFIGURE_ENABLE= places CONFLICTS= racket-minimal-[0-9]* GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-lt --enable-shared --enable-pthread CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src -USES= iconv jpeg libtool tar:tgz +USES= iconv jpeg libtool sqlite tar:tgz USE_LDCONFIG= yes USE_GNOME= pango -USE_SQLITE= 3 ONLY_FOR_ARCHS= i386 amd64 .include .if ${ARCH} == "amd64" CPPFLAGS+= -DLONG64 .endif post-install: ${REINPLACE_CMD} -e "s@${STAGEDIR}@@" ${STAGEDIR}${PREFIX}/share/applications/*.desktop ${RM} ${STAGEDIR}${PREFIX}/share/applications/*.bak .include Index: head/lang/smalltalk/Makefile =================================================================== --- head/lang/smalltalk/Makefile (revision 405720) +++ head/lang/smalltalk/Makefile (revision 405721) @@ -1,75 +1,74 @@ # Created by: gpalmer # $FreeBSD$ PORTNAME= smalltalk PORTVERSION= 3.2.5 PORTREVISION= 8 CATEGORIES= lang MASTER_SITES= GNU MAINTAINER= johans@FreeBSD.org COMMENT= GNU Smalltalk BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ gawk:${PORTSDIR}/lang/gawk LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm \ libcairo.so:${PORTSDIR}/graphics/cairo OPTIONS_DEFINE= TK PGSQL SDL OPTIONS_DEFAULT=TK PGSQL SDL OPTIONS_SUB= yes TK_USES= tk:84 TK_CONFIGURE_WITH=tcl=${LOCALBASE}/lib/tcl8.4 tk=${LOCALBASE}/lib/tk8.4 PGSQL_USES= pgsql SDL_USE= SDL=image,mixer,sdl,sound,ttf USES= execinfo gmake iconv libtool localbase makeinfo pkgconfig \ - shebangfix tar:xz + shebangfix sqlite tar:xz USE_GNOME= pango -USE_SQLITE= yes USE_XORG= ice xi xmu USE_GL= gl glut GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_prog_EMACS=no ac_cv_prog_AWK=gawk CONFIGURE_ARGS= --enable-generational-gc=no \ --enable-gtk=no \ --localstatedir="${PREFIX}/var" \ --with-emacs=no \ --with-gmp=no USE_LDCONFIG= yes SHEBANG_LANG= sed sed_OLD_CMD= /bin/sed sed_CMD= ${SED} SHEBANG_FILES= packages/vfs/deb packages/vfs/mailfs \ examples/pepe.sed examples/xml.sed PLIST_SUB= VERSION="${PORTVERSION}" PORTDATA= * INFO= gst gst-base gst-libs BROKEN_sparc64= Fails to install on sparc64 post-patch: @${REINPLACE_CMD} -e 's/ia64-\*-\* /&|amd64-*-* /' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's/lrintl (truncl/lroundl (truncl/' \ ${WRKSRC}/libgst/prims.def \ ${WRKSRC}/libgst/prims.inl @${REINPLACE_CMD} -e '/^ac_include/s/\\$$/#include \\/' \ ${WRKSRC}/snprintfv/configure @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in post-build: @${SED} -e 's|@bindir@|${PREFIX}/bin|g' \ ${WRKSRC}/gst-mode.el.in > ${WRKSRC}/gst-mode.el post-install: @${LN} -sf gst-load.1 ${STAGEDIR}${MANPREFIX}/man/man1/gst-reload.1 @${MKDIR} ${STAGEDIR}${DATADIR}/gtk ${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp @${LS} -1 ${STAGEDIR}${PREFIX}/bin/gst* |grep -v config|xargs ${STRIP_CMD} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/smalltalk/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgst.so .include Index: head/lang/urweb/Makefile =================================================================== --- head/lang/urweb/Makefile (revision 405720) +++ head/lang/urweb/Makefile (revision 405721) @@ -1,67 +1,67 @@ # Created by: Timothy Beyer # $FreeBSD$ PORTNAME= urweb PORTVERSION= 20150520 CATEGORIES= lang www MASTER_SITES= http://www.impredicative.com/ur/ MAINTAINER= beyert@cs.ucr.edu COMMENT= Ultimate host for embedded domain-specific languages LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= mlton:${PORTSDIR}/lang/mlton CONFIGURE_ENV= CCARGS="-I${LOCALBASE}/include" GNU_CONFIGURE= yes USES= gmake libtool tar:tgz USE_LDCONFIG= yes USE_OPENSSL= yes ONLY_FOR_ARCHS= i386 amd64 CFLAGS+= -pthread OPTIONS_DEFINE= ELISP PGSQL SQLITE MYSQL OPTIONS_DEFAULT= ELISP PGSQL OPTIONS_EXCLUDE= NLS DOCS ELISP_DESC= Install contributed Emacs Lisp .include USE_OPENSSL= yes CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} .if ${PORT_OPTIONS:MELISP} PLIST_SUB+= ELISP="" CONFIGURE_ARGS+= with_emacs=yes .else PLIST_SUB+= ELISP="@comment " CONFIGURE_ARGS+= with_emacs=no .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql WANT_PGSQL= server .else CONFIGURE_ENV+= PGHEADER="no" .endif .if ${PORT_OPTIONS:MSQLITE} -USE_SQLITE= yes +USES+= sqlite .else CONFIGURE_ENV+= SQHEADER="no" .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes .else CONFIGURE_ENV+= MSHEADER="no" .endif post-patch: ${REINPLACE_CMD} -e "s|postgresql/libpq-fe.h|libpq-fe.h|g" \ ${WRKSRC}/configure .include Index: head/mail/bogofilter-sqlite/Makefile =================================================================== --- head/mail/bogofilter-sqlite/Makefile (revision 405720) +++ head/mail/bogofilter-sqlite/Makefile (revision 405721) @@ -1,22 +1,21 @@ # Created by: Matthias Andree # $FreeBSD$ PORTNAME= bogofilter PORTREVISION= 2 CATEGORIES= mail PKGNAMESUFFIX= -sqlite MAINTAINER= mandree@FreeBSD.org -USE_SQLITE= 3 - +USES= sqlite CONFLICTS_INSTALL= bogofilter-[0-9]* bogofilter-qdbm-[0-9]* bogofilter-tc-[0-9]* [a-z][a-z]-bogofilter-[0-9]* CONFIGURE_ARGS= --with-database=sqlite BF_CPPFLAGS= -I${LOCALBASE}/include BF_LIBS= DESCR= ${PKGDIR}/pkg-descr MASTERDIR= ${.CURDIR}/../bogofilter .include "${MASTERDIR}/Makefile" Index: head/mail/cyrus-imapd25/Makefile =================================================================== --- head/mail/cyrus-imapd25/Makefile (revision 405720) +++ head/mail/cyrus-imapd25/Makefile (revision 405721) @@ -1,237 +1,237 @@ # $FreeBSD$ PORTNAME= cyrus-imapd PORTVERSION= 2.5.7 PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-imapd/ \ http://cyrusimap.org/releases/ PKGNAMESUFFIX= 25 MAINTAINER= ume@FreeBSD.org COMMENT= The cyrus mail server, supporting POP3 and IMAP4 protocols LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \ libpcre.so:${PORTSDIR}/devel/pcre CONFLICTS= cyrus-1.* cyrus-imapd-2.[^5].* cyrus-imapd2[^5]-2.[^5].* USE_RC_SUBR= imapd USES= cpe libtool perl5 USE_OPENSSL= yes GNU_CONFIGURE= yes CYRUS_PREFIX= ${PREFIX}/cyrus CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-cyrus-prefix=${CYRUS_PREFIX} \ --with-cyrus-user=${CYRUS_USER} \ --with-cyrus-group=${CYRUS_GROUP} \ --with-sasl=${LOCALBASE} \ --with-bdb=${BDB_LIB_NAME} \ --with-com_err \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL} CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE BDB HTTP IDLED LDAP MURDER MYSQL \ NETSCAPEHACK NNTP PGSQL REPLICATION SNMP SQLITE DOCS \ EXAMPLES #OPTIONS_DEFINE+= CLAMAV DRAC OPTIONS_DEFAULT= BDB IDLED OPTIONS_SUB= yes AUTOCREATE_DESC= Enable autocreate support AUTOCREATE_CONFIGURE_ENABLE= autocreate BDB_USE= BDB=yes BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} \ --with-bdb-libdir=${LOCALBASE}/lib CLAMAV_DESC= Use ClamAV CLAMAV_CONFIGURE_WITH= clamav CLAMAV_LIB_DEPENDS= libclamav.so:${PORTSDIR}/security/clamav DRAC_DESC= Enable DRAC support DRAC_CONFIGURE_ON= --with-drac=${LOCALBASE} DRAC_BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac HTTP_DESC= Enable HTTP (beta quality) HTTP_CONFIGURE_ENABLE= http HTTP_LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson \ libical.so:${PORTSDIR}/devel/libical HTTP_USE= GNOME=libxml2 IDLED_DESC= Enable IMAP idled support IDLED_CONFIGURE_ENABLE= idled LDAP_DESC= Enable LDAP support (experimental) LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE} MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_CFLAGS= MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_ON= --with-mysql=yes \ --with-mysql-libdir=${LOCALBASE}/lib/mysql \ --with-mysql-incdir=${LOCALBASE}/include/mysql NETSCAPEHACK_DESC= Enable X-NETSCAPE extensions NETSCAPEHACK_CONFIGURE_ENABLE=netscapehack NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} REPLICATION_DESC= Enable replication (experimental) REPLICATION_CONFIGURE_ENABLE=replication SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp SNMP_CONFIGURE_ON= --with-snmp=${LOCALBASE} SNMP_CONFIGURE_OFF= --with-snmp=no SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} UNAMER!= uname -r OSMAJOR= ${UNAMER:C/[.-].*//} OPTIONS_RADIO= GSSAPI OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT .if exists(/usr/lib/libkrb5.a) OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE .if ${OSMAJOR} >= 9 OPTIONS_DEFAULT+= GSSAPI_BASE .endif .endif GSSAPI_BASE_DESC= Use Heimdal in base GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_HEIMDAL_DESC= Use Heimdal from ports GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_MIT_DESC= Use MIT Kerberos V5 GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=mit MANDIRS= ${CYRUS_PREFIX}/man PORTDOCS= * PORTEXAMPLES= * SUB_FILES= pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus MAN_MAN1= imtest installsieve lmtptest mupdatetest nntptest pop3test \ sieveshell sivtest smtptest MAN_MAN3= imclient MAN_MAN5= cyrus.conf imapd.conf krb.equiv CYRUS_MAN8= arbitron chk_cyrus ctl_cyrusdb ctl_deliver ctl_mboxlist \ cvt_cyrusdb cyr_dbtool cyr_deny cyr_df cyr_expire cyr_info \ cyr_synclog deliver fud idled imapd ipurge lmtpd master \ mbexamine mbpath notifyd pop3d quota reconstruct rmnews \ smmapd squatter sync_client sync_reset sync_server timsieved \ tls_prune unexpunge CYRUS_PERL_MAN1=cyradm CYRUS_PERL_MAN3=Cyrus::Annotator::Daemon Cyrus::Annotator::Message \ Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::IMSP \ Cyrus::IMAP::Shell Cyrus::SIEVE::managesieve .include .if ${PORT_OPTIONS:MBDB} INVALID_BDB_VER=2 .else BDB_LIB_NAME= no .endif .if ${PORT_OPTIONS:MCLAMAV} IGNORE= CLAMAV is not available yet .endif PLIST_SUB+= CLAMAV="@comment " .if ${PORT_OPTIONS:MDRAC} IGNORE= DRAC is not available # EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cmulocal__sasl2.m4 # USE_AUTOTOOLS= autoconf autoheader .endif .if ${PORT_OPTIONS:MHTTP} || ${PORT_OPTIONS:MSQLITE} -USE_SQLITE=yes +USES+= sqlite .endif .if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \ !${PORT_OPTIONS:MGSSAPI_MIT} CONFIGURE_ARGS+=--disable-gssapi .endif .if ${PORT_OPTIONS:MHTTP} CYRUS_MAN8+= ctl_zoneinfo httpd .endif .if ${PORT_OPTIONS:MNNTP} CYRUS_MAN8+= fetchnews nntpd .endif .if ${PORT_OPTIONS:MDRAC} pre-patch: ${PATCH} -d ${PATCH_WRKSRC} --forward --quiet -E -p1 \ < ${WRKSRC}/contrib/drac_auth.patch .endif post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ ${WRKSRC}/tools/mkimap @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \ -e "s|/usr/sieve|/var/imap/sieve|g" \ ${WRKSRC}/tools/masssievec @${REINPLACE_CMD} \ -e 's|$$(libdir)/\(pkgconfig\)|${PREFIX}/libdata/\1|g' \ -e 's|$$(mandir)/\(man[8]\)|${PREFIX}/cyrus/man/\1|g' \ ${WRKSRC}/Makefile.in post-patch-DRAC-on: @${RM} -rf ${WRKSRC}/autom4te.cache post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \ ${STAGEDIR}${CYRUS_PREFIX}/bin/mkimap ${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec \ ${STAGEDIR}${CYRUS_PREFIX}/bin/masssievec ${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf .for s in 1 3 5 . for m in ${MAN_MAN${s}} @${ECHO_CMD} man/man${s}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for s in 1 3 . for m in ${CYRUS_PERL_MAN${s}} @${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for m in ${CYRUS_MAN8} @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! ( -name Makefile.dist -o -name Makefile -o -name .gitignore )" # there are already files in examplesdir at that point, so no # need to create it. post-install-EXAMPLES-on: cd ${WRKSRC}/master/conf && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/mail/evolution-ews/Makefile =================================================================== --- head/mail/evolution-ews/Makefile (revision 405720) +++ head/mail/evolution-ews/Makefile (revision 405721) @@ -1,39 +1,38 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= evolution-ews PORTVERSION= 3.16.5 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Evolution Microsoft Exchange plugin through Exchange Web Services BUILD_DEPENDS= evolution>=3.0.0:${PORTSDIR}/mail/evolution LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup \ libmspack.so:${PORTSDIR}/archivers/libmspack \ libical.so:${PORTSDIR}/devel/libical RUN_DEPENDS= evolution>=3.0.0:${PORTSDIR}/mail/evolution PORTSCOUT= limitw:1,even -USES= gettext gmake libtool pathfix pkgconfig tar:xz +USES= gettext gmake libtool pathfix pkgconfig sqlite tar:xz USE_GNOME= intltool GNU_CONFIGURE= yes -USE_SQLITE= 3 USE_BDB= 5 USE_OPENLDAP= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --datarootdir=${PREFIX}/share \ --localedir=${PREFIX}/share/locale \ --prefix=${PREFIX} INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e 's|$$(prefix)/$$(DATADIRNAME)/|$$(prefix)/share/|g' \ ${WRKSRC}/configure .include Index: head/mail/ezmlm-idx/Makefile =================================================================== --- head/mail/ezmlm-idx/Makefile (revision 405720) +++ head/mail/ezmlm-idx/Makefile (revision 405721) @@ -1,106 +1,106 @@ # Created by: Neil Blakey-Milner # $FreeBSD$ PORTNAME= ezmlm-idx PORTVERSION= 7.1.1 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://www.ezmlm.org/archive/${PORTVERSION}/ \ http://ezmlm.sericyb.com.au/archive/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Improved version of the ezmlm mailing list manager MAKE_JOBS_UNSAFE= yes LICENSE= GPLv2 LEGAL_TEXT= No license -- see http://cr.yp.to/softwarelaw.html USES= qmail:run CONFLICTS= ezmlm-0.* SUB_FILES= pkg-message OPTIONS_DEFINE= DB DOCS OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE DB_DESC= Enable database extension support MYSQL_DESC= Build the MySQL extension PGSQL_DESC= Build the PostgreSQL extension SQLITE_DESC= Build the SQLite3 extension .include ALL_TARGET= it .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes EXTRACT_INCLUDE+= -I${LOCALBASE}/include/mysql EXTRACT_LIB+= -L${LOCALBASE}/lib/mysql -lmysqlclient -lm ALL_TARGET+= mysql PLIST_SUB+= MYSQL="" PGSQL="@comment " SQLITE="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql EXTRACT_INCLUDE+= -I${LOCALBASE}/include EXTRACT_LIB+= -L${LOCALBASE}/lib -lpq -lcrypt ALL_TARGET+= pgsql PLIST_SUB+= MYSQL="@comment " PGSQL="" SQLITE="@comment " .endif .if ${PORT_OPTIONS:MSQLITE} -USE_SQLITE= yes +USES+= sqlite EXTRACT_INCLUDE+= -I${LOCALBASE}/include EXTRACT_LIB+= -L${LOCALBASE}/lib -lsqlite3 ALL_TARGET+= sqlite3 PLIST_SUB+= MYSQL="@comment " PGSQL="@comment " SQLITE="" .else PLIST_SUB+= MYSQL="@comment " PGSQL="@comment " SQLITE="@comment " .endif CONFIG= ezmlmglrc ezmlmrc ezmlmsubrc DOCS= BLURB CHANGES ChangeLog DOWNGRADE FAQ HISTORY INSTALL README \ README.mysql README.pgsql README.std TODO UPGRADE post-patch: @${ECHO_CMD} "/usr/sbin" > ${WRKSRC}/conf-cron @${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin @${ECHO_CMD} "${PREFIX}/etc/ezmlm" > ${WRKSRC}/conf-etc @${ECHO_CMD} "${PREFIX}/lib/ezmlm" > ${WRKSRC}/conf-lib @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc @${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld .if ${PORT_OPTIONS:MMYSQL} @${ECHO_CMD} "${CC} ${CFLAGS} ${EXTRACT_INCLUDE}" > ${WRKSRC}/conf-cc @${ECHO_CMD} "${CC} -s ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld .elif ${PORT_OPTIONS:MPGSQL} @${ECHO_CMD} "${CC} ${CFLAGS} ${EXTRACT_INCLUDE}" > ${WRKSRC}/conf-cc @${ECHO_CMD} "${CC} -s ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld .elif ${PORT_OPTIONS:MSQLITE} @${ECHO_CMD} "${CC} ${CFLAGS} ${EXTRACT_INCLUDE}" > ${WRKSRC}/conf-cc @${ECHO_CMD} "${CC} -s ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld .endif @${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man @${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail @${REINPLACE_CMD} -e 's,/etc/ezmlm/,${PREFIX}/etc/ezmlm/,' \ ${WRKSRC}/idx.h @${REINPLACE_CMD} -e "s:\(/installer\) \(\"\`head\):\1 ${STAGEDIR}\2:" \ -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${STAGEDIR}\1:" \ ${WRKSRC}/Makefile pre-install: @${REINPLACE_CMD} -e '/\/cat/d' ${WRKSRC}/MAN post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/ezmlm .for file in ${CONFIG} @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/etc/ezmlm/${file}.sample .endfor .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .endif .include Index: head/mail/greylite/Makefile =================================================================== --- head/mail/greylite/Makefile (revision 405720) +++ head/mail/greylite/Makefile (revision 405721) @@ -1,60 +1,59 @@ # Created by: Mij # $FreeBSD$ PORTNAME= greylite PORTVERSION= 2.3 PORTREVISION= 4 CATEGORIES= mail MASTER_SITES= LOCAL/oliver MAINTAINER= oliver@FreeBSD.org COMMENT= Modified greylisting for qmail and for any other MDA LICENSE= BSD3CLAUSE RUN_DEPENDS= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp -USES= tar:bzip2 -USE_SQLITE= 3 +USES= sqlite tar:bzip2 PLIST_FILES= bin/greylite \ %%DNSBLENV%%bin/dnsblenv \ %%UCSPI2SOCKET%%bin/ucspi2socket \ man/man8/greylite.8.gz SUB_FILES= pkg-message OPTIONS_DEFINE= GEOIP DNSBLENV UCSPI2SOCKET OPTIONS_DEFAULT= GEOIP DNSBLENV UCSPI2SOCKET GEOIP_DESC= Support for GeoIP in suspicion rules DNSBLENV_DESC= Module for interfacing with DNS blacklists UCSPI2SOCKET_DESC= Module for using greylite as SMTP proxy .include .if ${PORT_OPTIONS:MGEOIP} LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP MAKE_ARGS+= WITH_GEOIP=yep .endif .if ${PORT_OPTIONS:MDNSBLENV} LIB_DEPENDS+= libcares.so:${PORTSDIR}/dns/c-ares MAKE_ARGS+= WITH_DNSBLENV=yep PLIST_SUB+= DNSBLENV="" .else PLIST_SUB+= DNSBLENV="@comment " .endif .if ${PORT_OPTIONS:MUCSPI2SOCKET} MAKE_ARGS+= WITH_UCSPI2SOCKET=yep PLIST_SUB+= UCSPI2SOCKET="" .else PLIST_SUB+= UCSPI2SOCKET="@comment " .endif post-patch: ${CP} ${WRKSRC}/Makefile.bsdmake ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's|PREFIX\?=.*|PREFIX=${STAGEDIR}${PREFIX}|g' \ -e 's,logmsg.c logmsg.h ucspi2socket.c,logmsg.o ucspi2socket.c,' \ ${WRKSRC}/Makefile .include Index: head/mail/libmapi/Makefile =================================================================== --- head/mail/libmapi/Makefile (revision 405720) +++ head/mail/libmapi/Makefile (revision 405721) @@ -1,75 +1,75 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= libmapi PORTVERSION= 2.1 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://tracker.openchange.org/attachments/download/${DOWNLOADCODE}/ DISTNAME= openchange-${PORTVERSION}-${CODENAME} MAINTAINER= kwm@FreeBSD.org COMMENT= Open Source implementation of Microsoft Exchange protocols BUILD_DEPENDS= ${SAMBA_DEP} \ p5-Parse-Pidl>=4.0.1:${PORTSDIR}/devel/p5-Parse-Pidl LIB_DEPENDS= libical.so:${PORTSDIR}/devel/libical \ libtdb.so:${PORTSDIR}/databases/tdb \ libtevent.so:${PORTSDIR}/devel/tevent \ libtalloc.so:${PORTSDIR}/devel/talloc RUN_DEPENDS= ${SAMBA_DEP} CODENAME= QUADRANT DOWNLOADCODE= 244 -USE_SQLITE= 3 -USES= compiler:c++11-lib gmake pathfix pkgconfig python shebangfix +USES= compiler:c++11-lib gmake pathfix pkgconfig python shebangfix \ + sqlite USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-samba=${LOCALBASE} CONFIGURE_ENV= ac_cv_path_DOXYGEN="" \ PYTHON_CONFIG=${LOCALBASE}/bin/python${PYTHON_VER}-config SHEBANG_FILES= libmapi/conf/mparse.pl \ script/check_exchange \ setup/openchange_newuser \ setup/openchange_provision OPTIONS_SUB= yes OPTIONS_DEFINE= BOOST DOXYGEN SAMBA40 OPTIONS_DEFAULT=BOOST BOOST_LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs BOOST_CONFIGURE_ENV_OFF= ov_cv_boost_thread=no BOOST_DESC= libmapi C++ library (needs boost) DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_path_DOXYGEN="" SAMBA40_DESC= Build agains samba 4.0 instead of 4.1 .include .if ${PORT_OPTIONS:MSAMBA40} SAMBA_DEP= samba4>=4.0.1:${PORTSDIR}/net/samba4 PLIST_SUB+= SAMBA=samba4 .else SAMBA_DEP= samba41>=4.1.0:${PORTSDIR}/net/samba41 PLIST_SUB+= SAMBA=samba41 .endif CONFIGURE_ARGS+= --disable-pymapi # --enable-openchange-qt4 Compile OpenChange Qt4 wrapper. post-patch: @${REINPLACE_CMD} -e "s/mkdir --parent/mkdir -p/g; \ s,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,g" \ ${WRKSRC}/Makefile post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/openchange cd ${WRKSRC}/doc/doxygen/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/openchange/ @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/* @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/lib*.so.* @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/shared-modules/dcerpc_server/dcesrv_mapiproxy.so @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/modules/dcerpc_mapiproxy*/*.so .include Index: head/mail/qsf/Makefile =================================================================== --- head/mail/qsf/Makefile (revision 405720) +++ head/mail/qsf/Makefile (revision 405721) @@ -1,48 +1,48 @@ # Created by: liamfoy@sepulcrum.org # $FreeBSD$ PORTNAME= qsf PORTVERSION= 1.2.7 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= SF MAINTAINER= jack@jarasoft.net COMMENT= Small fast spam filter intended to be used with procmail OPTIONS_DEFINE= GDBM MYSQL SQLITE2 SQLITE2_DESC= SQLite2 support USES= tar:bzip2 GNU_CONFIGURE= yes PLIST_FILES= bin/qsf \ man/man1/qsf.1.gz CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm .else CONFIGURE_ARGS+= --without-gdbm .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes .else CONFIGURE_ARGS+= --without-mysql .endif .if ${PORT_OPTIONS:MSQLITE2} -USE_SQLITE= 2 +USES+= sqlite:2 .else CONFIGURE_ARGS+= --without-sqlite .endif post-patch: @${REINPLACE_CMD} -e 's|Linux|@VERSION@|g' ${WRKSRC}/doc/quickref.1.in .include Index: head/mail/rspamd/Makefile =================================================================== --- head/mail/rspamd/Makefile (revision 405720) +++ head/mail/rspamd/Makefile (revision 405721) @@ -1,100 +1,99 @@ # $FreeBSD$ PORTNAME= rspamd PORTVERSION= 1.0.11 CATEGORIES= mail MASTER_SITES= http://rspamd.com/downloads/ MAINTAINER= vsevolod@FreeBSD.org COMMENT= Fast spam filtering system LICENSE= BSD2CLAUSE LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ libgmime-2.4.so:${PORTSDIR}/mail/gmime24 \ libevent.so:${PORTSDIR}/devel/libevent2 \ libluajit-5.1.so:${PORTSDIR}/lang/luajit CONFLICTS_INSTALL= rspamd OPTIONS_DEFINE= GPERF REDIRECTOR HIREDIS GPERF_DESC= Google perf-tools profiling REDIRECTOR_DESC= Install HTTP redirector HIREDIS_DESC= Redis support through hiredis OPTIONS_DEFAULT= HIREDIS USE_RC_SUBR= rspamd SUB_FILES= pkg-message rspamd.newsyslog.conf.sample PLIST_SUB+= ETCDIR=etc/rspamd \ RSPAMDVERSION=${PORTVERSION} CMAKE_ARGS+= -DCONFDIR=${PREFIX}/etc/rspamd \ -DLOGDIR=/var/log/rspamd \ -DDBDIR=/var/db/rspamd \ -DRUNDIR=/var/run/rspamd \ -DMANDIR=${MANPREFIX}/man \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DBUILD_PORT=yes \ -DFORCE_GMIME24=yes \ -DLIBDIR=${PREFIX}/lib/rspamd \ -DNO_SHARED=ON USES= cmake:outsource gettext iconv pkgconfig tar:xz perl5 \ - compiler:c11 + compiler:c11 sqlite USE_LDCONFIG= yes USE_PERL5= build USE_GNOME= glib20 USE_OPENSSL= yes -USE_SQLITE= yes .include .if ${PORT_OPTIONS:MGPERF} CMAKE_ARGS+= -DENABLE_GPERF_TOOLS=ON LIB_DEPENDS+= libprofiler.so:${PORTSDIR}/devel/google-perftools .endif .if ${PORT_OPTIONS:MREDIRECTOR} USE_PERL5+= run CMAKE_ARGS+= -DENABLE_REDIRECTOR=ON PLIST_SUB+= REDIRECTOR="" USE_RC_SUBR+= rspamd_redirector RUN_DEPENDS+= \ p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \ p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \ p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \ p5-POE-Component-Client-DNS>=0:${PORTSDIR}/dns/p5-POE-Component-Client-DNS \ p5-POE-Component-Client-HTTP>=0:${PORTSDIR}/www/p5-POE-Component-Client-HTTP \ p5-POE-Component-Server-HTTP>=0:${PORTSDIR}/www/p5-POE-Component-Server-HTTP \ p5-Cache-Memcached-Fast>=0:${PORTSDIR}/databases/p5-Cache-Memcached-Fast \ p5-Proc-PidUtil>=0:${PORTSDIR}/sysutils/p5-Proc-PidUtil \ p5-Proc-Daemon>=0:${PORTSDIR}/devel/p5-Proc-Daemon \ p5-SWF-File>=0:${PORTSDIR}/graphics/p5-SWF-File .else PLIST_SUB+= REDIRECTOR="@comment " .endif .if ${PORT_OPTIONS:MHIREDIS} LIB_DEPENDS+= libhiredis.so:${PORTSDIR}/databases/hiredis .else CMAKE_ARGS+= -DENABLE_HIREDIS=OFF .endif post-stage: ${INSTALL} -d \ ${STAGEDIR}/var/log/rspamd \ ${STAGEDIR}/var/db/rspamd \ ${STAGEDIR}/var/run/rspamd # Linux specific ${RM} ${STAGEDIR}/${ETCDIR}/rspamd.systemd.conf # No need, since rspamd.conf.sample is a same ${RM} ${STAGEDIR}/${ETCDIR}/rspamd.sysvinit.conf ${INSTALL_DATA} ${WRKDIR}/rspamd.newsyslog.conf.sample ${STAGEDIR}${ETCDIR} post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${LN} -s ${ETCDIR}/rspamd.newsyslog.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d .include Index: head/mail/rspamd-devel/Makefile =================================================================== --- head/mail/rspamd-devel/Makefile (revision 405720) +++ head/mail/rspamd-devel/Makefile (revision 405721) @@ -1,96 +1,95 @@ # $FreeBSD$ PORTNAME= rspamd PORTVERSION= 1.1.0.a2.04012016 CATEGORIES= mail PKGNAMESUFFIX= -devel MAINTAINER= vsevolod@FreeBSD.org COMMENT= Fast spam filtering system dev version LICENSE= BSD2CLAUSE LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ libgmime-2.4.so:${PORTSDIR}/mail/gmime24 \ libevent.so:${PORTSDIR}/devel/libevent2 \ libluajit-5.1.so:${PORTSDIR}/lang/luajit \ libhiredis.so:${PORTSDIR}/databases/hiredis CONFLICTS_INSTALL= rspamd RSPAMD_VERSION= 1.1.0 USE_GITHUB= yes GH_ACCOUNT= vstakhov GH_PROJECT= rspamd GH_TAGNAME= 36f5aa8 OPTIONS_DEFINE= GPERF REDIRECTOR GPERF_DESC= google perf-tools profiling REDIRECTOR_DESC= Install HTTP redirector USE_RC_SUBR= rspamd PLIST_SUB+= ETCDIR=etc/rspamd \ RSPAMDVERSION=${RSPAMD_VERSION} CMAKE_ARGS+= -DCONFDIR=${PREFIX}/etc/rspamd \ -DLOGDIR=/var/log/rspamd \ -DDBDIR=/var/db/rspamd \ -DRUNDIR=/var/run/rspamd \ -DMANDIR=${MANPREFIX}/man \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DBUILD_PORT=yes \ -DFORCE_GMIME24=yes \ -DLIBDIR=${PREFIX}/lib/rspamd \ -DNO_SHARED=ON \ -DDEBUG=ON USES= cmake:outsource gettext iconv pkgconfig tar:xz perl5 \ - compiler:c11 + compiler:c11 sqlite USE_LDCONFIG= yes USE_PERL5= build USE_GNOME= glib20 USE_OPENSSL= yes -USE_SQLITE= yes DEBUG_FLAGS= -g -O0 WITH_DEBUG= yes .include .if ${PORT_OPTIONS:MGPERF} CMAKE_ARGS+= -DENABLE_GPERF_TOOLS=ON LIB_DEPENDS+= libprofiler.so:${PORTSDIR}/devel/google-perftools .endif .if ${PORT_OPTIONS:MREDIRECTOR} USE_PERL5+= run CMAKE_ARGS+= -DENABLE_REDIRECTOR=ON PLIST_SUB+= REDIRECTOR="" USE_RC_SUBR+= rspamd_redirector RUN_DEPENDS+= \ p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \ p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \ p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \ p5-POE-Component-Client-DNS>=0:${PORTSDIR}/dns/p5-POE-Component-Client-DNS \ p5-POE-Component-Client-HTTP>=0:${PORTSDIR}/www/p5-POE-Component-Client-HTTP \ p5-POE-Component-Server-HTTP>=0:${PORTSDIR}/www/p5-POE-Component-Server-HTTP \ p5-Cache-Memcached-Fast>=0:${PORTSDIR}/databases/p5-Cache-Memcached-Fast \ p5-Proc-PidUtil>=0:${PORTSDIR}/sysutils/p5-Proc-PidUtil \ p5-Proc-Daemon>=0:${PORTSDIR}/devel/p5-Proc-Daemon \ p5-SWF-File>=0:${PORTSDIR}/graphics/p5-SWF-File .else PLIST_SUB+= REDIRECTOR="@comment " .endif post-stage: ${INSTALL} -d \ ${STAGEDIR}/var/log/rspamd \ ${STAGEDIR}/var/db/rspamd \ ${STAGEDIR}/var/run/rspamd # Linux specific ${RM} ${STAGEDIR}/${ETCDIR}/rspamd.systemd.conf # No need, since rspamd.conf.sample is a same ${RM} ${STAGEDIR}/${ETCDIR}/rspamd.sysvinit.conf .include Index: head/multimedia/avidemux/Makefile.common =================================================================== --- head/multimedia/avidemux/Makefile.common (revision 405720) +++ head/multimedia/avidemux/Makefile.common (revision 405721) @@ -1,280 +1,279 @@ # $FreeBSD$ AVIDEMUX_VERSION= 2.6.10 MASTER_SITES= \ SF/avidemux/avidemux/${PORTVERSION} DISTNAME= avidemux_${PORTVERSION} BUILD_DEPENDS+= yasm:${PORTSDIR}/devel/yasm \ bash:${PORTSDIR}/shells/bash LIB_DEPENDS+= libmad.so:${PORTSDIR}/audio/libmad \ libdca.so:${PORTSDIR}/multimedia/libdca \ libpng.so:${PORTSDIR}/graphics/png LICENSE= GPLv2 USE_GNOME= libxml2 USE_QT4= # empty OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME:C/-.*//}/options -USE_SQLITE= yes -USES= cmake:outsource pkgconfig iconv gmake compiler:features +USES= cmake:outsource pkgconfig iconv gmake compiler:features sqlite USES+= dos2unix execinfo DOS2UNIX_FILES= cmake/admCheckMiscLibs.cmake po/CMakeLists.txt CMAKE_ARGS+= -DGNUMAKE_EXECUTABLE=gmake CMAKE_ARGS+= -DAVIDEMUX_PACKAGER=none CMAKE_ARGS+= -DQT5:BOOL=OFF CXXFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin OPTIONS_DEFINE= QT4 CLI FREETYPE FONTCONFIG OSS ESOUND JACK \ PULSEAUDIO XVIDEO FAAC \ FAAD X264 X265 VPX XVID SDL AMR VORBIS NLS LAME VAAPI VDPAU OPTIONS_DEFAULT= QT4 FREETYPE FONTCONFIG OSS XVIDEO VPX XVID \ SDL FAAD VORBIS CLI_DESC= Build CLI tool .if !defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= LAME FAAC AMR X264 .endif .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" . if ${PORT_OPTIONS:MQT4} PLIST_SUB+= QT_NLS="" . else PLIST_SUB+= QT_NLS="@comment " . endif .else CMAKE_ARGS+= -DNO_NLS:BOOL=ON PLIST_SUB+= NLS="@comment " QT_NLS="@comment " .endif .include # is this kosher? the result seems to run tho... (see ports/185997) .if $(COMPILER_FEATURES:Mlibc++) LDFLAGS+= -lc++ .endif #.if ${COMPILER_TYPE} == clang USE_GCC= yes #.endif # for libexecinfo: (so that __builtin_frame_address() finds the top # of the stack) .if ${ARCH} == "amd64" CFLAGS+= -fno-omit-frame-pointer #MAKE_ENV+= ARCH=x86_64 #CONFIGURE_ENV+= ARCH=x86_64 .endif .if !exists(/usr/lib/libexecinfo.so) CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=${LOCALBASE}/include CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=${LOCALBASE}/lib/libexecinfo.so .else CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=/usr/include CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=-lexecinfo .endif # We haven't ALSA(Never) & Aften(Yet) on FreeBSD CMAKE_ARGS+= -DARTS:BOOL=OFF -DALSA:BOOL=OFF -DAFTEN:BOOL=OFF .if empty(PORT_OPTIONS:MGTK3) && empty(PORT_OPTIONS:MQT4) CMAKE_ARGS+= -DX11:BOOL=OFF .else USE_GNOME+= libxslt .endif .if ${PORT_OPTIONS:MGTK3} USE_GNOME+= gnomeprefix gtk30 PLIST_SUB+= GTK="" .else CMAKE_ARGS+= -DGTK:BOOL=OFF PLIST_SUB+= GTK="@comment " .endif .if ${PORT_OPTIONS:MQT4} CMAKE_ARGS+= -DLRELEASE_EXECUTABLE=${LOCALBASE}/bin/lrelease-qt4 USE_QT4= qmake_build moc_build rcc_build uic_build linguist_build gui PLIST_SUB+= QT4="" .else CMAKE_ARGS+= -DQT4:BOOL=OFF PLIST_SUB+= QT4="@comment " .endif .if ${PORT_OPTIONS:MCLI} PLIST_SUB+= CLI="" .else PLIST_SUB+= CLI="@comment " .endif .if ${PORT_OPTIONS:MOSS} CMAKE_ARGS+= -DOSS_SUPPORT:BOOL=ON .else CMAKE_ARGS+= -DOSS_SUPPORT:BOOL=OFF .endif .if ${PORT_OPTIONS:MESOUND} USE_GNOME+= esound PLIST_SUB+= ESD="" .else CMAKE_ARGS+= -DESD:BOOL=OFF PLIST_SUB+= ESD="@comment " .endif .if ${PORT_OPTIONS:MJACK} LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack PLIST_SUB+= JACK="" .else CMAKE_ARGS+= -DJACK:BOOL=OFF PLIST_SUB+= JACK="@comment " .endif .if ${PORT_OPTIONS:MPULSEAUDIO} LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio PLIST_SUB+= PULSE="" .else CMAKE_ARGS+= -DPULSEAUDIOSIMPLE:BOOL=OFF PLIST_SUB+= PULSE="@comment " .endif .if ${PORT_OPTIONS:MFREETYPE} LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2 PLIST_SUB+= FREETYPE="" .else CMAKE_ARGS+= -DFREETYPE2:BOOL=OFF PLIST_SUB+= FREETYPE="@comment " .endif .if ${PORT_OPTIONS:MFONTCONFIG} LIB_DEPENDS+= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig .else CMAKE_ARGS+= -DFONTCONFIG:BOOL=OFF .endif .if ${PORT_OPTIONS:MXVIDEO} #LIB_DEPENDS+= Xv:${PORTSDIR}/x11/libXv USE_XORG+= xv .else CMAKE_ARGS+= -DXVIDEO:BOOL=OFF .endif .if ${PORT_OPTIONS:MFAAC} LIB_DEPENDS+= libfaac.so:${PORTSDIR}/audio/faac PLIST_SUB+= FAAC="" .else CMAKE_ARGS+= -DFAAC:BOOL=OFF PLIST_SUB+= FAAC="@comment " .endif .if ${PORT_OPTIONS:MLAME} LIB_DEPENDS+= libmp3lame.so:${PORTSDIR}/audio/lame PLIST_SUB+= LAME="" .else CMAKE_ARGS+= -DLAME:BOOL=OFF PLIST_SUB+= LAME="@comment " .endif .if ${PORT_OPTIONS:MFAAD} LIB_DEPENDS+= libfaad.so:${PORTSDIR}/audio/faad PLIST_SUB+= FAAD="" .else CMAKE_ARGS+= -DFAAD:BOOL=OFF -DNeAAC:BOOL=OFF PLIST_SUB+= FAAD="@comment " .endif .if ${PORT_OPTIONS:MX264} LIB_DEPENDS+= libx264.so:${PORTSDIR}/multimedia/libx264 PLIST_SUB+= X264="" .else CMAKE_ARGS+= -DX264:BOOL=OFF PLIST_SUB+= X264="@comment " .endif .if ${PORT_OPTIONS:MX265} LIB_DEPENDS+= libx265.so:${PORTSDIR}/multimedia/x265 PLIST_SUB+= X265="" .else CMAKE_ARGS+= -DX265:BOOL=OFF PLIST_SUB+= X265="@comment " .endif .if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:${PORTSDIR}/multimedia/libvpx PLIST_SUB+= VPX="" .else CMAKE_ARGS+= -DVPXDEC:BOOL=OFF PLIST_SUB+= VPX="@comment " .endif .if ${PORT_OPTIONS:MXVID} LIB_DEPENDS+= libxvidcore.so:${PORTSDIR}/multimedia/xvid PLIST_SUB+= XVID="" .else CMAKE_ARGS+= -DXVID:BOOL=OFF PLIST_SUB+= XVID="@comment " .endif .if ${PORT_OPTIONS:MSDL} USE_SDL= sdl PLIST_SUB+= SDL="" .else CMAKE_ARGS+= -DSDL:BOOL=OFF PLIST_SUB+= SDL="@comment " .endif .if ${PORT_OPTIONS:MVAAPI} LIB_DEPENDS+= libva.so:${PORTSDIR}/multimedia/libva PLIST_SUB+= VAAPI="" .else CMAKE_ARGS+= -DVAAPI:BOOL=OFF -DLIBVA:BOOL=OFF PLIST_SUB+= VAAPI="@comment " .endif .if ${PORT_OPTIONS:MVDPAU} LIB_DEPENDS+= libvdpau.so:${PORTSDIR}/multimedia/libvdpau PLIST_SUB+= VDPAU="" .else CMAKE_ARGS+= -DVDPAU:BOOL=OFF PLIST_SUB+= VDPAU="@comment " .endif .if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis PLIST_SUB+= VORBIS="" .else CMAKE_ARGS+= -DLIBVORBIS:BOOL=OFF -DVORBIS:BOOL=OFF PLIST_SUB+= VORBIS="@comment " .endif .if ${PORT_OPTIONS:MAMR} LIB_DEPENDS+= libopencore-amrnb.so:${PORTSDIR}/audio/opencore-amr PLIST_SUB+= AMRNB="" PLIST_SUB+= AMRWB="" .else CMAKE_ARGS+= -DOPENCORE_AMRNB:BOOL=OFF PLIST_SUB+= AMRNB="@comment " CMAKE_ARGS+= -DOPENCORE_AMRWB:BOOL=OFF PLIST_SUB+= AMRWB="@comment " .endif .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif post-patch: @${MKDIR} ${CONFIGURE_WRKSRC}/config @${LN} -s ${LOCALBASE}/include/iconv.h ${CONFIGURE_WRKSRC}/config @${REINPLACE_CMD} 's|-ldl||' ${WRKSRC}/avidemux_core/CMakeLists.txt post-configure-common: @${FIND} ${CONFIGURE_WRKSRC} -name link.txt -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} 's|-ldl||g' Index: head/multimedia/banshee/Makefile =================================================================== --- head/multimedia/banshee/Makefile (revision 405720) +++ head/multimedia/banshee/Makefile (revision 405721) @@ -1,132 +1,131 @@ # $FreeBSD$ PORTNAME= banshee PORTVERSION= 2.6.2 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= multimedia audio MASTER_SITES= GNOME MAINTAINER= mono@FreeBSD.org COMMENT= Music management and playback for gnome # Could do without bash, but it's brought in by gnome anyway. BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ bash:${PORTSDIR}/shells/bash RUN_DEPENDS= bash:${PORTSDIR}/shells/bash LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:${PORTSDIR}/devel/dbus-sharp-glib \ ${LOCALBASE}/libdata/pkgconfig/taglib-sharp.pc:${PORTSDIR}/audio/taglib-sharp \ ${LOCALBASE}/libdata/pkgconfig/mono-zeroconf.pc:${PORTSDIR}/net/mono-zeroconf \ ${LOCALBASE}/libdata/pkgconfig/mono-addins.pc:${PORTSDIR}/devel/mono-addins \ ${LOCALBASE}/libdata/pkgconfig/notify-sharp.pc:${PORTSDIR}/devel/notify-sharp # For now, remove APPLEDEV since it is broken OPTIONS_DEFINE= DOCS BPMDETECT GIO MTP WEBKIT YOUTUBE APPLEDEV_DESC= Apple device BPMDETECT_DESC= Force dependency on soundtouch (required for BPM detection) GIO_DESC= Use GIO for disk access WEBKIT_DESC= Build and/or install extensions using Webkit YOUTUBE_DESC= Build and/or install the Youtube extension OPTIONS_DEFAULT=BPMDETECT GIO MTP WEBKIT YOUTUBE USES= desktop-file-utils gmake libtool mono pathfix perl5 \ - pkgconfig shared-mime-info tar:xz + pkgconfig shared-mime-info sqlite tar:xz USE_PERL5= build GNU_CONFIGURE= yes USE_GNOME= gnomedocutils gnomesharp20 gtksharp20 intltool USE_GSTREAMER= cdparanoia USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME:C/-.*//} USE_XORG= xrandr xxf86vm -USE_SQLITE= yes INSTALLS_ICONS= yes INSTALL_TARGET= install-strip CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-vendor-build-id=FreeBSD\ BSD\#\ Project --disable-gio-hardware --disable-boo CONFIGURE_ENV= ac_cv_path_MCS=${LOCALBASE}/bin/mcs CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif # Need absolute path for build/icon-install-theme. INSTALL= /usr/bin/install .if ${PORT_OPTIONS:MGIO} CONFIGURE_ARGS+=--enable-gio LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/gtk-sharp-beans-2.0.pc:${PORTSDIR}/x11-toolkits/gtk-sharp-beans PLIST_SUB+= OPT_GIO="" .else CONFIGURE_ARGS+=--disable-gio PLIST_SUB+= OPT_GIO="@comment " .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+=--enable-docs PLIST_SUB+= OPT_DOCS="" .else CONFIGURE_ARGS+=--disable-docs PLIST_SUB+= OPT_DOCS="@comment " .endif .if ${PORT_OPTIONS:MBPMDETECT} USE_GSTREAMER+= soundtouch .endif .if ${PORT_OPTIONS:MAPPLEDEV} CONFIGURE_ARGS+=--enable-appledevice LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/libgpodsharp.pc:${PORTSDIR}/audio/libgpod BROKEN= Missing dependency PLIST_SUB+= APPLEDEV="" .else CONFIGURE_ARGS+=--disable-appledevice PLIST_SUB+= APPLEDEV="@comment " .endif .if ${PORT_OPTIONS:MMTP} CONFIGURE_ARGS+=--enable-mtp LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/libmtp.pc:${PORTSDIR}/multimedia/libmtp PLIST_SUB+= OPT_MTP="" .else CONFIGURE_ARGS+=--disable-mtp PLIST_SUB+= OPT_MTP="@comment " .endif .if ${PORT_OPTIONS:MWEBKIT} CONFIGURE_ARGS+=--enable-webkit LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/webkit-sharp-1.0.pc:${PORTSDIR}/www/webkit-sharp PLIST_SUB+= OPT_WEBKIT="" .else CONFIGURE_ARGS+=--disable-webkit PLIST_SUB+= OPT_WEBKIT="@comment " .endif .if ${PORT_OPTIONS:MYOUTUBE} CONFIGURE_ARGS+=--enable-youtube LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/gdata-sharp-youtube.pc:${PORTSDIR}/devel/google-gdata PLIST_SUB+= OPT_YOUTUBE="" .else CONFIGURE_ARGS+=--disable-youtube PLIST_SUB+= OPT_YOUTUBE="@comment " .endif .if ${PORT_OPTIONS:MWEBKIT} || ${PORT_OPTIONS:MYOUTUBE} PLIST_SUB+= OPT_WEBKITORYOUTUBE="" .else PLIST_SUB+= OPT_WEBKITORYOUTUBE="@comment " .endif post-patch: ${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e 's|-r:Mono.Cairo|-r:${PREFIX}/lib/mono/gac/Mono.Cairo/4.0.0.0__0738eb9f132ed756/Mono.Cairo.dll|' .include Index: head/multimedia/gmerlin/Makefile =================================================================== --- head/multimedia/gmerlin/Makefile (revision 405720) +++ head/multimedia/gmerlin/Makefile (revision 405721) @@ -1,86 +1,85 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= gmerlin PORTVERSION= 1.2.0 PORTREVISION= 10 CATEGORIES= multimedia MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Multimedia framework LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif \ libgavl.so:${PORTSDIR}/multimedia/gavl \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig -USES= gettext libtool makeinfo pathfix pkgconfig +USES= gettext libtool makeinfo pathfix pkgconfig sqlite USE_GNOME= gtk20 libxml2 USE_XORG= x11 xext xfixes xinerama xv USE_GL= gl -USE_SQLITE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_func_inotify_init=no CONFIGURE_ARGS= --disable-v4l --disable-v4l2 --disable-v4lconvert \ --without-doxygen --with-cpuflags=none --disable-musicbrainz USE_LDCONFIG= yes INSTALL_TARGET= install-strip INSTALL_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib LDFLAGS+= -Wl,--add-needed INFO= gmerlin OPTIONS_DEFINE= ALSA CDDB CDIO ESOUND JACK JPEG LIBVISUAL \ OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF DOCS OPTIONS_DEFAULT= CDDB JACK JPEG LIBVISUAL \ OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa --disable-alsamixer CDDB_LIB_DEPENDS= libcddb.so:${PORTSDIR}/audio/libcddb CDDB_CONFIGURE_OFF= --disable-cddb CDIO_LIB_DEPENDS= libcdio.so:${PORTSDIR}/sysutils/libcdio CDIO_CONFIGURE_OFF= --disable-libcdio CDIO_BROKEN= fails to build with new libcdio ESOUND_USE= gnome=esound ESOUND_CONFIGURE_OFF= --disable-esd JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack JACK_CONFIGURE_OFF= --disable-jack JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-libjpeg LIBVISUAL_LIB_DEPENDS= libvisual-0.4.so:${PORTSDIR}/graphics/libvisual04 LIBVISUAL_CONFIGURE_OFF=--disable-libvisual OPTIMIZED_CFLAGS_CFLAGS=-O3 -funroll-loops -fomit-frame-pointer -ffast-math PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png PNG_CONFIGURE_OFF= --disable-libpng PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF=--disable-pulseaudio QUICKTIME_LIB_DEPENDS= libquicktime.so:${PORTSDIR}/multimedia/libquicktime QUICKTIME_CONFIGURE_OFF=--disable-lqt TIFF_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff TIFF_CONFIGURE_OFF= --disable-libtiff post-patch: @${REINPLACE_CMD} -e \ '/LIBS/s|-ldl || ; \ s|-DGTK_DISABLE_DEPRECATED|| ; \ s|-O3.*-ffast-math||' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|^texinfo_|#texinfo_|g' ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e \ 's|ln -sf $$(DESTDIR)|ln -sf |' ${WRKSRC}/icons/Makefile.in @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-ldl||g' post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}) .include