diff --git a/benchmarks/polygraph/Makefile b/benchmarks/polygraph/Makefile index 80b614b846f3..d9462832e0fd 100644 --- a/benchmarks/polygraph/Makefile +++ b/benchmarks/polygraph/Makefile @@ -1,57 +1,57 @@ # Created by: Dima Sivachenko # $FreeBSD$ PORTNAME= polygraph PORTVERSION= 4.3.2 CATEGORIES= benchmarks www MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/ \ http://people.bsdgroup.de/~as/freebsd/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A benchmarking tool for Web proxies LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USE_GCC= 4.2+ +USE_GCC= any GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CONFLICTS= ltrace-0* OPTIONS_DEFINE= GNUPLOT OPENSSL PERL ZLIB GNUPLOT_DESC= GNUPlot for full reporting functionality OPENSSL_DESC= Enable SSL/HTTPS support PERL_DESC= Install Perl for PolyGraph tools ZLIB_DESC= Enable HTTP compression support OPTIONS_DEFAULT= OPENSSL ZLIB .include .if ${PORT_OPTIONS:MGNUPLOT} RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot .endif .if ${PORT_OPTIONS:MOPENSSL} USE_OPENSSL= yes CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+= --without-ssl .endif .if ${PORT_OPTIONS:MPERL} USES+= perl5 USE_PERL5= run .endif .if ${PORT_OPTIONS:MZLIB} CONFIGURE_ARGS+= --with-zlib=/usr .else CONFIGURE_ARGS+= --without-zlib .endif .include diff --git a/databases/kumofs/Makefile b/databases/kumofs/Makefile index 3138587d43c1..4e9075ee538c 100644 --- a/databases/kumofs/Makefile +++ b/databases/kumofs/Makefile @@ -1,64 +1,64 @@ # $FreeBSD$ PORTNAME= kumofs PORTVERSION= 0.4.13 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://cloud.github.com/downloads/etolabo/kumofs/ MASTER_SITE_SUBDIR= kuriyama MAINTAINER= kuriyama@FreeBSD.org COMMENT= Scalable and highly available distributed key-value store LIB_DEPENDS= libmsgpack.so:${PORTSDIR}/devel/msgpack \ libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet RUN_DEPENDS= rubygem-msgpack>0:${PORTSDIR}/devel/rubygem-msgpack LICENSE= APACHE20 USE_AUTOTOOLS= libtool autoheader autoconf automake aclocal ACLOCAL_ARGS= # empty AUTOMAKE_ARGS= --add-missing --copy CONFIGURE_ARGS= --with-msgpack=${LOCALBASE} --with-tokyocabinet=${LOCALBASE} -USE_GCC= 4.2+ -USE_GMAKE= yes +USES= gmake +USE_GCC= any USE_RUBY= yes USE_RC_SUBR= kumofs-manager kumofs-server kumofs-gateway PIDDIR?= /var/run/kumofs LOGDIR?= /var/log/kumofs PLIST_SUB= PIDDIR=${PIDDIR} LOGDIR=${LOGDIR} USERS= kumofs GROUPS= kumofs MAN1= kumo-gateway.1 \ kumo-manager.1 \ kumo-server.1 \ kumoctl.1 \ kumohash.1 \ kumolog.1 \ kumomergedb.1 \ kumostat.1 \ kumotop.1 NO_STAGE= yes pre-configure: cd ${WRKSRC}; ${TOUCH} README cd ${WRKSRC}; ${LIBTOOLIZE} --force --copy post-install: ${MKDIR} ${PIDDIR} ${CHOWN} ${USERS}:${GROUPS} ${PIDDIR} ${MKDIR} ${LOGDIR} ${CHOWN} ${USERS}:${GROUPS} ${LOGDIR} ${ECHO} "@exec ${CHOWN} ${USERS}:${GROUPS} ${PIDDIR} ${LOGDIR}" >> ${TMPPLIST} .include .if ${ARCH} == "i386" CONFIGURE_ARGS+=CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686" .endif .if ${ARCH} == "sparc64" BROKEN= Does not compile on sparc64 .endif .include diff --git a/databases/mysql-q4m/Makefile b/databases/mysql-q4m/Makefile index 8bcb2fb16085..ad551f2d7015 100644 --- a/databases/mysql-q4m/Makefile +++ b/databases/mysql-q4m/Makefile @@ -1,64 +1,64 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= q4m PORTVERSION= 0.9.13 CATEGORIES= databases MASTER_SITES= http://q4m.kazuhooku.com/dist/ PKGNAMEPREFIX= ${_MYSQL_SERVER:T:C/-server$/-/} MAINTAINER= knu@FreeBSD.org COMMENT= A message queue that works as a pluggable storage engine of MySQL FETCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${_MYSQL_SERVER}:build USES= gmake perl5 USE_AUTOTOOLS= libtool USE_MYSQL= server -USE_GCC= 4.2+ +USE_GCC= any USE_PERL5= run GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -DDBUG_OFF LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql CONFIGURE_ARGS= --prefix="${PREFIX}" \ --libdir="${PREFIX}/lib/mysql/plugin" \ --with-mysql="$$(cd ${PORTSDIR}/${_MYSQL_SERVER}; ${MAKE} -V WRKSRC)" COPYTREE_AUTO= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ 2>&1) && \ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \ ${FIND} $$1 -type d -exec chmod 755 {} \; && \ ${FIND} $$1 -type f \! -perm +100 -exec chmod ${SHAREMODE} {} \; && \ ${FIND} $$1 -type f -perm +100 -exec ${CHOWN} ${BINOWN}:${BINGRP} {} \; && \ ${FIND} $$1 -type f -perm +100 -exec chmod ${BINMODE} {} \;' -- NO_STAGE= yes post-extract: ${CP} -p ${WRKSRC}/support-files/install.sql ${WRKSRC}/examples/ .if !defined(NOPORTDOCS) PORTDOCS= AUTHORS ChangeLog README doc PORTEXAMPLES= crawler install.sql post-patch: @${REINPLACE_CMD} -e 's|/include/mysql|/include/mysql/mysql|g' ${WRKSRC}/configure post-install: ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} cd ${WRKSRC}; ${COPYTREE_SHARE} ${f} ${DOCSDIR} .endfor ${MKDIR} ${EXAMPLESDIR} .for f in ${PORTEXAMPLES} cd ${WRKSRC}/examples; ${COPYTREE_AUTO} ${f} ${EXAMPLESDIR} .endfor .endif install-functions: mysql -u root -p -f mysql < ${EXAMPLESDIR}/install.sql test: cd ${WRKSRC}; ./run_tests.pl .include diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile index ac294394f9b9..7e42d5e8ea7c 100644 --- a/graphics/gnash/Makefile +++ b/graphics/gnash/Makefile @@ -1,250 +1,250 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= gnash PORTVERSION= 0.8.10 PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= GNU/${PORTNAME}/${PORTVERSION}/ MAINTAINER= dinoex@FreeBSD.org COMMENT= GNU Flash movie player LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libcurl.so:${PORTSDIR}/ftp/curl \ libgif.so:${PORTSDIR}/graphics/giflib \ libspeex.so:${PORTSDIR}/audio/speex \ libnspr4.so:${PORTSDIR}/devel/nspr CONFLICTS= gnash-devel-[0-9]* USE_BZIP2= yes USES= gmake pkgconfig USE_AUTOTOOLS= libltdl GNU_CONFIGURE= yes WANT_SDL= yes WANT_GNOME= yes -USE_GCC= 4.2+ # triggers compiler error on gcc 3.4 +USE_GCC= any WANT_GSTREAMER= yes USE_GNOME= libxml2 USE_XORG= x11 xau xdmcp xext xi xinerama ice sm xv INSTALLS_ICONS= yes SYSCONFIGDIR= ${PREFIX}/etc # jemalloc leads to infinite recursion on FreeBSD CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \ --with-boost-lib="${LOCALBASE}/lib" \ --disable-testsuite \ --with-plugins-install=prefix \ --sysconfdir="${SYSCONFIGDIR}" \ --disable-kparts3 \ --disable-jemalloc \ --disable-silent-rules GNASHVER= ${PORTVERSION} CONFIG_FILES= gnashpluginrc gnashrc WRKSRC= ${WRKDIR}/${PORTNAME}-${GNASHVER} PLIST_SUB+= GNASHVER="${GNASHVER}" USE_LDCONFIG= ${PREFIX}/lib/gnash OPTIONS_DEFINE= PLUGIN CYGNAL VAAPI OPTIONS_SINGLE= MEDIA GUI RENDERER OPTIONS_SINGLE_MEDIA= FFMPEG FFMPEG2 GSTREAMER OPTIONS_SINGLE_GUI= GTK2 KDE4 OPTIONS_SINGLE_RENDERER=AGG OPENGL CAIRO OPTIONS_DEFAULT=GTK2 PLUGIN AGG FFMPEG VAAPI NO_OPTIONS_SORT=yes OPTIONS_SUB= yes PLUGIN_DESC= browser plugin CYGNAL_DESC= Cygnal media server AGG_DESC= AGG renderer OPENGL_DESC= OpenGL renderer CAIRO_DESC= Cairo renderer (experimental) FFMPEG_DESC= ffmpeg0 media handler FFMPEG2_DESC= ffmpeg2 media handler (broken) GSTREAMER_DESC= GStreamer media handler VAAPI_DESC= VAAPI support (requires FFMPEG) CYGNAL_CONFIGURE_ENABLE= cygnal .include .if ${OSVERSION} > 1000000 BROKEN= unable to link in libboost_system .endif # Cygnal option processing .if ${PORT_OPTIONS:MCYGNAL} CONFIG_FILES+= cygnalrc .endif # NLS option processing (not sure if --disable-nls actually has any effect) .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif # # Plugin configuration # .if ${PORT_OPTIONS:MGTK2} && ${PORT_OPTIONS:MPLUGIN} USES+= webplugin:native WEBPLUGIN_NAME= gnash WEBPLUGIN_FILES= libgnashplugin.so WEBPLUGIN_DIR=${_WEBPLUGIN_LIBDIR:S,^${LOCALBASE}/,${PREFIX}/,}/${WEBPLUGIN_NAME} PLIST_SUB+= NPAPI="" CONFIGURE_ARGS+=--with-npapi-plugindir="${WEBPLUGIN_DIR}" BUILD_DEPENDS+= ${LOCALBASE}/bin/xulrunner:${PORTSDIR}/www/libxul RUN_DEPENDS+= ${LOCALBASE}/bin/xulrunner:${PORTSDIR}/www/libxul .else PLIST_SUB+= NPAPI="@comment " CONFIGURE_ARGS+= --disable-npapi .endif .if ${PORT_OPTIONS:MKDE4} && ${PORT_OPTIONS:MPLUGIN} PLIST_SUB+= KPARTS4="" USE_LDCONFIG+= ${KDE4_PREFIX}/lib/kde4 CONFIGURE_ARGS+= --with-kde4_prefix=${PREFIX}/kde4 .else PLIST_SUB+= KPARTS4="@comment " CONFIGURE_ARGS+= --disable-kparts4 .endif # # GUI options processing # GNASH_GUIS= .if ${PORT_OPTIONS:MGTK2} USE_GNOME= gtk20 atk gconf2 GNASH_GUIS+= gtk .endif .if ${PORT_OPTIONS:MKDE4} GNASH_GUIS+= kde4 USE_QT4= moc_build QT_NONSTANDARD= yes USE_KDE4= kdehier kdelibs CONFIGURE_ENV+= KDE4_CONFIG="${KDE4_PREFIX}/bin/kde4-config" .endif .if ${GNASH_GUIS} == "" IGNORE= needs at least one GUI enabled. Please rerun 'make config' and enable GTK or KDE4 .endif CONFIGURE_ARGS+=--enable-gui=`${ECHO} ${GNASH_GUIS} | ${TR} ' ' ,` # # Renderer options processing # GNASH_RENDERERS= .if ${PORT_OPTIONS:MAGG} LIB_DEPENDS+= libagg.so:${PORTSDIR}/graphics/agg GNASH_RENDERERS+= agg .endif .if ${PORT_OPTIONS:MOPENGL} USE_GL= yes GNASH_RENDERERS+= ogl .if ${PORT_OPTIONS:MGTK2} LIB_DEPENDS+= libgdkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext .endif .endif .if ${PORT_OPTIONS:MCAIRO} .if ${PORT_OPTIONS:MKDE4} IGNORE= doesn't support Cairo renderer with KDE4 gui. Please rerun 'make config' and select different renderer or disable KDE4 GUI .endif LIB_DEPENDS+= libcairo.so:${PORTSDIR}/graphics/cairo GNASH_RENDERERS+= cairo .endif .if ${GNASH_RENDERERS} == "" IGNORE= needs at least one renderer enabled. Please rerun 'make config' and enable AGG, OPENGL or CAIRO .endif CONFIGURE_ARGS+= --enable-renderer=`${ECHO} ${GNASH_RENDERERS} | ${TR} ' ' ,` # # Hardware acceleration options processing # .if ${PORT_OPTIONS:MVAAPI} .if empty(PORT_OPTIONS:MFFMPEG) && empty(PORT_OPTIONS:MFFMPEG2) IGNORE= VAAPI currently works only with FFMPEG. Please rerun 'make config' and enable FFMPEG .endif LIB_DEPENDS+= libva.so:${PORTSDIR}/multimedia/libva .else CONFIGURE_ARGS+= --enable-hwaccel=none # XVideo .endif # # Media handler options processing # .if ${PORT_OPTIONS:MFFMPEG2} && empty(PORT_OPTIONS:MFFMPEG) && empty(PORT_OPTIONS:MGSTREAMER) LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg CONFIGURE_ARGS+= --enable-media=ffmpeg \ --with-ffmpeg-incl=${LOCALBASE}/include/libavcodec \ --with-ffmpeg-lib=${LOCALBASE}/lib USE_SDL+= sdl MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/ffmpeg" .elif ${PORT_OPTIONS:MFFMPEG} && empty(PORT_OPTIONS:MFFMPEG2) && empty(PORT_OPTIONS:MGSTREAMER) EXTRA_PATCHES+= ${FILESDIR}/ffmpeg0.patch LIB_DEPENDS+= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 CONFIGURE_ARGS+= --enable-media=ffmpeg \ --with-ffmpeg-incl=${LOCALBASE}/include/ffmpeg0/libavcodec \ --with-ffmpeg-lib=${LOCALBASE}/lib/ffmpeg0 USE_SDL+= sdl MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/ffmpeg0" .elif ${PORT_OPTIONS:MGSTREAMER} && empty(PORT_OPTIONS:MFFMPEG) && empty(PORT_OPTIONS:MFFMPEG2) USE_GSTREAMER= yes CONFIGURE_ARGS+= --enable-media=gst USE_SDL+= sdl .else CONFIGURE_ARGS+= --enable-media=none IGNORE= can't be built with multiple media handlers enabled. Please rerun 'make config' and leave one or none of them (ffmpeg|gstreamer) .endif .include pre-everything:: .if ${PORT_OPTIONS:MOPENGL} @${ECHO_CMD} "OpenGL support is currently broken (Gnash hangs using 100% CPU). Use at your own risk" @sleep 3 .endif post-patch: ${REINPLACE_CMD} -e '/^PTHREAD_[LC][IF]*=/ d; s|-lpthread|${PTHREAD_LIBS}|' \ -e '/KDE4_APPSDATADIR=/ s|share/kde4|share|' \ -e 's|/usr/local|${LOCALBASE}|g; \ s|/lib64|/lib|g; \ s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/configure \ ${WRKSRC}/macros/libslist ${WRKSRC}/macros/incllist ${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|libdir)|exec_prefix)/libdata|' \ ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e '/^man1dir =/ s|=.*|= ${MAN1PREFIX}/man/man1|' \ ${WRKSRC}/doc/C/Makefile.in post-install: .for conf in ${CONFIG_FILES} ${MV} ${STAGEDIR}/${SYSCONFIGDIR}/${conf} ${STAGEDIR}${SYSCONFIGDIR}/${conf}.dist .endfor .if ${PORT_OPTIONS:MPLUGIN} .if ${PORT_OPTIONS:MGTK2} cd ${INSTALL_WRKSRC}/plugin && \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install-plugin .endif .if ${PORT_OPTIONS:MKDE4} cd ${INSTALL_WRKSRC}/plugin/klash4 && \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install-plugin .endif .endif .include diff --git a/graphics/php-facedetect/Makefile b/graphics/php-facedetect/Makefile index b8848f004266..11dad0f92561 100644 --- a/graphics/php-facedetect/Makefile +++ b/graphics/php-facedetect/Makefile @@ -1,39 +1,39 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= facedetect PORTVERSION= 1.1 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/infusion/PHP-Facedetect/tarball/${GITVERSION}/ PKGNAMEPREFIX= php- DISTNAME= infusion-PHP-Facedetect-${GITVERSION} MAINTAINER= mm@FreeBSD.org COMMENT= Face detection extension for PHP using OpenCV library LICENSE= PHP30 LIB_DEPENDS= libopencv_objdetect.so:${PORTSDIR}/graphics/opencv GITVERSION= 4b1dfe1 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lopencv_core USE_PHP= yes USE_PHPIZE= yes USE_PHPEXT= yes CONFIGURE_ARGS+= --with-facedetect CONFIGURE_ENV+= LIBS="${LIBS}" NO_STAGE= yes .include .if ${ARCH} == "amd64" -USE_GCC= 4.2+ +USE_GCC= any .endif .include diff --git a/lang/phantomjs/Makefile b/lang/phantomjs/Makefile index 78007dbc49a6..edc4f97ed5c8 100644 --- a/lang/phantomjs/Makefile +++ b/lang/phantomjs/Makefile @@ -1,37 +1,37 @@ # $FreeBSD$ PORTNAME= phantomjs PORTVERSION= 1.9.2 PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= kuriyama@FreeBSD.org COMMENT= Minimalistic, headless, WebKit-based, JavaScript-driven tool LICENSE= BSD BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig PROJECTHOST= phantomjs -USE_GCC= 4.2+ USES= gmake dos2unix pkgconfig +USE_GCC= any USE_ZIP= YES WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} do-build: cd ${WRKSRC} && ${SETENV} CC=${CC} CXX=${CXX} OSTYPE=freebsd MAKEFLAGS= PATH=${PATH} bash -x build.sh --jobs ${MAKE_JOBS_NUMBER} --confirm do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${STAGEDIR}${PREFIX}/bin/ .include .if ${ARCH} == "sparc64" BROKEN= Does not link on sparc64 .endif .include diff --git a/lang/squeak/Makefile b/lang/squeak/Makefile index a4b7a1844790..9a5db8f27db0 100644 --- a/lang/squeak/Makefile +++ b/lang/squeak/Makefile @@ -1,103 +1,103 @@ # Created by: roland.jesse@gmx.net # $FreeBSD$ PORTNAME= squeak PORTVERSION= 4.10.2 CATEGORIES= lang ################################################## MASTER_SITES= http://www.squeakvm.org/unix/release/:vmsrc \ http://ftp.squeak.org/${IMAGEVERSION}/:src \ ftp://squeak.org/4.1/:sqsrc \ http://squeak.610t.org/patches/:mainsrc DISTFILES= Squeak-${VM_VERSION}-src${EXTRACT_SUFX}:vmsrc \ Squeak${IMAGEVERSION}.zip:src \ ${SQUEAK_SRC}.gz:sqsrc EXTRACT_ONLY= Squeak-${VM_VERSION}-src${EXTRACT_SUFX} ################################################## MAINTAINER= mutoh@openedu.org COMMENT= Full Smalltalk 80 with portability to UNIX, Mac, and Windows LICENSE= APACHE20 MIT LICENSE_COMB= multi # Don't set USE_ZIP as this breaks EXTRACT_CMD. BUILD_DEPENDS= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \ cmake:${PORTSDIR}/devel/cmake \ v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat LIB_DEPENDS= audio:${PORTSDIR}/audio/nas \ ffi:${PORTSDIR}/devel/libffi \ asound:${PORTSDIR}/audio/alsa-lib \ pulse-simple:${PORTSDIR}/audio/pulseaudio \ gstreamer:${PORTSDIR}/multimedia/gstreamer \ v4l2:${PORTSDIR}/multimedia/libv4l ################################################## VM_VERSION= ${PORTVERSION}.${SVNVERSION} SVNVERSION= 2614 IMAGEVERSION= 4.3 SQUEAK_SRC= SqueakV41.sources SQUEAK_LIB_DIR= ${PORTVERSION}-${SVNVERSION} USES= pkgconfig NO_STAGE= yes .include ################################################## DIST_SUBDIR= squeak ONLY_FOR_ARCHS= i386 amd64 MAN1= squeak.1 -USE_GCC= 4.2+ +USE_GCC= any USE_GL= gl HAS_CONFIGURE= yes # Plugin image must be writable, because of it copy to user's ~/.npsqueak/ and # be updated. SHAREMODE= 644 # shared Libaries are to be installed in: LDCONFIG_DIRS= ${PREFIX}/lib/squeak/${VM_VERSION} IMAGES= Squeak${IMAGEVERSION}/Squeak${IMAGEVERSION}.image \ Squeak${IMAGEVERSION}/Squeak${IMAGEVERSION}.changes ################################################## # Configure and Build WRKSRC= ${WRKDIR}/Squeak-${VM_VERSION}-src CONFIGURE_WRKSRC= ${WRKSRC}/build BUILD_WRKSRC= ${CONFIGURE_WRKSRC} INSTALL_WRKSRC= ${CONFIGURE_WRKSRC} CONFIGURE_SCRIPT= ../unix/cmake/configure CONFIGURE_ARGS+= --prefix=${PREFIX} CMAKE_SOURCE_PATH= ../unix SUB_FILES= pkg-message SUB_LIST= SQUEAK_LIB_DIR=${SQUEAK_LIB_DIR} PLIST_SUB= SQUEAK_LIB_DIR=${SQUEAK_LIB_DIR} ################################################## post-patch: # Fix utmp.h .if ${OSVERSION} > 900007 @${REINPLACE_CMD} \ -e "s,,,g" \ ${WRKSRC}/unix/plugins/PseudoTTYPlugin/openpty.h .endif ################################################## pre-configure: @${MKDIR} ${CONFIGURE_WRKSRC} ################################################## post-install: ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_SRC}.gz > ${WRKDIR}/${SQUEAK_SRC} && ${INSTALL_DATA} ${WRKDIR}/${SQUEAK_SRC} ${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/ (cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -u Squeak${IMAGEVERSION}.zip -d ${WRKDIR}) .for f in ${IMAGES} (cd ${WRKDIR} && ${INSTALL_DATA} ${f} ${PREFIX}/lib/squeak/) .endfor @${CAT} ${PKGMESSAGE} .include diff --git a/math/R-cran-MCMCpack/Makefile b/math/R-cran-MCMCpack/Makefile index 76b5bac8a723..081f37d360e4 100644 --- a/math/R-cran-MCMCpack/Makefile +++ b/math/R-cran-MCMCpack/Makefile @@ -1,21 +1,21 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= MCMCpack DISTVERSION= 1.3-3 PORTREVISION= 3 CATEGORIES= math DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= Markov chain Monte Carlo Package LICENSE= GPLv3 RUN_DEPENDS= R-cran-coda>0.11.3:${PORTSDIR}/math/R-cran-coda -# Actually required 4.0 or later, but at least 4.2 in the FreeBSD ports tree -USE_GCC= 4.2+ +# Actually required 4.0 or later. +USE_GCC= any USES= cran:auto-plist .include diff --git a/math/polymake/Makefile b/math/polymake/Makefile index 66c60975b573..6fe374f916e4 100644 --- a/math/polymake/Makefile +++ b/math/polymake/Makefile @@ -1,69 +1,69 @@ # Created by: Ewgenij Gawrilow # $FreeBSD$ PORTNAME= polymake PORTVERSION= 2.9.9 CATEGORIES= math java MASTER_SITES= http://wwwopt.mathematik.tu-darmstadt.de/polymake/lib/exe/fetch.php/download/ MAINTAINER= gawrilow@math.tu-berlin.de COMMENT= A framework for experimental discrete geometry BUILD_DEPENDS= p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \ p5-XML-Writer>=0:${PORTSDIR}/textproc/p5-XML-Writer \ ${LOCALBASE}/share/xml/dtd/xhtml/xhtml-lat1.ent:${PORTSDIR}/textproc/xhtml RUN_DEPENDS= p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \ p5-XML-Writer>=0:${PORTSDIR}/textproc/p5-XML-Writer \ ${LOCALBASE}/share/xml/dtd/xhtml/xhtml-lat1.ent:${PORTSDIR}/textproc/xhtml \ p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu \ p5-XML-LibXSLT>=0:${PORTSDIR}/textproc/p5-XML-LibXSLT \ ${LOCALBASE}/bin/c++filt:${PORTSDIR}/devel/binutils LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \ readline.[56]:${PORTSDIR}/devel/readline USES= gmake perl5 USE_BZIP2= yes -USE_GCC= 4.2+ +USE_GCC= any USE_JAVA= yes JAVA_BUILD= yes JAVA_RUN= yes JAVA_VERSION= 1.6 MAKE_ENV+= ProcessDep=none NO_INSTALL_MANPAGES= yes HAS_CONFIGURE= yes CONFIGURE_ENV+= JAVA_HOME=${JAVA_HOME} CONFIGURE_ARGS+= --prefix='${PREFIX}' --datadir='${DATADIR}' \ --libdir='${PREFIX}/libexec/polymake' \ --docdir='${DOCSDIR}' --without-prereq \ LDFLAGS='-L${PREFIX}/lib' USE_LDCONFIG= yes NO_STAGE= yes .include .if ${PERL_LEVEL} >= 501400 IGNORE= does not build with Perl 5.14+ .endif pre-fetch: @if [ ${MAKE_JOBS_NUMBER} -gt 1 ]; then \ ${ECHO_CMD} "Building this port uses a lot of CPU power, and a lot of memory to the point"; \ ${ECHO_CMD} "that swap space might be used extensively. Consider using less threads, as"; \ ${ECHO_CMD} "this might cause the build to be considerably faster. Currently the build is"; \ ${ECHO_CMD} "set to use ${MAKE_JOBS_NUMBER} threads. To change to threads, use"; \ ${ECHO_CMD}; \ ${ECHO_CMD} "make MAKE_JOBS_NUMBER="; \ fi post-install: ${INSTALL_DATA} ${PREFIX}/libexec/polymake/conf.make ${PREFIX}/libexec/polymake/conf.make.in .if !defined(NOPORTDOCS) ${SETENV} POLYMAKE_USER_DIR=${WRKDIR}/.polymake-tmp ${GMAKE} -C ${WRKSRC} docs .endif # Don't use PLIST_SUBS here, as perl might not be installed early enough. @${PERL} -i -pe 'BEGIN{use Config;} s/%%PERL_REAL_ARCH%%/$$Config{archname}/e' ${TMPPLIST} .include diff --git a/multimedia/bombono/Makefile b/multimedia/bombono/Makefile index ce465442c1f4..a2ae899100bc 100644 --- a/multimedia/bombono/Makefile +++ b/multimedia/bombono/Makefile @@ -1,46 +1,46 @@ # Created by: Stas Timokhin # $FreeBSD$ PORTNAME= bombono PORTVERSION= 1.2.2 PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-dvd/${PORTVERSION:R} DISTNAME= ${PORTNAME}-dvd-${PORTVERSION} MAINTAINER= pawel@FreeBSD.org COMMENT= DVD authoring program BUILD_DEPENDS= GraphicsMagick>=1.1.7:${PORTSDIR}/graphics/GraphicsMagick LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \ libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 \ liblavfile.so:${PORTSDIR}/multimedia/mjpegtools \ libdvdread.so:${PORTSDIR}/multimedia/libdvdread \ libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ libboost_filesystem.so:${PORTSDIR}/devel/boost-libs RUN_DEPENDS= GraphicsMagick>=1.1.7:${PORTSDIR}/graphics/GraphicsMagick \ dvda-author:${PORTSDIR}/audio/dvda-author \ enca:${PORTSDIR}/converters/enca \ growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \ toolame:${PORTSDIR}/audio/toolame USES= pkgconfig scons USE_BZIP2= yes -USE_GCC= 4.2+ +USE_GCC= any INSTALLS_ICONS= yes CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl MAKE_ARGS= DVDREAD_INCLUDE=${LOCALBASE}/include \ DVDREAD_LIBPATH=${LOCALBASE}/lib \ CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ CC="${CC}" CXX="${CXX}" post-patch: @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/SConstruct post-install: cd ${WRKSRC}/docs/man/man1 && ${INSTALL_MAN} bombono-dvd.1 \ mpeg2demux.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/net-p2p/verlihub-plugins/Makefile.plugins b/net-p2p/verlihub-plugins/Makefile.plugins index 93226f6c4fb4..a6ecbf02a22d 100644 --- a/net-p2p/verlihub-plugins/Makefile.plugins +++ b/net-p2p/verlihub-plugins/Makefile.plugins @@ -1,45 +1,45 @@ # $FreeBSD$ # common bits for verlihub plugins # this controls DISTNAME PLUGIN_NAME?= ${PORTNAME} PKGNAMEPREFIX= verlihub-plugins- DISTNAME= ${PLUGIN_NAME}-${PORTVERSION} WRKSRC?= ${WRKDIR}/${PLUGIN_NAME} COMMENT?= ${PLUGIN_DESC} plugin for the VerliHub - a Direct Connect protocol server BUILD_DEPENDS+= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net-p2p/verlihub RUN_DEPENDS+= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net-p2p/verlihub -USE_GCC= 4.2+ +USE_GCC= any GNU_CONFIGURE= yes CFLAGS+= -fPIC PLIST_FILES+= lib/lib${PLUGIN_NAME}_pi.a \ lib/lib${PLUGIN_NAME}_pi.la \ lib/lib${PLUGIN_NAME}_pi.so \ lib/lib${PLUGIN_NAME}_pi.so.0 \ etc/verlihub/plugins/lib${PLUGIN_NAME}_pi.so PKGMESSAGE= ${WRKDIR}/pkg-message PKGMESSAGE_TEMPLATE= ${PORTSDIR}/net-p2p/verlihub-plugins/pkg-message.plugins post-patch:: @${REINPLACE_CMD} -e 's,echo aout,echo elf,' ${WRKSRC}/configure post-build:: @${SED} -e 's,%%PLUGIN_DESC%%,${PLUGIN_DESC},' < ${PKGMESSAGE_TEMPLATE} \ > ${PKGMESSAGE} post-install:: @${MKDIR} ${PREFIX}/etc/verlihub/plugins @${LN} -sf ${PREFIX}/lib/lib${PLUGIN_NAME}_pi.so \ ${PREFIX}/etc/verlihub/plugins/lib${PLUGIN_NAME}_pi.so @if [ -f ${PKGMESSAGE} ]; then \ ${CAT} ${PKGMESSAGE}; \ fi @${ECHO_CMD} '@unexec rmdir %D/etc/verlihub/plugins 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_CMD} '@unexec rmdir %D/etc/verlihub 2>/dev/null || true' >> ${TMPPLIST} diff --git a/net-p2p/verlihub/Makefile b/net-p2p/verlihub/Makefile index 6fd0038c7953..09968c096e5c 100644 --- a/net-p2p/verlihub/Makefile +++ b/net-p2p/verlihub/Makefile @@ -1,34 +1,34 @@ # Created by: Bill Cadwallader # $FreeBSD$ PORTNAME= verlihub DISTVERSION= 0.9.8e-r2 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/Verlihub/${DISTVERSION} MAINTAINER= me@skylord.ru COMMENT= A Direct Connect protocol server (Hub) # XXX: Actually, bash isn't required for building, # but otherwise configure script would pick the wrong path BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash LIB_DEPENDS= GeoIP.5:${PORTSDIR}/net/GeoIP \ pcre.3:${PORTSDIR}/devel/pcre RUN_DEPENDS= bash:${PORTSDIR}/shells/bash LDFLAGS+= -L/usr/local/lib USE_RC_SUBR= verlihub -USE_GCC= 4.2+ +USE_GCC= any USE_AUTOTOOLS= libtool USE_MYSQL= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_OPENSSL= yes SUB_FILES+= pkg-message post-patch: @${REINPLACE_CMD} -e 's|for libpath in /|for libpath in ${PREFIX} /|g' ${WRKSRC}/config_geoip .include diff --git a/net/hanstunnel/Makefile b/net/hanstunnel/Makefile index 29921e0e6944..1b97527b550d 100644 --- a/net/hanstunnel/Makefile +++ b/net/hanstunnel/Makefile @@ -1,43 +1,43 @@ # Created by: Alexander Panyushkin # $FreeBSD$ PORTNAME= hans PORTVERSION= 0.4.1 PORTREVISION= 1 CATEGORIES= net security MASTER_SITES= SF/hanstunnel/source MAINTAINER= vsityz@gmail.com COMMENT= Hans makes it possible to tunnel IPv4 through ICMP LICENSE= GPLv3 OPTIONS_DEFINE= CLANG CLANG_DESC= Build with Clang instead of GCC OPTIONS_DEFAULT= CLANG PLIST_FILES= bin/hans SUB_FILES= pkg-message .include .if ${PORT_OPTIONS:MCLANG} .if ${OSVERSION} >= 900033 && exists(/usr/bin/clang) CC= clang CXX= clang++ .else BUILD_DEPENDS+= clang33:${PORTSDIR}/lang/clang33 CC= clang33 CXX= clang++33 .endif .else -USE_GCC=4.2+ +USE_GCC= any .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hans ${STAGEDIR}${LOCALBASE}/bin .include diff --git a/net/xorp-devel/Makefile b/net/xorp-devel/Makefile index 597ebee7e53d..4797f1f1749f 100644 --- a/net/xorp-devel/Makefile +++ b/net/xorp-devel/Makefile @@ -1,103 +1,103 @@ # Created by: Bruce M Simpson # $FreeBSD$ PORTNAME= xorp-devel PORTVERSION= 2009120801 PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= bms DISTNAME= xorp-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Open source network routing platform, development branch BUILD_DEPENDS= python:${PORTSDIR}/lang/python # Uses libcurses, libcrypto, librt from base system. LIB_DEPENDS= libboost_regex.so:${PORTSDIR}/devel/boost-libs \ libpcap.so:${PORTSDIR}/net/libpcap CONFLICTS= xorp-1* NOMAN= defined USE_BZIP2= yes -USE_GCC= 4.2+ +USE_GCC= any USE_PYTHON_BUILD= 2 USES= scons NO_STAGE= yes #USE_OPENSSL= yes OPTIONS_DEFINE= OPTIMIZE ORIGIN SHARED STRIP TCP_RPC OPTIONS_DEFAULT= OPTIMIZE ORIGIN SHARED STRIP OPTIMIZE_DESC= Build with optimization ORIGIN_DESC= Use ORIGIN with shared libraries SHARED_DESC= Build with shared libraries TCP_RPC_DESC= Use TCP as RPC transport (defaults to AF_LOCAL) # # To roll snapshot: as bms: make BOOTSTRAP=defined fetch # .if defined(BOOTSTRAP) FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion SVN_REV= 11685 # svn tip at epoch 2009120801 SVNROOT_URI= http://xorp.svn.sourceforge.net/svnroot/xorp do-fetch: ${MKDIR} ${WRKDIR} svn export -r ${SVN_REV} ${SVNROOT_URI}/trunk/xorp ${WRKSRC} cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} .if ${USER} == bms ${CHMOD} ugo+r ${DISTDIR}/${DISTNAME}.tar.bz2 scp -p ${DISTDIR}/${DISTNAME}.tar.bz2 \ freefall.freebsd.org:public_distfiles/ .endif .endif # defined(BOOTSTRAP) .include XORP_GROUP= xorp USE_RC_SUBR= xorp MAKE_ARGS+= prefix=${PREFIX} .if ${PORT_OPTIONS:MOPTIMIZE} MAKE_ARGS+= optimize=yes .else MAKE_ARGS+= optimize=no .endif .if ${PORT_OPTIONS:MSHARED} MAKE_ARGS+= shared=true PLIST_SUB+= XORP_SHLIB="" USE_LDCONFIG= ${PREFIX}/lib/xorp/lib . if ${PORT_OPTIONS:MORIGIN} MAKE_ARGS+= origin=true . else MAKE_ARGS+= origin=false . endif .else MAKE_ARGS+= shared=false PLIST_SUB+= XORP_SHLIB="@comment " .endif .if ${PORT_OPTIONS:MSTRIP} MAKE_ARGS+= strip=true .else MAKE_ARGS+= strip=false .endif .if ${PORT_OPTIONS:MTCP_RPC} MAKE_ARGS+= transport=tcp .else MAKE_ARGS+= transport=local .endif .if ${ARCH} == "sparc64" BROKEN= Does not compile on sparc64 .endif post-install: ${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include diff --git a/security/keepassx2/Makefile b/security/keepassx2/Makefile index cc90a49c2ef1..f5a64192cdc6 100644 --- a/security/keepassx2/Makefile +++ b/security/keepassx2/Makefile @@ -1,30 +1,30 @@ # Created by: Eric Camachat # $FreeBSD$ PORTNAME= KeePassX DISTVERSION= 2.0 CATEGORIES= security MASTER_SITES= https://www.keepassx.org/dev/attachments/download/36/ PKGNAMESUFFIX= -alpha DISTNAME= ${PORTNAME:L}-${DISTVERSION}${PKGNAMESUFFIX}4 MAINTAINER= eric@camachat.org COMMENT= Cross Platform Password Manager LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt CONFLICTS_INSTALL= keepassx-0.* DATADIR= ${PREFIX}/share/${PORTNAME:L} WRKSRC= ${WRKDIR}/${DISTNAME:L} USES= cmake -USE_GCC= 4.2+ +USE_GCC= any USE_LDCONFIG= yes INSTALLS_ICONS= yes USE_QT4= corelib gui xml qtestlib dbus uic_build moc_build \ qmake_build rcc_build USE_XORG= xt inputproto xtst xrender xrandr xfixes xcursor \ xext x11 sm ice xi .include diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile index 3bbcfe90fbd2..7030037aaa17 100644 --- a/security/libgcrypt/Makefile +++ b/security/libgcrypt/Makefile @@ -1,64 +1,64 @@ # Created by: Tilman Linneweh # $FreeBSD$ PORTNAME= libgcrypt PORTVERSION= 1.5.3 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GNUPG} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= umq@ueo.co.jp COMMENT= General purpose crypto library based on code used in GnuPG LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error RUN_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error USE_BZIP2= yes USE_AUTOTOOLS= libtool USE_CSTD= gnu89 GNU_CONFIGURE= yes CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" USE_LDCONFIG= yes DOCS= AUTHORS ChangeLog ChangeLog-2011 INSTALL NEWS README \ README.GIT THANKS TODO doc/HACKING doc/README.apichanges INFO= gcrypt PORTDOCS= * .include .if ${ARCH} == "powerpc" CONFIGURE_ARGS+= --disable-asm .elif ${ARCH} == "armv6" -USE_GCC=4.2+ +USE_GCC= any .elif ${ARCH} == "i386" .if (${OSVERSION} < 900033) CONFIGURE_ARGS+= --disable-aesni-support #workaround for FreeBSD 10.0 .elif (${OSVERSION} >= 1000000) CONFIGURE_ARGS+= --disable-asm .endif .endif post-patch: @${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \ ${WRKSRC}/ltmain.sh pre-configure: @${RM} -f ${WRKSRC}/doc/gcrypt.info* .if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .endif regression-test: build cd ${WRKSRC} && ${MAKE} check .include diff --git a/textproc/uim-kde4/Makefile b/textproc/uim-kde4/Makefile index 57142c8b9d45..b6eb6fa6a878 100644 --- a/textproc/uim-kde4/Makefile +++ b/textproc/uim-kde4/Makefile @@ -1,40 +1,40 @@ # Created by: MANTANI Nobutaka # $FreeBSD$ PKGNAMESUFFIX= -kde4 COMMENT= KDE4 panel applet of uim input method BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake LIB_DEPENDS= uim:${PORTSDIR}/textproc/uim RUN_DEPENDS= uim-pref-qt4:${PORTSDIR}/textproc/uim-qt4 -USE_GCC= 4.2+ +USE_GCC= any USE_KDE4= kdehier kdeprefix kdelibs automoc4 USE_QT4= qmake_build moc_build qt3support uic rcc USE_AUTOTOOLS= libtool MASTERDIR= ${.CURDIR}/../../textproc/uim PKGDIR= ${.CURDIR} CONFIGURE_ARGS= --with-qt4 --enable-pref --enable-default-toolkit=qt4 \ --enable-kde4-applet CONFIGURE_ENV= KDE4_CONFIG="${KDE4_PREFIX}/bin/kde4-config" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include UIM_SLAVE= yes EXTRA_PATCHES= ${PATCHDIR}/extra-patch-qt4_toolbar_CMakeLists.txt .if defined(WITHOUT_X11) IGNORE= requires X11 .endif NO_STAGE= yes do-build: (cd ${WRKSRC}/qt4/toolbar/build && ${SETENV} ${MAKE_ENV} ${GMAKE}) do-install: (cd ${WRKSRC}/qt4/toolbar/build && ${SETENV} ${MAKE_ENV} ${GMAKE} install) .include "${MASTERDIR}/Makefile"