Index: head/astro/rmap/Makefile =================================================================== --- head/astro/rmap/Makefile (revision 418828) +++ head/astro/rmap/Makefile (revision 418829) @@ -1,27 +1,27 @@ # Created by: trevor # $FreeBSD$ PORTNAME= rmap PORTVERSION= 1.2 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= astro geography MASTER_SITES= http://rmap.sourceforge.net/ MAINTAINER= ports@FreeBSD.org COMMENT= Generates images of the Earth centered at a particular location LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgd.so:graphics/gd USES= gmake GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/rmap man/man1/rmap.1.gz %%DATADIR%%/earth.rez \ %%DATADIR%%/rmap.colors .include Index: head/audio/enscribe/Makefile =================================================================== --- head/audio/enscribe/Makefile (revision 418828) +++ head/audio/enscribe/Makefile (revision 418829) @@ -1,42 +1,42 @@ # Created by: Jean-Yves Lefort # $FreeBSD$ PORTNAME= enscribe PORTVERSION= 0.1.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= audio graphics MASTER_SITES= http://www.coppercloudmusic.com/enscribe/ MAINTAINER= ports@FreeBSD.org COMMENT= Create digital audio watermark images from photographic images LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libgd.so:graphics/gd \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 USES= jpeg pkgconfig tar:tgz PORTDOCS= README PLIST_FILES= bin/enscribe OPTIONS_DEFINE= DOCS do-build: cd ${BUILD_WRKSRC}; ${CC} ${CFLAGS} \ `pkg-config --cflags --libs sndfile freetype2` \ -I${LOCALBASE}/include -L${LOCALBASE}/lib \ -lgd -lpng -ljpeg -lm -lz \ -o enscribe enscribe.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/enscribe ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/audio/mp3plot/Makefile =================================================================== --- head/audio/mp3plot/Makefile (revision 418828) +++ head/audio/mp3plot/Makefile (revision 418829) @@ -1,38 +1,38 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= mp3plot DISTVERSION= 0.6.0 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= audio MASTER_SITES= http://p.outlyer.net/mp3plot/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Mp3 bitrate plot tool LICENSE= GPLv2 LIB_DEPENDS= libboost_thread.so:devel/boost-libs OPTIONS_DEFINE= GD IMAGEMAGICK OPTIONS_DEFAULT=GD CONFIGURE_ARGS= --with-boost-program-options=boost_program_options \ --with-boost-thread=boost_thread CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes LIBS+= -L${LOCALBASE}/lib -lboost_system PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz GD_CONFIGURE_ENABLE= gd GD_LIB_DEPENDS= libgd.so:graphics/gd IMAGEMAGICK_CONFIGURE_ENABLE= magick IMAGEMAGICK_LIB_DEPENDS=libMagick++-6.so:graphics/ImageMagick BROKEN_powerpc64= Does not build on powerpc64 post-patch: @${REINPLACE_CMD} -e '/bldtype_/s|-O2||g; s|^extra_LD.*||g' ${WRKSRC}/configure .include Index: head/biology/emboss/Makefile =================================================================== --- head/biology/emboss/Makefile (revision 418828) +++ head/biology/emboss/Makefile (revision 418829) @@ -1,59 +1,59 @@ # Created by: Johann Visagie # $FreeBSD$ PORTNAME= emboss PORTVERSION= 6.6.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= biology MASTER_SITES= ftp://emboss.open-bio.org/pub/EMBOSS/ DISTNAME= ${PORTNAME:tu}-${PORTVERSION} DIST_SUBDIR= ${PORTNAME} MAINTAINER= wen@FreeBSD.org COMMENT= Collection of open source tools for genetic sequence analysis LICENSE= GPLv2 BUILD_DEPENDS= clustalw:biology/clustalw \ primer3:biology/primer3 LIB_DEPENDS= libgd.so:graphics/gd \ libpng.so:graphics/png CONFLICTS= qmail-ldap-[0-9]* digest-[0-9]* PREFIX?= ${LOCALBASE}/emboss NO_MTREE= yes USES= gmake libtool iconv USE_SUBMAKE= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes SUB_FILES= pkg-message SUB_LIST= PREFIX=${PREFIX} DATADIR=${DATADIR} LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+=${ICONV_CONFIGURE_ARG} INSTALL_TARGET= install-strip DOCSDIR= ${PREFIX}/share/${PORTNAME:tu}/doc DATADIR= ${PREFIX}/share/${PORTNAME:tu} OPTIONS_DEFINE= DOCS X11 OPTIONS_DEFAULT= X11 DOCS_CONFIGURE_ON= --with-docroot=${DOCSDIR} X11_USE= XORG=x11 X11_USES= motif X11_LIB_DEPENDS= libgd.so:graphics/gd \ libpng.so:graphics/png X11_CONFIGURE_OFF= --without-x CONFIG_FILE= ${WRKSRC}/emboss/emboss.default.template post-patch: @${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure pre-install: @ ${REINPLACE_CMD} -e 's#%%DATADIR%%#${PREFIX}/share/${PORTNAME:tu}#' ${CONFIG_FILE} post-install: ${INSTALL_DATA} ${CONFIG_FILE} ${STAGEDIR}${DATADIR} .include Index: head/cad/pcb/Makefile =================================================================== --- head/cad/pcb/Makefile (revision 418828) +++ head/cad/pcb/Makefile (revision 418829) @@ -1,69 +1,69 @@ # Created by: Michael Reifenberger # $FreeBSD$ PORTNAME= pcb PORTVERSION= 20140316 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= X11 interactive printed circuit board layout system LICENSE= GPLv2 LIB_DEPENDS= libgd.so:graphics/gd \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext RUN_DEPENDS= m4>=1.4.11:devel/m4 \ ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus BUILD_DEPENDS:= ${RUN_DEPENDS} CONFLICTS= gts-[0-9]* USE_AUTOTOOLS= autoconf USES= gmake pkgconfig tk:run shared-mime-info desktop-file-utils USE_GNOME= intltool INSTALLS_ICONS= yes GNU_CONFIGURE= yes CONFIGURE_ENV+= INSTALL_DATA="${BSD_INSTALL_DATA}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib PORTDOCS= \ pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png \ examples tutorial gcode.png gcode_control_img.png \ gcode_tool_path.png OPTIONS_DEFINE= DOCS NLS OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI=MOTIF GTK NONE OPTIONS_DEFAULT=GTK DOCS_CONFIGURE_ENABLE= doc DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} \ ${ICONV_CONFIGURE_ARG} NLS_CONFIGURE_OFF= --without-libintl \ --without-iconv NLS_USES= gettext iconv .for L in fr nl ru pt_BR NLS_PLIST_FILES+= share/locale/${L}/LC_MESSAGES/pcb.mo .endfor MOTIF_DESC= Motif widgets MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-gui=lesstif MOTIF_CONFIGURE_ENV= WISH=${WISH} GTK_DESC= GIMP ToolKit widgets GTK_USE= GNOME=gtk20 GTK_CONFIGURE_ON= --with-gui=gtk GTK_CONFIGURE_ENV= WISH=${WISH} NONE_DESC= No GUI support NONE_CONFIGURE_ON= --without-gui NONE_CONFIGURE_ENV= WISH=/usr/bin/true ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Uses x86 specific libc functions and has not been ported DOCS_INFO= pcb .include Index: head/devel/cvsgraph/Makefile =================================================================== --- head/devel/cvsgraph/Makefile (revision 418828) +++ head/devel/cvsgraph/Makefile (revision 418829) @@ -1,56 +1,56 @@ # Created by: trevor # $FreeBSD$ PORTNAME= cvsgraph PORTVERSION= 1.7.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel graphics MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/ MAINTAINER= ports@FreeBSD.org COMMENT= Graph the life story of a file under CVS or RCS LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgd.so:graphics/gd SUB_FILES= pkg-message GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \ --with-gd-lib=${LOCALBASE}/lib CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${PREFIX}/lib" DOCS= ChangeLog README EXAMPLES= cvsgraphwrapper.php mkimage.php MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \ commitinfo cvswrappers tag_action.sh taginfo OPTIONS_DEFINE= DOCS EXAMPLES pre-patch: @${REINPLACE_CMD} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" ${WRKSRC}/cvsgraph.conf do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${STAGEDIR}${PREFIX}/etc/cvsgraph.conf.sample ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation .for i in ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${EXAMPLESDIR} .endfor .for i in ${MORE_EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} \ ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation .endfor .include Index: head/devel/m17n-lib/Makefile =================================================================== --- head/devel/m17n-lib/Makefile (revision 418828) +++ head/devel/m17n-lib/Makefile (revision 418829) @@ -1,53 +1,54 @@ # Created by: Kimura Fuyuki # $FreeBSD$ PORTNAME= m17n-lib PORTVERSION= 1.7.0 +PORTREVISION= 1 CATEGORIES= devel textproc MASTER_SITES= SAVANNAH/m17n MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= Library for the multilingual text handling BUILD_DEPENDS= bison:devel/bison \ m17n-db>=1.6.4:devel/m17n-db LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgd.so:graphics/gd \ libotf.so:print/libotf RUN_DEPENDS= m17n-db>=1.6.4:devel/m17n-db MAKE_JOBS_UNSAFE= yes USES= autoreconf gettext-tools libtool pkgconfig USE_XORG= ice sm x11 xaw xft xt USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-nls OPTIONS_DEFINE= ANTHY ISPELL THAI ANTHY_DESC= Kana-Kanji conversion support via Anthy ISPELL_DESC= Spell checking support via Ispell THAI_DESC= Thai language support via libThai ANTHY_LIB_DEPENDS= libanthy.so:japanese/anthy ANTHY_CONFIGURE_OFF= --without-anthy ISPELL_BUILD_DEPENDS= ispell:textproc/aspell-ispell ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell ISPELL_CONFIGURE_OFF= HAVE_ISPELL=no THAI_LIB_DEPENDS= libthai.so:devel/libthai THAI_CONFIGURE_OFF= --without-libthai post-patch: @${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \ 's|libdir}/pkgconfig|prefix}/libdata/pkgconfig|g ; \ s|-ldl||g' .include Index: head/emulators/fceux/Makefile =================================================================== --- head/emulators/fceux/Makefile (revision 418828) +++ head/emulators/fceux/Makefile (revision 418829) @@ -1,100 +1,100 @@ # Created by: HIYAMA Takeshi # $FreeBSD$ PORTNAME= fceux PORTVERSION= 2.2.2 DISTVERSIONSUFFIX= .src -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= emulators MASTER_SITES= SF/fceultra/Source%20Code/${PORTVERSION}%20src/ MAINTAINER= ports@FreeBSD.org COMMENT= Portable NES/Famicom emulator based on Bero's original FCE LICENSE= GPLv2 RUN_DEPENDS= zenity:x11/zenity WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= compiler:c++0x desktop-file-utils dos2unix pkgconfig scons USE_SDL= sdl LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= CREATE_AVI DEBUG DOCS FRAMESKIP LOGO LUA OPENGL OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= GTK2 GTK3 OPTIONS_DEFAULT= CREATE_AVI FRAMESKIP GTK2 LOGO LUA OPENGL CREATE_AVI_DESC= Enable avi creation support CREATE_AVI_MAKE_ARGS= CREATE_AVI=1 CREATE_AVI_MAKE_ARGS_OFF= CREATE_AVI=0 DEBUG_MAKE_ARGS= DEBUG=1 DEBUG_MAKE_ARGS_OFF= DEBUG=0 FRAMESKIP_DESC= Enable frameskipping FRAMESKIP_MAKE_ARGS= FRAMESKIP=1 FRAMESKIP_MAKE_ARGS_OFF= FRAMESKIP=0 GTK2_USE= GNOME=gtk20 GTK2_MAKE_ARGS= GTK=1 GTK2_MAKE_ARGS_OFF= GTK=0 GTK3_USE= GNOME=gtk30 GTK3_MAKE_ARGS= GTK3=1 GTK3_MAKE_ARGS_OFF= GTK3=0 LOGO_DESC= Enable a logoscreen when creating avis LOGO_LIB_DEPENDS= libgd.so:graphics/gd LOGO_MAKE_ARGS= LOGO=1 LOGO_MAKE_ARG_OFF= LOGO=0 LUA_USES= lua:51 LUA_MAKE_ARGS= LUA=1 SYSTEM_LUA=1 LUA_MAKE_ARGS_OFF= LUA=0 OPENGL_USE= GL=gl OPENGL_MAKE_ARGS= OPENGL=1 OPENGL_MAKE_ARGS_OFF= OPENGL=0 .include .if ${PORT_OPTIONS:MLOGO} && empty(PORT_OPTIONS:MCREATE_AVI) IGNORE= LOGO support requires CREATE_AVI support .endif post-patch: @${REINPLACE_CMD} -e \ '/PUBLIC/s|^|#| ; \ /CheckLib/s|lua5.1|lua-${LUA_VER}| ; \ /LINKFLAGS/s|"-ldl",|| ; \ /LINKFLAGS/s|lua5.1|lua-${LUA_VER}| ; \ s|/usr/include/lua5.1|${LUA_INCDIR}| ; \ s|-O2||' ${WRKSRC}/SConstruct @${REINPLACE_CMD} -e \ 's|/usr/bin/|| ; \ s|/usr/share/|${PREFIX}/share/|' ${WRKSRC}/fceux.desktop do-install: .for i in fceux fceux-net-server (cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/documentation && ${INSTALL_MAN} ${i}.6 \ ${STAGEDIR}${MANPREFIX}/man/man6) .endfor @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/bin && ${INSTALL_DATA} *.lua \ ${STAGEDIR}${DATADIR}) .for i in luaScripts palettes tools @(cd ${WRKSRC}/output && ${COPYTREE_SHARE} ${i} \ ${STAGEDIR}${DATADIR}) .endfor (cd ${WRKSRC} && ${INSTALL_DATA} *.desktop \ ${STAGEDIR}${DESKTOPDIR}) (cd ${WRKSRC} && ${INSTALL_DATA} *.png \ ${STAGEDIR}${PREFIX}/share/pixmaps) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in TODO-PROJECT Videolog.txt cheat.html faq fcs.txt fm2.txt \ protocol.txt snes9x-lua.html (cd ${WRKSRC}/documentation && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DOCSDIR}) .endfor @(cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} tech \ ${STAGEDIR}${DOCSDIR}) .include Index: head/games/mkhexgrid/Makefile =================================================================== --- head/games/mkhexgrid/Makefile (revision 418828) +++ head/games/mkhexgrid/Makefile (revision 418829) @@ -1,32 +1,32 @@ # Created by: aaron@FreeBSD.org # $FreeBSD$ PORTNAME= mkhexgrid PORTVERSION= 0.1.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= http://www.nomic.net/~uckelman/mkhexgrid/releases/ \ http://aaron.daltons.ca/freebsd/ EXTRACT_SUFX= .src.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= Fully-configurable hex grid generator LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/lexical_cast.hpp:devel/boost-libs LIB_DEPENDS= libgd.so:graphics/gd USES= gmake PORTDOCS= mkhexgrid.html PLIST_FILES= bin/mkhexgrid OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mkhexgrid ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/mkhexgrid.html ${STAGEDIR}${DOCSDIR} .include Index: head/games/openlierox/Makefile =================================================================== --- head/games/openlierox/Makefile (revision 418828) +++ head/games/openlierox/Makefile (revision 418829) @@ -1,73 +1,73 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= openlierox DISTVERSION= 0.58_rc3 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/OpenLieroX%20${DISTVERSION:C/_/%20/} DISTNAME= OpenLieroX_${DISTVERSION}.src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Extremely addictive realtime worms shoot-em-up LIB_DEPENDS= libgd.so:graphics/gd \ libboost_signals.so:devel/boost-libs \ libcurl.so:ftp/curl USES= tar:bzip2 cmake openal:al,alut pkgconfig USE_SDL= sdl image USE_GNOME= libxml2 USE_GCC= any # too many gcc'isms CFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CMAKE_ARGS= -DHAWKNL_BUILTIN=YES \ -DLIBZIP_BUILTIN=YES \ -DBREAKPAD=NO \ -DSYSTEM_DATA_DIR="${DATADIR}" \ -DHASBFD=NO WRKSRC= ${WRKDIR}/OpenLieroX # 0.59 versions are unstable PORTSCOUT= skipv:0.59_beta1,0.59_beta2,0.59_beta3,0.59_beta4,0.59_beta5,0.59_beta6,0.59_beta7,0.59_beta8,0.59_beta9,0.59_beta10 PORTDOCS= * PORTDATA= * PLIST_FILES= bin/openlierox \ share/applications/openlierox-openlierox.desktop \ share/pixmaps/OpenLieroX.svg OPTIONS_DEFINE= DEDICATED_ONLY DOCS DEDICATED_ONLY_DESC=Build dedicated server only .include .if ${PORT_OPTIONS:MDEDICATED_ONLY} CMAKE_ARGS+= -DDEDICATED_ONLY=YES .else USE_XORG+= x11 USE_SDL+= mixer .endif post-patch: @${REINPLACE_CMD} -e 's|EXEC_PROGRAM.*OLXVER)|SET(OLXVER "${DISTVERSION}")|; \ s|/usr/local|${LOCALBASE}|' ${WRKSRC}/CMakeOlxCommon.cmake @${FIND} ${WRKSRC} \( -name "*.cpp" -o -name "*.h" -o -name "*.cc" \) -print0 | ${XARGS} -0 -n1 \ ${REINPLACE_CMD} -e '/include.*curl\/types.h/ d' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/openlierox ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/share/openlierox-openlierox.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/share/OpenLieroX.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps/ cd ${WRKSRC}/share/gamedir && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ .include Index: head/graphics/a2png/Makefile =================================================================== --- head/graphics/a2png/Makefile (revision 418828) +++ head/graphics/a2png/Makefile (revision 418829) @@ -1,27 +1,27 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= a2png PORTVERSION= 0.1.5 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Converts plain ASCII text into PNG bitmap images LIB_DEPENDS= libgd.so:graphics/gd USES= tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gd CFLAGS+= -DDEFAULT_FONTPATH='\"${FONTROOTDIR}/TTF:${FONTROOTDIR}/Type1:${FONTROOTDIR}\"' PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz FONTROOTDIR?= ${LOCALBASE}/share/fonts do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include Index: head/graphics/dataplot/Makefile =================================================================== --- head/graphics/dataplot/Makefile (revision 418828) +++ head/graphics/dataplot/Makefile (revision 418829) @@ -1,62 +1,62 @@ # Created by: Pedro F. Giffuni # $FreeBSD$ PORTNAME= dataplot PORTVERSION= 20132012 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= ftp://ftp.nist.gov/pub/dataplot/unix/:source \ LOCAL/beech:source \ http://www.itl.nist.gov/div898/software/dataplot.html/:doc \ LOCAL/beech:doc DISTFILES= dpsrc${EXTRACT_SUFX}:source DIST_SUBDIR= dataplot EXTRACT_ONLY= dpsrc${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Free software system for statistical visualization LIB_DEPENDS= libgd.so:graphics/gd \ libpng.so:graphics/png OPTIONS_DEFINE= DOCS DOCS_DISTFILES= dpsnapsh.pdf:doc USES= fortran jpeg USE_XORG= x11 xi NO_WRKSUBDIR= yes MAXOBV?= 400000 # Change if you need more observations/variable .include .if ((${ARCH}=="amd64") || (${ARCH}=="sparc64") || (${ARCH}=="ia64")) FFLAGS+= -DDD -DI32 -fdefault-real-8 -fdefault-double-8 .else FFLAGS+= -DSD -DI32 -fdefault-real-8 -fdefault-double-8 .endif post-extract: @${INSTALL_DATA} ${FILESDIR}/Makefile.tmpl ${WRKSRC}/Makefile @${REINPLACE_CMD} \ -e 's;%%CFLAGS%%;${CFLAGS};' \ -e 's;%%FFLAGS%%;${FFLAGS};' \ -e 's;%%LDFLAGS%%;${LDFLAGS};' \ -e 's;%%LOCALBASE%%;${LOCALBASE};g' ${WRKSRC}/Makefile # Ensure preprocessing is done @${CP} ${WRKSRC}/dp1_linux.f ${WRKSRC}/dp1_linux.F # Turn off some dependencies @${MV} ${WRKSRC}/aqua_src.c ${WRKSRC}/aqua_src.c.nop @${MV} ${WRKSRC}/gl_src.c ${WRKSRC}/gl_src.c.nop @${MV} ${WRKSRC}/libplot_src.c ${WRKSRC}/libplot_src.c.nop @${MV} ${WRKSRC}/rldp.c ${WRKSRC}/rldp.c.nop pre-patch: @${REINPLACE_CMD} -e 's/MAXOBV=1000000/MAXOBV=${MAXOBV}/' \ ${WRKSRC}/DPCOPA.INC post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/dpsnapsh.pdf \ ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/fly/Makefile =================================================================== --- head/graphics/fly/Makefile (revision 418828) +++ head/graphics/fly/Makefile (revision 418829) @@ -1,33 +1,33 @@ # Created by: Juergen Unger # $FreeBSD$ PORTNAME= fly PORTVERSION= 2.0.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= http://fossies.org/unix/www/ \ http://martin.gleeson.com/fly/dist/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple drawing language to generate GIFs on the fly LIB_DEPENDS= libgd.so:graphics/gd PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/fly OPTIONS_DEFINE= DOCS EXAMPLES do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include fly.c -o fly \ -L${LOCALBASE}/lib -lgd do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fly ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/graphics/g2/Makefile =================================================================== --- head/graphics/g2/Makefile (revision 418828) +++ head/graphics/g2/Makefile (revision 418829) @@ -1,26 +1,26 @@ # Created by: Bill Fumerola # $FreeBSD$ PORTNAME= g2 PORTVERSION= 0.40 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= SUNSITE/libs/graphics MAINTAINER= ports@FreeBSD.org COMMENT= Easy to use, portable, and powerful 2D graphics library LIB_DEPENDS= libgd.so:graphics/gd USE_XORG= x11 GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include post-patch: @${REINPLACE_CMD} -E 's,(INC|LIB)DIR),DESTDIR)$$(&,g' \ ${WRKSRC}/Makefile.in do-build: cd ${WRKSRC} ; make depend ; make .include Index: head/graphics/gd/Makefile =================================================================== --- head/graphics/gd/Makefile (revision 418828) +++ head/graphics/gd/Makefile (revision 418829) @@ -1,104 +1,108 @@ # Created by: jeff@cetlink.net # $FreeBSD$ PORTNAME= libgd -PORTVERSION= 2.1.1 +PORTVERSION= 2.2.2 PORTREVISION?= 0 PORTEPOCH= 1 CATEGORIES+= graphics -MASTER_SITES= https://bitbucket.org/libgd/gd-libgd/downloads/ \ - http://cdn.bitbucket.org/libgd/gd-libgd/downloads/ +MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/gd-${PORTVERSION}/ MAINTAINER?= dinoex@FreeBSD.org COMMENT?= Graphics library for fast creation of images +LICENSE= MIT + LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 CONFLICTS= bazaar-1.* -USES= tar:xz pkgconfig pathfix libtool:keepla shebangfix jpeg iconv +USES= tar:xz pkgconfig pathfix libtool:keepla shebangfix jpeg SHEBANG_FILES= ${WRKSRC}/src/bdftogd GNU_CONFIGURE= yes USE_LDCONFIG= yes -OPTIONS_DEFINE= FONTCONFIG ICONV VPX XPM +OPTIONS_DEFINE= FONTCONFIG ICONV VPX XPM WEBP OPTIONS_DEFAULT=FONTCONFIG NO_OPTIONS_SORT=yes FONTCONFIG_LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_OFF= --with-fontconfig=no ICONV_USES= iconv ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_OFF= --without-vpx XPM_USE= xorg=xpm,x11 XPM_CONFIGURE_ON= --with-x XPM_CONFIGURE_OFF= --with-xpm=no +WEBP_LIB_DEPENDS= libwebp.so:graphics/webp +WEBP_CONFIGURE_OFF= --without-webp +WEBP_BROKEN= circular dependencies .include # force gdlib-config --ldflags LDFLAGS+= -L${LOCALBASE}/lib # The GD_FONTS environment variable can be set to specify the gzipped # tar-ball containing the fonts in bdf format and the bdf file names. # The tarball is the first argument, the tiny, small, medium-bold, # large, and giant fonts follow. # # For example: # GD_FONTS="/usr/ports/distfiles/x-koi8u.tgz koi6x10.bdf koi8x13.bdf \ # koi9x15.bdf koi12x24.bdf koi10x20.bdf" # .if defined(GD_FONTS) USES+= perl5 USE_PERL5= build WRKFONTS= ${WRKSRC}/src .endif pre-extract:: @${ECHO_MSG} "" @${ECHO_MSG} "GD_FONTS can be set to specify an alternative list of .bdf files" @${ECHO_MSG} "" post-extract: .if defined(GD_FONTS) cd ${WRKFONTS} && ${SH} ${FILESDIR}/makefonts extract ${GD_FONTS} .endif pre-configure: .if defined(GD_FONTS) cd ${WRKFONTS} && ${SH} ${FILESDIR}/makefonts configure ${GD_FONTS} .endif # bump shlib version ${REINPLACE_CMD} \ -e 's|GDLIB_CURRENT=.*|GDLIB_CURRENT=5|' \ ${WRKSRC}/configure # workaround for broken configure .if ! ${PORT_OPTIONS:MICONV} ${REINPLACE_CMD} \ -e 's|iconv|noiconv|' \ ${WRKSRC}/configure .endif .if ! ${PORT_OPTIONS:MXPM} ${REINPLACE_CMD} \ -e 's|xpm|noxpm|' \ ${WRKSRC}/configure .endif .if ! ${PORT_OPTIONS:MFONTCONFIG} ${REINPLACE_CMD} \ -e 's|fontconfig|nofontconfig|' \ ${WRKSRC}/configure .endif .if defined(GD_FONTS) pre-build: cd ${WRKFONTS} && ${SH} ${FILESDIR}/makefonts build ${GD_FONTS} .endif post-install: ${INSTALL_DATA} ${WRKSRC}/src/gdhelpers.h \ ${STAGEDIR}${PREFIX}/include/ - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgd.so.5 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgd.so.6.0.20202 .include Index: head/graphics/gd/distinfo =================================================================== --- head/graphics/gd/distinfo (revision 418828) +++ head/graphics/gd/distinfo (revision 418829) @@ -1,3 +1,3 @@ -TIMESTAMP = 1468105350 -SHA256 (libgd-2.1.1.tar.xz) = 9ada1ed45594abc998ebc942cef12b032fbad672e73efc22bc9ff54f5df2b285 -SIZE (libgd-2.1.1.tar.xz) = 2039132 +TIMESTAMP = 1468106153 +SHA256 (libgd-2.2.2.tar.xz) = 489f756ce07f0c034b1a794f4d34fdb4d829256112cb3c36feb40bb56b79218c +SIZE (libgd-2.2.2.tar.xz) = 2105628 Index: head/graphics/gd/files/patch-webpimg.c =================================================================== --- head/graphics/gd/files/patch-webpimg.c (revision 418828) +++ head/graphics/gd/files/patch-webpimg.c (nonexistent) @@ -1,29 +0,0 @@ -Adjust to libvpx 1.4.0 until the code is removed. - -https://chromium.googlesource.com/webm/libvpx/+/9cdaa3d%5E!/ -https://bitbucket.org/libgd/gd-libgd/commits/824a3aa - ---- src/webpimg.c.orig 2013-06-25 09:58:23 UTC -+++ src/webpimg.c -@@ -711,14 +711,14 @@ static WebPResult VPXEncode(const uint8* - codec_ctl(&enc, VP8E_SET_STATIC_THRESHOLD, 0); - codec_ctl(&enc, VP8E_SET_TOKEN_PARTITIONS, 2); - -- vpx_img_wrap(&img, IMG_FMT_I420, -+ vpx_img_wrap(&img, VPX_IMG_FMT_I420, - y_width, y_height, 16, (uint8*)(Y)); -- img.planes[PLANE_Y] = (uint8*)(Y); -- img.planes[PLANE_U] = (uint8*)(U); -- img.planes[PLANE_V] = (uint8*)(V); -- img.stride[PLANE_Y] = y_stride; -- img.stride[PLANE_U] = uv_stride; -- img.stride[PLANE_V] = uv_stride; -+ img.planes[VPX_PLANE_Y] = (uint8*)(Y); -+ img.planes[VPX_PLANE_U] = (uint8*)(U); -+ img.planes[VPX_PLANE_V] = (uint8*)(V); -+ img.stride[VPX_PLANE_Y] = y_stride; -+ img.stride[VPX_PLANE_U] = uv_stride; -+ img.stride[VPX_PLANE_V] = uv_stride; - - res = vpx_codec_encode(&enc, &img, 0, 1, 0, VPX_DL_BEST_QUALITY); - Property changes on: head/graphics/gd/files/patch-webpimg.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/gd/files/patch-configure =================================================================== --- head/graphics/gd/files/patch-configure (nonexistent) +++ head/graphics/gd/files/patch-configure (revision 418829) @@ -0,0 +1,11 @@ +--- configure.bak 2016-06-24 07:52:14.000000000 +0200 ++++ configure 2016-07-10 01:24:57.924934000 +0200 +@@ -2463,7 +2463,7 @@ + # Dynamic library version information + # See http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info + +-GDLIB_LT_CURRENT=3 ++GDLIB_LT_CURRENT=6 + GDLIB_LT_REVISION=$(printf '%i%02i%02i' $GDLIB_MAJOR $GDLIB_MINOR $GDLIB_REVISION) + GDLIB_LT_AGE=0 + Property changes on: head/graphics/gd/files/patch-configure ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/gd/files/patch-gd_tga.c =================================================================== --- head/graphics/gd/files/patch-gd_tga.c (nonexistent) +++ head/graphics/gd/files/patch-gd_tga.c (revision 418829) @@ -0,0 +1,88 @@ +--- src/gd_tga.c.orig 2016-07-18 19:23:11 UTC ++++ src/gd_tga.c +@@ -99,7 +99,7 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFro + if (tga->bits == TGA_BPP_24) { + *tpix = gdTrueColor(tga->bitmap[bitmap_caret + 2], tga->bitmap[bitmap_caret + 1], tga->bitmap[bitmap_caret]); + bitmap_caret += 3; +- } else if (tga->bits == TGA_BPP_32 || tga->alphabits) { ++ } else if (tga->bits == TGA_BPP_32 && tga->alphabits) { + register int a = tga->bitmap[bitmap_caret + 3]; + + *tpix = gdTrueColorAlpha(tga->bitmap[bitmap_caret + 2], tga->bitmap[bitmap_caret + 1], tga->bitmap[bitmap_caret], gdAlphaMax - (a >> 1)); +@@ -159,16 +159,13 @@ int read_header_tga(gdIOCtx *ctx, oTga * + printf("wxh: %i %i\n", tga->width, tga->height); + #endif + +- switch(tga->bits) { +- case 8: +- case 16: +- case 24: +- case 32: +- break; +- default: +- gd_error("bps %i not supported", tga->bits); ++ if (!((tga->bits == TGA_BPP_24 && tga->alphabits == 0) ++ || (tga->bits == TGA_BPP_32 && tga->alphabits == 8))) ++ { ++ gd_error_ex(GD_WARNING, "gd-tga: %u bits per pixel with %u alpha bits not supported\n", ++ tga->bits, tga->alphabits); ++ + return -1; +- break; + } + + tga->ident = NULL; +@@ -285,14 +285,23 @@ int read_image_tga( gdIOCtx *ctx, oTga * + buffer_caret = 0; + + while( bitmap_caret < image_block_size ) { +- ++ + if ((decompression_buffer[buffer_caret] & TGA_RLE_FLAG) == TGA_RLE_FLAG) { + encoded_pixels = ( ( decompression_buffer[ buffer_caret ] & 127 ) + 1 ); + buffer_caret++; + +- for (i = 0; i < encoded_pixels; i++) { +- for (j = 0; j < pixel_block_size; j++, bitmap_caret++) { +- tga->bitmap[ bitmap_caret ] = decompression_buffer[ buffer_caret + j ]; ++ if (encoded_pixels != 0) { ++ ++ if (!((buffer_caret + (encoded_pixels * pixel_block_size)) < image_block_size)) { ++ gdFree( decompression_buffer ); ++ gdFree( conversion_buffer ); ++ return -1; ++ } ++ ++ for (i = 0; i < encoded_pixels; i++) { ++ for (j = 0; j < pixel_block_size; j++, bitmap_caret++) { ++ tga->bitmap[ bitmap_caret ] = decompression_buffer[ buffer_caret + j ]; ++ } + } + } + buffer_caret += pixel_block_size; +@@ -300,11 +309,20 @@ int read_image_tga( gdIOCtx *ctx, oTga * + encoded_pixels = decompression_buffer[ buffer_caret ] + 1; + buffer_caret++; + +- for (i = 0; i < encoded_pixels; i++) { +- for( j = 0; j < pixel_block_size; j++, bitmap_caret++ ) { +- tga->bitmap[ bitmap_caret ] = decompression_buffer[ buffer_caret + j ]; ++ if (encoded_pixels != 0) { ++ ++ if (!((buffer_caret + (encoded_pixels * pixel_block_size)) < image_block_size)) { ++ gdFree( decompression_buffer ); ++ gdFree( conversion_buffer ); ++ return -1; ++ } ++ ++ for (i = 0; i < encoded_pixels; i++) { ++ for( j = 0; j < pixel_block_size; j++, bitmap_caret++ ) { ++ tga->bitmap[ bitmap_caret ] = decompression_buffer[ buffer_caret + j ]; ++ } ++ buffer_caret += pixel_block_size; + } +- buffer_caret += pixel_block_size; + } + } + } + Property changes on: head/graphics/gd/files/patch-gd_tga.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/gd/pkg-plist =================================================================== --- head/graphics/gd/pkg-plist (revision 418828) +++ head/graphics/gd/pkg-plist (revision 418829) @@ -1,33 +1,33 @@ bin/annotate bin/bdftogd bin/gd2copypal bin/gd2togif bin/gd2topng bin/gdcmpgif bin/gdlib-config bin/gdparttopng bin/gdtopng bin/giftogd2 bin/pngtogd bin/pngtogd2 bin/webpng include/entities.h include/gd.h include/gd_color_map.h include/gd_errors.h include/gd_io.h include/gdcache.h include/gdfontg.h include/gdfontl.h include/gdfontmb.h include/gdfonts.h include/gdfontt.h include/gdfx.h include/gdhelpers.h include/gdpp.h lib/libgd.a lib/libgd.la lib/libgd.so -lib/libgd.so.5 -lib/libgd.so.5.0.0 +lib/libgd.so.6 +lib/libgd.so.6.0.20202 libdata/pkgconfig/gdlib.pc Index: head/graphics/gdchart/Makefile =================================================================== --- head/graphics/gdchart/Makefile (revision 418828) +++ head/graphics/gdchart/Makefile (revision 418829) @@ -1,54 +1,54 @@ # Created by: Anders Nordby # $FreeBSD$ PORTNAME= gdchart PORTVERSION= 0.11.5 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= http://www.fred.net/brv/chart/ \ ftp://ftp.nuug.no/pub/anders/distfiles/ DISTNAME= ${PORTNAME}${PORTVERSION}dev MAINTAINER= ports@FreeBSD.org COMMENT= Easy to use fast C API for creating charts and graphs LIB_DEPENDS= libgd.so:graphics/gd \ libfreetype.so:print/freetype2 USES= jpeg uidfix MAKEFILE= ${FILESDIR}/Makefile MAKE_ARGS= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}" USE_LDCONFIG= yes EXAMPLES= ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c OPTIONS_DEFINE= DOCS EXAMPLES .if defined(NO_PROFILE) PLIST_SUB+= PROFILE="@comment " .else PLIST_SUB+= PROFILE="" .endif post-patch: ${REINPLACE_CMD} \ -e 's/^#ifdef HAVE_JPEG/#ifndef NO_JPEG/' \ -e 's/^#ifdef HAVE_LIBFREETYPE/#ifndef NO_LIBFREETYPE/' \ ${WRKSRC}/*.[ch] # ft_samp.c and gdc_samp?.c miss #include "gdcpie.h" ${REINPLACE_CMD} \ -e 's/^#include "gdc\.h"/#include "gdcpie.h"/' \ ${WRKSRC}/ft_samp.c \ ${WRKSRC}/gdc_samp?.c # gdc_pie_samp.c misses #include "gdchart.h" ${REINPLACE_CMD} \ -e 's/^#include "gdc\.h"/#include "gdchart.h"/' \ ${WRKSRC}/gdc_pie_samp.c post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/graphics/gdtclft/Makefile =================================================================== --- head/graphics/gdtclft/Makefile (revision 418828) +++ head/graphics/gdtclft/Makefile (revision 418829) @@ -1,35 +1,35 @@ # Created by: Mikhail Teterin # $FreeBSD$ PORTNAME= Gdtclft PORTVERSION= 2.2.5 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics tcl MASTER_SITES= http://BSDforge.com/projects/source/graphics/gdtclft/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= portmaster@bsdforge.com COMMENT= TCL interface to the Thomas Boutell's Gd library LIB_DEPENDS= libgd.so:graphics/gd USES= tcl:84+ uidfix MAKEFILE= ${FILESDIR}/Makefile.bsd MAKE_ENV= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \ TCL_SHLIB_VER=${TCL_SHLIB_VER} \ INSTALL_DATA="${INSTALL_DATA}" STAGEDIR="${STAGEDIR}" MANNPAGE= gdtclft.n GDTCLDIR= lib/tcl${TCL_VER}/gdtclft PLIST_FILES= ${GDTCLDIR}/pkgIndex.tcl PLIST_FILES+= ${GDTCLDIR}/libGdtclft2.so PLIST_FILES+= man/mann/${MANNPAGE}.gz post-patch: ${REINPLACE_CMD} -Ee 's,[[:space:]]+$$,,' ${WRKSRC}/${MANNPAGE} post-install: ${INSTALL_MAN} ${WRKSRC}/${MANNPAGE} ${STAGEDIR}${PREFIX}/man/mann .include Index: head/graphics/grads/Makefile =================================================================== --- head/graphics/grads/Makefile (revision 418828) +++ head/graphics/grads/Makefile (revision 418829) @@ -1,83 +1,83 @@ # Created by: Greg Lewis # $FreeBSD$ PORTNAME= grads PORTVERSION= 1.9b4 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics science math MASTER_SITES= ftp://grads.iges.org/grads/1.9/:src \ ftp://cola.gmu.edu/grads/1.9/:src \ ftp://grads.iges.org/grads/:other \ ftp://cola.gmu.edu/grads/:other DISTFILES= ${PORTNAME}-src-${PORTVERSION}${EXTRACT_SUFX}:src \ example.tar.gz:other EXTRACT_ONLY= ${PORTNAME}-src-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= glewis@FreeBSD.org COMMENT= The Grid Analysis and Display System BUILD_DEPENDS= ${LOCALBASE}/lib/libudunits2.a:science/udunits \ ${LOCALBASE}/lib/libsx.a:x11/libsx LIB_DEPENDS= libgd.so:graphics/gd \ libpng.so:graphics/png USES= jpeg ncurses GNU_CONFIGURE= yes CONFIGURE_ENV+= SUPPLIBS="${LOCALBASE}" CONFIGURE_ARGS+= --enable-dyn-supplibs \ --with-readline \ --with-printim \ --with-gui \ --with-x OPTIONS_DEFINE= HDF NETCDF DOCS EXAMPLES OPTIONS_DEFAULT= NETCDF HDF_DESC= Build hdf-support (only hdf OR netcdf is supported) NETCDF_DESC= Build netcdf-support PORTDATA= * .include .if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif .if ${PORT_OPTIONS:MEXAMPLES} PORTEXAMPLES= * .endif .if ${PORT_OPTIONS:MHDF} BROKEN= Fails to package LIB_DEPENDS+= libmfhdf.so:science/hdf CONFIGURE_ARGS+= --with-hdf PLIST_SUB+= NETCDF="@comment " HDF="" .endif .if ${PORT_OPTIONS:MNETCDF} LIB_DEPENDS+= libnetcdf.so:science/netcdf CONFIGURE_ARGS+= --with-nc PLIST_SUB+= NETCDF="" HDF="@comment " .endif post-extract: ${MKDIR} "${WRKSRC}/examples" cd "${WRKSRC}/examples" && ${TAR} -xzf "${DISTDIR}/example.tar.gz" post-configure: ${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:" ${WRKSRC}/src/gx.h ${REINPLACE_CMD} -e "s:ludunits:ludunits2:" ${WRKSRC}/src/Makefile post-install: ${MKDIR} "${STAGEDIR}${DATADIR}" cd ${WRKSRC}/data && ${COPYTREE_SHARE} . "${STAGEDIR}${DATADIR}" .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}" cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . "${STAGEDIR}${EXAMPLESDIR}" .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} "${STAGEDIR}${DOCSDIR}" cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . "${STAGEDIR}${DOCSDIR}" .endif .include Index: head/graphics/graphviz/Makefile =================================================================== --- head/graphics/graphviz/Makefile (revision 418828) +++ head/graphics/graphviz/Makefile (revision 418829) @@ -1,346 +1,346 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= graphviz PORTVERSION= 2.38.0 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= graphics tk MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/ MAINTAINER= dinoex@FreeBSD.org COMMENT= Graph Visualization Software from AT&T and Bell Labs LIB_DEPENDS= libltdl.so:devel/libltdl \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libexpat.so:textproc/expat2 \ libgd.so:${GD_PORT} USES= bison cpe gmake jpeg libtool:keepla pkgconfig pathfix shebangfix GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include PLIST_SUB= PORTVERSION="${PORTVERSION}" MAKE_ENV= EXPR_COMPAT=yes SHEBANG_LANG= tcl tcl_OLD_CMD= /usr/bin/tclsh tcl_CMD= ${TCLSH} FIX_INCLUDE= ast_common.h \ lib/cdt/dthdr.h \ lib/pathplan/tri.h lib/pathplan/pathplan.h \ lib/pathplan/pathutil.h lib/pathplan/solvers.h \ lib/pathplan/vis.h lib/pathplan/vispath.h \ lib/common/arith.h lib/common/logic.h \ lib/common/globals.h \ lib/gvc/gvcint.h PATCH_TCL_SCRIPTS= tclpkg/gv/Makefile.in tclpkg/tcldot/demo/doted.tcl \ tclpkg/tclpathplan/demo/pathplan.tcl \ tclpkg/tkspline/demo/spline.tcl PATCH_TK_SCRIPTS= ${PATCH_TCL_SCRIPTS} PDOCS_TXT= doc/Dot.ref doc/latex_suggestions.txt PDOCS_PDF= doc/*.pdf */*/*.pdf PDOCS_HTML= doc/*.html doc/info/*.gif USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} OPTIONS_DEFINE= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO LIBRSVG2 POPPLER \ ANN GTS GTK2 GDK GDK_PIXBUF GNOMEUI SMYRNA GVEDIT MING DEVIL \ GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL TK GUILE NVTHREADS \ DOCS EXAMPLES OPTIONS_DEFAULT= XPM DIGCOLA IPSEPCOLA ICONV PANGOCAIRO NVTHREADS NO_OPTIONS_SORT=yes OPTIONS_SUB= yes DIGCOLA_DESC= neato layout engine wiwth DIGCOLA features IPSEPCOLA_DESC= neato layout engine wiwth IPSEPCOLA features PANGOCAIRO_DESC=pangocairo support ANN_DESC= ANN edge bundling support GTS_DESC= GNU Triangulated Surface Library support GTK2_DESC= gtk2 plugin (requires PANGOCAIRO) GDK_DESC= gdk library support (requires GTK2) GDK_PIXBUF_DESC=gdk pixbuf support (requires GDK) GNOMEUI_DESC= libgnomeui support SMYRNA_DESC= SMYRNA graph viewer (requires GTK2) GVEDIT_DESC= gvedit (requires qt) MING_DESC= ming plugin DEVIL_DESC= devil plugin GHOSTSCRIPT_DESC=ghostscript plugin (requires PANGOCAIRO) PERL_DESC= Perl bindings (swig) PHP_DESC= PHP bindings (swig) PYTHON_DESC= Python bindings (swig) RUBY_DESC= Ruby bindings (swig) LUA_DESC= Lua bindings (swig) TCL_DESC= TCL bindings (swig) GUILE_DESC= Guile bindings (swig) TK_DESC= TK toolkit support NVTHREADS_DESC= Link with threads (needed for nvidia) XPM_USE= XORG=xaw,xpm,xmu,xt,sm,ice,xext,x11,xau,xdmcp,xp ICONV_USES= iconv NLS_USES= gettext PANGOCAIRO_USE= GNOME=pango XORG=xrender,x11,xau,xdmcp LIBRSVG2_USE= GNOME=librsvg2 GL=gl,glu,glut GTK2_USE= XORG=sm,ice,xext,xinerama,xi,xrandr,xcursor,xfixes GNOME=gtk20 GNOMEUI_USE= GNOME=libgnomeui SMYRNA_USE= GNOME=libglade2 GL=glut GVEDIT_USE= qt4=qmake_build,moc_build,rcc_build,uic_build \ qt4=linguist_build,corelib,gui GHOSTSCRIPT_USES=ghostscript PERL_USES= perl5 PHP_USES= php:build PYTHON_USES= python:2.7,build RUBY_USE= RUBY=yes LUA_USES= lua TCL_USES= tcl:build TK_USES= tk:build POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib ANN_LIB_DEPENDS= libann.so:math/ann GTS_LIB_DEPENDS= libgts.so:graphics/gts SMYRNA_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext MING_LIB_DEPENDS= libming.so:graphics/ming DEVIL_LIB_DEPENDS= libIL.so:graphics/devil GUILE_LIB_DEPENDS= libguile-2.0.so:lang/guile2 XPM_CONFIGURE_WITH= x DIGCOLA_CONFIGURE_WITH= digcola IPSEPCOLA_CONFIGURE_WITH= ipsepcola NLS_CONFIGURE_ENABLE= nls PANGOCAIRO_CONFIGURE_WITH= pangocairo LIBRSVG2_CONFIGURE_WITH= rsvg POPPLER_CONFIGURE_WITH= poppler ANN_CONFIGURE_WITH= ann ANN_CONFIGURE_ENV= ANN_CFLAGS=-I${LOCALBASE}/include ANN_LIBS=-lann GTS_CONFIGURE_WITH= gts GTK2_CONFIGURE_WITH= gtk GDK_CONFIGURE_WITH= gdk GDK_PIXBUF_CONFIGURE_WITH= gdk-pixbuf GNOMEUI_CONFIGURE_WITH= gnomeui SMYRNA_CONFIGURE_WITH= smyrna glade gtkgl gtkglext GVEDIT_CONFIGURE_ON= --with-gvedit=yes GVEDIT_CONFIGURE_OFF= --with-qt=no MING_CONFIGURE_WITH= ming DEVIL_CONFIGURE_WITH= devil GHOSTSCRIPT_CONFIGURE_OFF= --with-ghostscript=no PERL_CONFIGURE_ENABLE= perl PHP_CONFIGURE_ENABLE= php PHP_CPPFLAGS= -I${LOCALBASE}/include/php/Zend PYTHON_CONFIGURE_ENABLE= python PYTHON_LDFLAGS= "-L${PYTHON_LIBDIR}" RUBY_CONFIGURE_ENABLE= ruby RUBY_CONFIGURE_ENV= RUBY="${RUBY}" LUA_CONFIGURE_ENABLE= lua LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} -lm LUA_CONFIGURE_ENV= LUA="${LUA_BINDIR}/lua" \ LUA_INSTALL_DIR=${PREFIX}/lib/lua/${LUA_VER} TCL_CONFIGURE_ENABLE= tcl TCL_CPPFLAGS= -I${TK_INCLUDEDIR} TCL_CONFIGURE_ON= --with-tclsh=${TCLSH} --enable-tcl=yes TCL_CONFIGURE_ENV= TCLCONFIG="${TCL_LIBDIR}/tclConfig.sh" TK_CPPFLAGS= -I${TK_INCLUDEDIR} TK_CONFIGURE_ON= --with-wish=${WISH} TK_CONFIGURE_ENV= TKCONFIG="${TK_LIBDIR}/tkConfig.sh" GUILE_CONFIGURE_ENABLE= guile NVTHREADS_LDFLAGS= -lpthread .include # allow the use localized gd ports in Makefile.local or slave ports. GD_PORT?= graphics/gd CONFIGURE_ARGS+= --program-transform-name="s/x/x/" \ --enable-dependency-tracking \ --enable-r=no \ --with-freetype2=yes \ --with-libgd \ --with-fontconfigincludedir=${LOCALBASE}/include \ --with-fontconfiglibdir=${LOCALBASE}/lib \ --disable-io --disable-ocaml --disable-java \ --disable-sharp \ --disable-silent-rules .if ${PORT_OPTIONS:MMING} BROKEN= Ming incomplete, uses removed libgraph .endif .if ${PORT_OPTIONS:MTK} .if empty(PORT_OPTIONS:MTCL) IGNORE= option TCL is required for option TK .endif # USES=tk:build is BROKEN: Does not allow to set both tcl and tk depedencies BUILD_DEPENDS+= tclsh${TCL_VER}:lang/tcl${_TCLTK_WANTED_VERSION} .endif .if ${PORT_OPTIONS:MTCL} PLIST_SUB+= TCL_VER="${TCL_VER}" .endif .if ${PORT_OPTIONS:MICONV} CONFIGURE_ARGS+= --with-iconvlibdir=${ICONV_PREFIX}/lib CONFIGURE_ARGS+= --with-iconvincludedir=${ICONV_PREFIX}/include .else CONFIGURE_ARGS+= --without-libiconv-prefix .endif .if ${PORT_OPTIONS:MLIBRSVG2} .if empty(PORT_OPTIONS:MPANGOCAIRO) IGNORE= option PANGOCAIRO is required for option LIBRVG2 .endif .endif .if ${PORT_OPTIONS:MGHOSTSCRIPT} .if empty(PORT_OPTIONS:MPANGOCAIRO) IGNORE= option PANGOCAIRO is required for option GHOSTSCRIPT .endif .endif .if ${PORT_OPTIONS:MGTK2} .if empty(PORT_OPTIONS:MPANGOCAIRO) IGNORE= option PANGOCAIRO is required for option GTK2 .endif .else .if ${PORT_OPTIONS:MGNOMEUI} IGNORE= option GTK2 is required for option GNOMEUI .endif .endif .if ${PORT_OPTIONS:MGDK_PIXBUF} .if empty(PORT_OPTIONS:MGTK2) IGNORE= option GTK2 is required for option GDK_PIXBUF .endif .if empty(PORT_OPTIONS:MGDK) IGNORE= option GDK is required for option GDK_PIXBUF .endif .endif .if ${PORT_OPTIONS:MSMYRNA} .if empty(PORT_OPTIONS:MGTK2) IGNORE= option GTK2 is required for option SMYRNA .endif .if empty(PORT_OPTIONS:MGTS) IGNORE= option GTS is required for option SMYRNA .endif .endif .if ${PORT_OPTIONS:MIPSEPCOLA} .if empty(PORT_OPTIONS:MDIGCOLA) IGNORE= option WITH_DIGCOLA is required for option WITH_IPSEPCOLA .endif .endif .if ${PORT_OPTIONS:MPERL} || ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || \ ${PORT_OPTIONS:MRUBY} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MTCL} || \ ${PORT_OPTIONS:MGUILE} BUILD_DEPENDS+= swig3.0:devel/swig30 RUN_DEPENDS+= swig3.0:devel/swig30 CONFIGURE_ARGS+= --enable-swig CONFIGURE_ENV+= SWIG="${LOCALBASE}/bin/swig3.0" .else CONFIGURE_ARGS+= --disable-swig CONFIGURE_ENV+= SWIG="/nonexistent" .endif .if ${PORT_OPTIONS:MPHP} SHEBANG_FILES+= tclpkg/gv/demo/modgraph.php .endif .if ${PORT_OPTIONS:MRUBY} SHEBANG_FILES+= tclpkg/gv/demo/modgraph.rb .endif .if ${PORT_OPTIONS:MLUA} SHEBANG_FILES+= tclpkg/gv/demo/modgraph.lua .endif .if ${PORT_OPTIONS:MTCL} SHEBANG_FILES+= tclpkg/gv/demo/modgraph.tcl .endif post-patch: ${FIND} ${WRKSRC} -name Makefile.in | \ ${XARGS} ${REINPLACE_CMD} \ -e "s|\([^:]*:.*\) install-pdfDATA\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-htmlDATA\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-txtDATA\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-demoDATA\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-demoSCRIPTS\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-pathplanexampleDATA\(.*\)|\1\2|g" \ -e 's|txtdir = $$(pkgdatadir)/doc|txtdir = ${DOCSDIR}|' \ -e 's|demodir = $$(pkgdatadir)/demo|demodir = ${EXAMPLESDIR}|'; ${REINPLACE_CMD} \ -e 's|^\.SUFFIXES: \(.*\)\.1\(.*\)|.SUFFIXES: \1 \2|' \ ${WRKSRC}/cmd/tools/Makefile.in \ ${WRKSRC}/cmd/gvpr/Makefile.in ${FIND} ${WRKSRC}/lib -name 'Makefile.in' | \ ${XARGS} ${REINPLACE_CMD} \ -e 's|pkglibdir = $$(libdir)/@PACKAGE@|pkglibdir = $$(libdir)|g' \ -e 's|libdir = @libdir@|libdir = @libdir@/@PACKAGE@|g'; ${FIND} ${WRKSRC}/lib -name '*.pc.in' | \ ${XARGS} ${REINPLACE_CMD} \ -e 's|libdir=@libdir@|libdir=@libdir@/@PACKAGE@|'; ${REINPLACE_CMD} -e "s|/usr/include/php|${LOCALBASE}/include/php|g" \ -e "s|vendorarchdir|sitearchdir|g" \ -e "s|-lruby|-lruby${RUBY_SUFFIX}|g" \ -e "s|ruby-1[.]9|ruby-${RUBY_VER}|g" \ -e "s|Config::|RbConfig::|" \ -e 's|PHP_INSTALL_DIR=.*|PHP_INSTALL_DIR="${PREFIX}/lib/php/${PHP_EXT_DIR}"|' \ -e 's|PHP_INSTALL_DATADIR=.*|PHP_INSTALL_DATADIR="${PREFIX}/share/php"|' \ -e '/if test/ s| == | = |g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|#include "gui.h"|#include "gui/gui.h"|' \ ${WRKSRC}/cmd/smyrna/tvnodes.h ${REINPLACE_CMD} -e 's|GTS_LIBS)|GTS_LIBS) $$(MATH_LIBS)|' \ ${WRKSRC}/cmd/smyrna/Makefile.in ${CP} ${WRKSRC}/lib/cgraph/cgraph.h ${WRKSRC}/plugin/ming/ .if ${OSVERSION} >= 1100093 ${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \ ${WRKSRC}/lib/sfio/*.[ch] .endif .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's| install-txtDATA$$||' \ ${WRKSRC}/Makefile.in .endif post-install: install-ldconfig-file cd ${WRKSRC}/lib/expr && \ ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} ${INSTALL_TARGET} cd ${WRKSRC} && \ ${INSTALL_DATA} ${FIX_INCLUDE} ${STAGEDIR}${PREFIX}/include/graphviz/ .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf cd ${WRKSRC} && \ ${INSTALL_DATA} ${PDOCS_TXT} ${STAGEDIR}${DOCSDIR}/ && \ ${INSTALL_DATA} ${PDOCS_PDF} ${STAGEDIR}${DOCSDIR}/pdf/ && \ ${INSTALL_DATA} ${PDOCS_HTML} ${STAGEDIR}${DOCSDIR}/html/ .endif .if ${PORT_OPTIONS:MEXAMPLES} @${ECHO_MSG} "Installing demo data..." ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} \ ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl \ ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl \ ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl \ ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl \ ${WRKSRC}/tclpkg/tkspline/demo/spline.tcl \ ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} \ ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl.README \ ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl.README \ ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl.README \ ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl.README \ ${WRKSRC}/tclpkg/tkspline/demo/spline.tcl.README \ ${STAGEDIR}${EXAMPLESDIR}/ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/pathplan_data ${INSTALL_DATA} \ ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan_data/*.dat \ ${STAGEDIR}${EXAMPLESDIR}/pathplan_data/ .endif .include Index: head/graphics/libgphoto2/Makefile =================================================================== --- head/graphics/libgphoto2/Makefile (revision 418828) +++ head/graphics/libgphoto2/Makefile (revision 418829) @@ -1,72 +1,73 @@ # Created by: Anders Nordby # $FreeBSD$ PORTNAME= libgphoto2 PORTVERSION= 2.5.10 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/gphoto/libgphoto/${PORTVERSION} MAINTAINER= woodsb02@FreeBSD.org COMMENT= Universal digital camera control library LICENSE= LGPL21 LIB_DEPENDS= libltdl.so:devel/libltdl USES= gmake iconv libtool pkgconfig tar:bzip2 USE_CSTD= gnu89 GNU_CONFIGURE= yes CONFIGURE_ENV= LTDLINCL="-I${LOCALBASE}/include" \ LIBLTDL="-L${LOCALBASE}/lib -lltdl" \ PATH="${PATH:C,${HOME}/bin,,}" \ ac_cv_path_DOT=false \ ac_cv_path_DOXYGEN=false \ udevscriptdir=${WRKDIR} INSTALL_TARGET= install-strip USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= VERSION="${PORTVERSION}" VERSION_PORT=0.12.0 OPTIONS_DEFINE= DOCS GD JPEG LIBEXIF NLS XML OPTIONS_DEFAULT= GD JPEG LIBEXIF XML OPTIONS_SUB= yes GD_LIB_DEPENDS= libgd.so:graphics/gd GD_CONFIGURE_OFF= --with-gdlib=no JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_CONFIGURE_OFF= --with-libexif=no NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls XML_USE= GNOME=libxml2 XML_CONFIGURE_OFF= --with-libxml-2.0=no .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000040 CONFIGURE_ENV+= LIBUSB1_CFLAGS=" " LIBUSB1_LIBS="-lusb" .endif post-patch: .for i in configure libgphoto2_port/configure @${REINPLACE_CMD} -e \ '/FLAGS/s|-g|| ; \ /grep -i linux/s|; fi ; then|; else false; fi ; then| ; \ /pkgconfig/s|$${libdir}|$${prefix}/libdata|' \ ${WRKSRC}/${i} .endfor @${REINPLACE_CMD} -e \ '/^doc_DATA/s|COPYING||' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|-lusb-1.0|-lusb|' \ ${WRKSRC}/libgphoto2_port/configure @${REINPLACE_CMD} -e \ '/^SUBDIRS/s|linux-hotplug||' \ ${WRKSRC}/packaging/Makefile.in .include Index: head/graphics/libpuzzle/Makefile =================================================================== --- head/graphics/libpuzzle/Makefile (revision 418828) +++ head/graphics/libpuzzle/Makefile (revision 418829) @@ -1,30 +1,30 @@ # $FreeBSD$ PORTNAME= libpuzzle PORTVERSION= 0.11 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/releases/ MAINTAINER= ports@FreeBSD.org COMMENT= Library to find similar pictures LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgd.so:graphics/gd USES= libtool tar:bzip2 GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip PORTDOCS= AUTHORS README THANKS OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/libsixel/Makefile =================================================================== --- head/graphics/libsixel/Makefile (revision 418828) +++ head/graphics/libsixel/Makefile (revision 418829) @@ -1,58 +1,59 @@ # $FreeBSD$ PORTNAME= libsixel PORTVERSION= 1.6.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= sue@iwmt.org COMMENT= Encoder/decoder library for DEC SIXEL graphics LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= saitoha USE_LDCONFIG= yes USES= libtool pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig INSTALL_TARGET= install-strip PORTDOCS= README.md OPTIONS_DEFINE= CURL GD JPEG PIXBUF PNG PYTHON OPTIONS_DEFAULT= OPTIONS_SUB= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= libcurl GD_LIB_DEPENDS= libgd.so:graphics/gd GD_CONFIGURE_WITH= gd JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JPEG_CPPFLAGS= -I${LOCALBASE}/include JPEG_LDFLAGS= -L${LOCALBASE}/lib PIXBUF_LIB_DEPENDS= libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 PIXBUF_CONFIGURE_WITH= gdk-pixbuf2 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png PYTHON_DESC= Python interface PYTHON_USES= python PYTHON_USE= python=py3kplist PYTHON_CONFIGURE_ENABLE= python post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/lua-gd/Makefile =================================================================== --- head/graphics/lua-gd/Makefile (revision 418828) +++ head/graphics/lua-gd/Makefile (revision 418829) @@ -1,49 +1,49 @@ # Created by: Sergey V. Dyatko # $FreeBSD$ PORTNAME= lua-gd PORTVERSION= 2.0.33r2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://files.luaforge.net/releases/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}forLua5.1/ MAINTAINER= sergey.dyatko@gmail.com COMMENT= GD bindings for the Lua programming language LICENSE= MIT LIB_DEPENDS= libgd.so:graphics/gd OPTIONS_DEFINE= DOCS EXAMPLES USES= lua:51 CFLAGS+= -I${LUA_INCDIR} -I${LOCALBASE}/include LDFLAGS+= -shared -L${LOCALBASE}/lib -lgd -L${LUA_LIBDIR} -llua-${LUA_VER} -lm GDFEATURES= `gdlib-config --features |sed -e "s/GD_/-DGD_/g"` .include CFLAGS_amd64+= -fPIC do-build: ${CC} -o ${WRKSRC}/gd.so ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${GDFEATURES} ${WRKSRC}/luagd.c LUA_MODLIBDIR= ${PREFIX}/lib/lua/${LUA_VER} do-install: ${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} ${INSTALL_PROGRAM} ${WRKSRC}/gd.so ${STAGEDIR}${LUA_MODLIBDIR} ${SETENV} LUA_CPATH=${STAGEDIR}${LUA_MODLIBDIR}/?.so ${LUA_CMD} ${WRKSRC}/test_features.lua .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/ && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/ @${ECHO_MSG} "===> Documentation installed in ${STAGEDIR}${DOCSDIR}" .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/demos && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR} @${ECHO_MSG} "===> Examples installed in ${STAGEDIR}${EXAMPLESDIR}" .endif .include Index: head/graphics/mapserver/Makefile =================================================================== --- head/graphics/mapserver/Makefile (revision 418828) +++ head/graphics/mapserver/Makefile (revision 418829) @@ -1,209 +1,209 @@ # Created by: Douglas K. Rand # $FreeBSD$ PORTNAME= mapserver PORTVERSION= 7.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics www geography MASTER_SITES= http://download.osgeo.org/mapserver/ MAINTAINER= wen@FreeBSD.org COMMENT= System for developing web-based GIS applications LICENSE= MIT LIB_DEPENDS= libgd.so:graphics/gd \ libproj.so:graphics/proj \ libpng.so:graphics/png \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz USES= cpe cmake:outsource jpeg CPE_VENDOR= umn USE_GNOME= libxml2 LDFLAGS+= -L${LOCALBASE} -pthread CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${LOCALBASE} \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DWITH_GD=1 MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= FRIBIDI CURL GDAL GEOS KML POSTGIS PHP PERL PYTHON \ WMS WFS WCS FASTCGI DEBUG CAIRO CAIRO_SVG \ CLIENT_WMS CLIENT_WFS OPTIONS_DEFAULT= FRIBIDI GDAL GEOS CLIENT_WMS CLIENT_WFS KML CAIRO_SVG CAIRO_SVG_DESC= Cairo SVG parser support GDAL_DESC= GDAL library support FRIBIDI_DESC= Fribidi library support KML_DESC= KML support WMS_DESC= WMS Server support WFS_DESC= WFS Server support WCS_DESC= WCS Server support .include .if ${PORT_OPTIONS:MPYTHON} USES+= python:2 BUILD_DEPENDS+= swig2.0:devel/swig20 CMAKE_ARGS+= -DWITH_PYTHON=yes PLIST_SUB+= PYTHON="" MAP_EGG= MapScript-${PORTVERSION}-${PYTHON_VERSION:S/thon//} PLIST_SUB+= MAP_EGG=${MAP_EGG} .else PLIST_SUB+= PYTHON="@comment " .endif .if ${PORT_OPTIONS:MCAIRO} LIB_DEPENDS+= libcairo.so:graphics/cairo \ libexpat.so:textproc/expat2 CMAKE_ARGS+= -DWITH_CAIRO=1 .else CMAKE_ARGS+= -DWITH_CAIRO=0 .endif .if ${PORT_OPTIONS:MFRIBIDI} LIB_DEPENDS+= libfribidi.so:converters/fribidi CMAKE_ARGS+= -DWITH_FRIBIDI=1 .else CMAKE_ARGS+= -DWITH_FRIBIDI=0 .endif .if ${PORT_OPTIONS:MCAIRO_SVG} LIB_DEPENDS+= libcairo.so:graphics/cairo \ libsvg-cairo.so:graphics/libsvg-cairo \ libexpat.so:textproc/expat2 CMAKE_ARGS+= -DWITH_SVGCAIRO=1 -DWITH_CAIRO=1 USES+= pkgconfig .else CMAKE_ARGS+= -DWITH_SVGCAIRO=0 .endif .if ${PORT_OPTIONS:MKML} LIB_DEPENDS+= libxml2.so:textproc/libxml2 CMAKE_ARGS+= -DWITH_KML=1 .else CMAKE_ARGS+= -DWITH_KML=0 .endif .if ${PORT_OPTIONS:MWMS} CMAKE_ARGS+= -DWITH_WMS=1 .else CMAKE_ARGS+= -DWITH_WMS=0 .endif .if ${PORT_OPTIONS:MWFS} CMAKE_ARGS+= -DWITH_WFS=1 .else CMAKE_ARGS+= -DWITH_WFS=0 .endif .if ${PORT_OPTIONS:MWCS} CMAKE_ARGS+= -DWITH_WCS=1 .else CMAKE_ARGS+= -DWITH_WCS=0 .endif .if ${PORT_OPTIONS:MGDAL} USES+= iconv LIB_DEPENDS+= libgdal.so:graphics/gdal CMAKE_ARGS+= -DWITH_GDAL=1 .else CMAKE_ARGS+= -DWITH_GDAL=0 .endif .if ${PORT_OPTIONS:MGEOS} LIB_DEPENDS+= libgeos.so:graphics/geos CMAKE_ARGS+= -DWITH_GEOS=1 .else CMAKE_ARGS+= -DWITH_GEOS=0 .endif .if ${PORT_OPTIONS:MPOSTGIS} USES+= pgsql CMAKE_ARGS+= -DWITH_POSTGIS=1 .else CMAKE_ARGS+= -DWITH_POSTGIS=0 .endif .if ${PORT_OPTIONS:MPHP} BUILD_DEPENDS+= ${LOCALBASE}/bin/php-config:lang/php56 RUN_BUILDS+= ${LOCALBASE}/bin/php-config:lang/php56 PHP_EXTENSION_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e "s,/usr/local/,," CMAKE_ARGS+= -DWITH_PHP=1 PLIST_SUB+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR} PLIST_SUB+= PHP="" .else CMAKE_ARGS+= -DWITH_PHP=0 PLIST_SUB+= PHP="@comment " .endif .if ${PORT_OPTIONS:MPERL} USES+= perl5 BUILD_DEPENDS= ${LOCALBASE}/bin/swig2.0:devel/swig20 CMAKE_ARGS+= -DWITH_PERL=1 PLIST_SUB+= PERL="" .else CMAKE_ARGS+= -DWITH_PERL=0 PLIST_SUB+= PERL="@comment " .endif .if ${PORT_OPTIONS:MCURL} LIB_DEPENDS+= libcurl.so:ftp/curl CMAKE_ARGS+= -DWITH_CURL=1 .else CMAKE_ARGS+= -DWITH_CURL=0 .endif .if ${PORT_OPTIONS:MFASTCGI} BUILD_DEPENDS+= ${LOCALBASE}/bin/cgi-fcgi:www/fcgi CMAKE_ARGS+= -DWITH_FCGI=1 .else CMAKE_ARGS+= -DWITH_FCGI=0 .endif .if ${PORT_OPTIONS:MDEBUG} CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug .else CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release .endif PROG_FILES= legend scalebar shp2img shptree shptreetst shptreevis \ sortshp msencrypt tile4ms mapserv .if ${PORT_OPTIONS:MCLIENT_WMS} LIB_DEPENDS+= libcurl.so:ftp/curl LIB_DEPENDS+= libgdal.so:graphics/gdal CMAKE_ARGS+= -DWITH_CURL=1 -DWITH_GDAL=1 -DWITH_CLIENT_WMS=1 .endif .if ${PORT_OPTIONS:MCLIENT_WFS} LIB_DEPENDS+= libcurl.so:ftp/curl LIB_DEPENDS+= libgdal.so:graphics/gdal CMAKE_ARGS+= -DWITH_CURL=1 -DWITH_GDAL=1 -DWITH_CLIENT_WFS=1 .endif do-install: .for f in ${PROG_FILES} ${STRIP_CMD} ${BUILD_WRKSRC}/${f} ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/libmapserver.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib .if ${PORT_OPTIONS:MPHP} @${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_EXTENSION_DIR} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/mapscript/php/php_mapscript.so \ ${STAGEDIR}${PREFIX}/${PHP_EXTENSION_DIR}/ .endif .if ${PORT_OPTIONS:MPYTHON} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/ (cd ${BUILD_WRKSRC}/mapscript/python && ${CP} mapscript.py _mapscript.so ${STAGEDIR}${PYTHON_SITELIBDIR}/) .endif @${LN} -s ${PREFIX}/lib/libmapserver.so.7.0.1 ${STAGEDIR}${PREFIX}/lib/libmapserver.so.2 @${LN} -s ${PREFIX}/lib/libmapserver.so.2 ${STAGEDIR}${PREFIX}/lib/libmapserver.so .if ${PORT_OPTIONS:MPHP} @${ECHO_MSG} "Please add the line extension=php_mapscript.so to ${PREFIX}/etc/php/extensions.ini" .endif .include Index: head/graphics/mscgen/Makefile =================================================================== --- head/graphics/mscgen/Makefile (revision 418828) +++ head/graphics/mscgen/Makefile (revision 418829) @@ -1,39 +1,39 @@ # Created by: Romain Tartiere # $FreeBSD$ PORTNAME= mscgen PORTVERSION= 0.20 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://www.mcternan.me.uk/mscgen/software/ \ http://romain.blogreen.org/distfiles/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= romain@FreeBSD.org COMMENT= Message Sequence Chart Renderer OPTIONS_DEFINE= FREETYPE PNG OPTIONS_DEFAULT=FREETYPE PNG .include .if ${PORT_OPTIONS:MFREETYPE} CONFIGURE_ARGS+=--with-freetype LIB_DEPENDS+= libfreetype.so:print/freetype2 .else CONFIGURE_ARGS+=--without-freetype .endif .if ${PORT_OPTIONS:MPNG} CONFIGURE_ARGS+=--with-png LIB_DEPENDS+= libgd.so:graphics/gd .else CONFIGURE_ARGS+=--without-png .endif WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} GNU_CONFIGURE= yes MAN1= mscgen.1 .include Index: head/graphics/p5-GD/Makefile =================================================================== --- head/graphics/p5-GD/Makefile (revision 418828) +++ head/graphics/p5-GD/Makefile (revision 418829) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= GD PORTVERSION= 2.56 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to Gd Graphics Library version2 LICENSE= ART10 GPLv1 GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libgd.so:graphics/gd USES= perl5 USE_PERL5= modbuild .include Index: head/graphics/php-libpuzzle/Makefile =================================================================== --- head/graphics/php-libpuzzle/Makefile (revision 418828) +++ head/graphics/php-libpuzzle/Makefile (revision 418829) @@ -1,29 +1,29 @@ # Created by: Naram Qashat # $FreeBSD$ PORTNAME= libpuzzle PORTVERSION= 0.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://download.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/release/ \ ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/releases/ PKGNAMEPREFIX= php- MAINTAINER= cyberbotx@cyberbotx.com COMMENT= PHP extension for Puzzle library to find similar pictures LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC:H:H}/COPYING LIB_DEPENDS= libpuzzle.so:graphics/libpuzzle \ libgd.so:graphics/gd USES= php:ext tar:bzip2 IGNORE_WITH_PHP= 70 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/php/${PORTNAME} pre-install: @${STRIP_CMD} ${WRKSRC}/modules/libpuzzle.so .include Index: head/graphics/php5-ffmpeg/Makefile =================================================================== --- head/graphics/php5-ffmpeg/Makefile (revision 418828) +++ head/graphics/php5-ffmpeg/Makefile (revision 418829) @@ -1,23 +1,24 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= ffmpeg PORTVERSION= 0.6.0.20120114 +PORTREVISION= 1 DISTVERSIONPREFIX= php- CATEGORIES= graphics MASTER_SITES= LOCAL/sunpoet PKGNAMEPREFIX= php5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= FFmpeg shared extension for php LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgd.so:graphics/gd \ libavutil.so:multimedia/ffmpeg IGNORE_WITH_PHP=70 USES= localbase php:ext tar:xz .include Index: head/graphics/phplot/Makefile =================================================================== --- head/graphics/phplot/Makefile (revision 418828) +++ head/graphics/phplot/Makefile (revision 418829) @@ -1,41 +1,42 @@ # Created by: yukinopo@livedoor.com # $FreeBSD$ PORTNAME= phplot PORTVERSION= 6.2.0 +PORTREVISION= 1 CATEGORIES= graphics www MASTER_SITES= SF \ SF/${PORTNAME}/Manual/20130511:source2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}docs-20130511.zip:source2 MAINTAINER= ports@FreeBSD.org COMMENT= PHP class for creating scientific and business charts LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgd.so:graphics/gd NO_ARCH= yes NO_BUILD= yes USES= php zip PHPLOT_DIR= ${STAGEDIR}${PREFIX}/include/php/phplot LIBRARIES= phplot.php rgb.inc.php OPTIONS_DEFINE= DOCS FONTS OPTIONS_DEFAULT= FONTS FONTS_DESC= install TrueType fonts FONTS_LIB_DEPENDS= libfreetype.so:print/freetype2 do-install: @${MKDIR} ${PHPLOT_DIR} ${INSTALL_DATA} ${LIBRARIES:S,^,${WRKSRC}/,} ${PHPLOT_DIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/phplotdocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/graphics/png2html/Makefile =================================================================== --- head/graphics/png2html/Makefile (revision 418828) +++ head/graphics/png2html/Makefile (revision 418829) @@ -1,26 +1,26 @@ # Created by: Chris D. Faulhaber # $FreeBSD$ PORTNAME= png2html PORTVERSION= 1.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= http://www.engr.mun.ca/~holden/ MAINTAINER= ports@FreeBSD.org COMMENT= Takes a PNG image and transforms it into HTML LICENSE= GPLv2+ LIB_DEPENDS= libpng.so:graphics/png \ libgd.so:graphics/gd PLIST_FILES= bin/png2html post-patch: @${REINPLACE_CMD} 's|CHANGE_ME|${LOCALBASE}|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/png2html ${STAGEDIR}${PREFIX}/bin .include Index: head/graphics/pstoedit/Makefile =================================================================== --- head/graphics/pstoedit/Makefile (revision 418828) +++ head/graphics/pstoedit/Makefile (revision 418829) @@ -1,66 +1,66 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= pstoedit PORTVERSION= 3.70 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Convert PostScript to other vector graphic formats LICENSE= GPLv2+ LIB_DEPENDS= libgd.so:graphics/gd USES= ghostscript libtool localbase pathfix pkgconfig GNU_CONFIGURE= yes MAKE_ENV= INSTALL_STRIP_FLAG="${STRIP}" USE_LDCONFIG= yes CPPFLAGS+= -isystem ${LOCALBASE}/include/ming PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EMF EXAMPLES MAGICK MING PLOTUTILS OPTIONS_DEFAULT= EMF MAGICK MING PLOTUTILS OPTIONS_SUB= yes EMF_DESC= WMF/EMF support via libEMF EMF_LIB_DEPENDS= libEMF.so:graphics/libemf EMF_CONFIGURE_ON= --with-libemf-include=${LOCALBASE}/include/libEMF EMF_CONFIGURE_OFF= --without-emf MAGICK_LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick MAGICK_CONFIGURE_ON= --with-magick MAGICK_CONFIGURE_OFF= --without-magick MING_DESC= Flash support via Ming MING_LIB_DEPENDS= libming.so:graphics/ming MING_CONFIGURE_ON= --with-swf MING_CONFIGURE_OFF= --without-swf PLOTUTILS_DESC= Plotting support via Plotutils PLOTUTILS_LIB_DEPENDS= libplotter.so:graphics/plotutils PLOTUTILS_CONFIGURE_ON= --with-libplot PLOTUTILS_CONFIGURE_OFF= --without-libplot post-patch: @${REINPLACE_CMD} -e 's|CXXFLAGS="-g"|CXXFLAGS="$$CXXFLAGS"|g ; \ s|GraphicsMagick|Magick|g ; \ s|=$$OLDCPPFLAGS|=$$CPPFLAGS|g ; \ s|-lstdc++||g ; \ s|-pedantic||g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/src/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.ps ${STAGEDIR}${EXAMPLESDIR} .include Index: head/graphics/py-gd/Makefile =================================================================== --- head/graphics/py-gd/Makefile (revision 418828) +++ head/graphics/py-gd/Makefile (revision 418829) @@ -1,34 +1,35 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= gd PORTVERSION= 0.59 +PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= gdmodule-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python interface to the GD library LIB_DEPENDS= libgd.so:graphics/gd USES= python USE_PYTHON= distutils autoplist pythonprefix PYSETUP= setup.py post-patch: @${REINPLACE_CMD} -e \ '/\/usr\/lib/d ; \ /\/usr\/include/d ; \ /\/usr\/X11R6/d ; \ s|/opt/gnome|${LOCALBASE}| ; \ /"jpeg", "png", "gif", "z",/d ; \ /"X11", "Xpm",/d ; \ /"ttf", "freetype",/d' \ ${WRKSRC}/${PYSETUP} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_gd.so .include Index: head/graphics/raster3d/Makefile =================================================================== --- head/graphics/raster3d/Makefile (revision 418828) +++ head/graphics/raster3d/Makefile (revision 418829) @@ -1,66 +1,66 @@ # Created by: Shaun Amott # $FreeBSD$ PORTNAME= raster3d PORTVERSION= 3.0.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics biology MASTER_SITES= http://skuld.bmsc.washington.edu/${PORTNAME}/ DISTNAME= Raster3D_${PORTVERSION:R}-${PORTVERSION:E} MAINTAINER= ports@FreeBSD.org COMMENT= Set of tools for generating raster images of proteins and molecules LICENSE= ART20 LIB_DEPENDS= libgd.so:graphics/gd \ libtiff.so:graphics/tiff OPTIONS_DEFINE= IMAGEMAGICK DOCS EXAMPLES OPTIONS_DEFAULT=IMAGEMAGICK USES= fortran MAKE_ARGS= INCDIRS="-I${LOCALBASE}/include" LIBDIRS="-L${LOCALBASE}/lib" \ CC="${CC}" CFLAGS="${CFLAGS}" FC="${FC}" FFLAGS="${FFLAGS}" \ RM="${RM}" OS="${OPSYS}" ALL_TARGET= linux all MAKE_JOBS_UNSAFE= yes CFLAGS+= -DLINUX -DNETWORKBYTEORDER -Dgfortran FFLAGS+= -fno-range-check -ffixed-line-length-132 IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick OPTIONS_SUB= yes BROKEN_sparc64= Does not compile with GCC 4.2: internal compiler error .include do-install: .for file in avs2ps balls normal3d rastep render ribbon rings3d rods cd ${WRKSRC} && ${INSTALL_PROGRAM} ${file} ${STAGEDIR}${PREFIX}/bin .endfor .for file in worms cd ${WRKSRC} && ${INSTALL_SCRIPT} ${file} ${STAGEDIR}${PREFIX}/bin .endfor .if ${PORT_OPTIONS:MIMAGEMAGICK} .for file in label3d stereo3d cd ${WRKSRC} && ${INSTALL_SCRIPT} ${file} ${STAGEDIR}${PREFIX}/bin .endfor .endif cd ${WRKSRC}/doc && ${INSTALL_MAN} *.l ${STAGEDIR}${MANLPREFIX}/man/manl ${MKDIR} ${STAGEDIR}${DATADIR}/materials cd ${WRKSRC}/materials && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/materials .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} R3D_manual.pdf ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html cd ${WRKSRC}/html && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/html .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) ${RM} -rf ${STAGEDIR}${EXAMPLESDIR}/msms/CVS .endif .include Index: head/graphics/repng2jpeg/Makefile =================================================================== --- head/graphics/repng2jpeg/Makefile (revision 418828) +++ head/graphics/repng2jpeg/Makefile (revision 418829) @@ -1,30 +1,31 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= repng2jpeg PORTVERSION= 1.0.5 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://bsdforge.com/projects/source/graphics/repng2jpeg/ MAINTAINER= portmaster@bsdforge.com COMMENT= Small tool to recompress JPEG, PNG, and GIF images LICENSE= GPLv1 LIB_DEPENDS= libgd.so:graphics/gd USES= tar:xz CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lgd PLIST_FILES= bin/repng2jpeg do-build: ${CC} ${CFLAGS} -o ${WRKSRC}/src/repng2jpeg \ ${WRKSRC}/src/repng2jpeg.c ${LDFLAGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/repng2jpeg ${STAGEDIR}${PREFIX}/bin .include Index: head/graphics/ruby-gd/Makefile =================================================================== --- head/graphics/ruby-gd/Makefile (revision 418828) +++ head/graphics/ruby-gd/Makefile (revision 418829) @@ -1,93 +1,93 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= gd PORTVERSION= 0.8.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics ruby MASTER_SITES= ftp://ftp.jp.vim.org/pub/distfiles/ruby/ \ http://www.mmnt.net/db/0/8/ftp.jp.vim.org/pub/distfiles/ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMESUFFIX= ${PKGNAMESUFFIX_XPM} DISTNAME= ruby-GD-0.7.4 DIST_SUBDIR= ruby MAINTAINER= dinoex@FreeBSD.org COMMENT= Ruby extension library to use Thomas Boutell's gd library LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgd.so:graphics/gd BROKEN_RUBY20= yes USE_RUBY= yes USE_RUBY_EXTCONF= yes RUBY_MODNAME= ${PORTNAME:tl} CONFIGURE_ARGS= --with-gd-lib="${LOCALBASE}/lib" \ --with-jpeg \ --with-ttf \ --with-freetype \ --enable-gd2_0 \ --with-gd-include="${LOCALBASE}/include" INSTALL_TARGET= site-install OPTIONS_DEFINE= DOCS EXAMPLES .include # Hmm, GREP and TRUE seem to be defined in the bsd.port.post.mk stage. .if exists(${LOCALBASE}/bin/gd2topng) WITH_X11_CHECK!= ldd ${LOCALBASE}/bin/gd2topng | grep -w 'libX11\.so' || ${ECHO_CMD} .else WITH_X11_CHECK= # empty .endif .if !empty(WITH_X11_CHECK) USE_XORG= xpm x11 PKGNAMESUFFIX_XPM= +xpm CONFIGURE_ARGS+= --with-X11-dir="${LOCALBASE}" --with-xpm .endif EXAMPLES_EN= example.rb \ gdtestttf.rb \ webpng.rb DOCS_EN= Changes \ TODO \ readme.en \ doc/INSTALL.en \ doc/manual.html \ doc/manual.rd \ doc/manual_index.html DOCS_JA= readme.ja \ doc/INSTALL.ja post-patch: ${RUBY} -i -pe 'sub %r:/win98/windows/FONTS:, "${LOCALBASE}/share/fonts/TrueType"' ${WRKSRC}/sample/gdtestttf.rb ${RUBY} -i -pe 'sub %r:%%GD%%:, "gd"' ${WRKSRC}/extconf.rb post-configure: ${REINPLACE_CMD} -e 's|^V = 0|V = 1|' \ -e 's|^libdir = .*|libdir = ${PREFIX}/lib|' \ ${WRKSRC}/Makefile post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ .endfor .for f in ${DOCS_JA} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ .endfor .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} .for f in ${EXAMPLES_EN} ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ .endfor .endif .include Index: head/graphics/rubygem-gd2/Makefile =================================================================== --- head/graphics/rubygem-gd2/Makefile (revision 418828) +++ head/graphics/rubygem-gd2/Makefile (revision 418829) @@ -1,25 +1,25 @@ # Created by: Alexander Logvinov # $FreeBSD$ PORTNAME= gd2 PORTVERSION= 1.1.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby interface to gd 2 library LICENSE= GPLv2 LIB_DEPENDS= libgd.so:graphics/gd NO_ARCH= yes USE_RUBY= yes USES= gem post-patch: @${REINPLACE_CMD} 's|libgd.so.2|libgd.so.5|' ${WRKSRC}/lib/gd2.rb .include Index: head/graphics/scr2png/Makefile =================================================================== --- head/graphics/scr2png/Makefile (revision 418828) +++ head/graphics/scr2png/Makefile (revision 418829) @@ -1,25 +1,25 @@ # Created by: nik # $FreeBSD$ PORTNAME= scr2png PORTVERSION= 1.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= LOCAL/nik MAINTAINER= eadler@FreeBSD.org COMMENT= Converts the output of "vidcontrol -p" to PNG LIB_DEPENDS= libgd.so:graphics/gd NO_WRKSUBDIR= yes USES= uidfix MAKE_ARGS= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX} PLIST_FILES= bin/scr2png man/man1/scr2png.1.gz pre-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|||' ${WRKSRC}/scr2png.c .include Index: head/graphics/zimg/Makefile =================================================================== --- head/graphics/zimg/Makefile (revision 418828) +++ head/graphics/zimg/Makefile (revision 418829) @@ -1,28 +1,28 @@ # Created by: Will Andrews # $FreeBSD$ PORTNAME= zimg PORTVERSION= 5.0.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Image-generator that uses ASCII input files to create PNGs/EDFs LIB_DEPENDS= libgd.so:graphics/gd CONFLICTS_INSTALL= sekrit-twc-zimg-* # include/zimg.h GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-dynaload-cc="${CC}" \ --with-dynaload-cflags="${CFLAGS} -shared" \ --with-gd-includes="${LOCALBASE}/include" \ --with-gd-lib="${LOCALBASE}/lib" PLIST_FILES= include/zimg.h bin/zimg \ man/man1/zimg.1.gz CFLAGS+= -DHAVE_GD_FREETYPE .include Index: head/lang/fpc/Makefile =================================================================== --- head/lang/fpc/Makefile (revision 418828) +++ head/lang/fpc/Makefile (revision 418829) @@ -1,180 +1,180 @@ # Created by: John Merryweather Cooper et al # $FreeBSD$ PORTNAME= fpc DISTVERSIONPREFIX= release_ DISTVERSION= 3_0_0 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= lang MASTER_SITES= http://leaf.dragonflybsd.org/~marino/dports-src/:DragonFlybootstrap \ LOCAL/acm/freepascal/:bootstrap \ LOCAL/marino:man DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= freepascal MAINTAINER?= freebsd-fpc@FreeBSD.org COMMENT?= Free Pascal compiler with Turbo and Delphi USES= gmake iconv ONLY_FOR_ARCHS= i386 amd64 BOOTVER= 2.6.4 MANVER= 3.0.0 USE_GITHUB= yes GH_ACCOUNT= fpc-svn GH_PROJECT= fpc FPCSRCDIR= ${GH_PROJECT}-${GH_TAGNAME} .include .if ${ARCH} == "i386" PPNAME= ppc386 FPC_ARCH= i386 PLIST_SUB= FPC_I386="" \ FPC_AMD64="@comment " .elif ${ARCH} == "amd64" PPNAME= ppcx64 FPC_ARCH= x86_64 PLIST_SUB= FPC_I386="@comment " \ FPC_AMD64="" .endif .if ${OPSYS} == FreeBSD PLIST_SUB+= FREEBSD="" .else PLIST_SUB+= FREEBSD="@comment " .endif .if !defined(PKGNAMESUFFIX) SUB_FILES= pkg-message BUILDNAME= ${FPC_ARCH}-${OPSYS:tl} PLIST_SUB+= PORTVERSION=${PORTVERSION} \ BUILDNAME=${BUILDNAME} DISTFILES+= ${BOOTDIR}.tar.gz:${OPSYS:MDragonFly}bootstrap \ fpc-${MANVER}.man.tar.gz:man NEWFPCMAKE= ${WRKDIR}/${FPCSRCDIR}/utils/fpcm/bin/${BUILDNAME}/fpcmake MAKE_ARGS+= FPCMAKE=${NEWFPCMAKE} \ FPCTARGET=${BUILDNAME} \ ARCH=${FPC_ARCH} \ OPT="${OPT}" \ BSDHIER=1 \ INSTALL="${INSTALL_DATA}" \ INSTALLEXE="${INSTALL_PROGRAM}" \ INSTALLSCR="${INSTALL_SCRIPT}" \ INSTALL_PREFIX=${STAGEDIR}${PREFIX} NEWPPC= PP=${WRKSRC}/compiler/${PPNAME} NEWFPC= FPC=${WRKSRC}/compiler/${PPNAME} BOOTDIR= ${PPNAME}-${BOOTVER}-${OPSYS:tl} BOOTPPC= PP=${WRKDIR}/${BOOTDIR} do-extract: # unpack binary distribution @${MKDIR} ${WRKDIR} @${TAR} -xzf ${_DISTDIR}/${BOOTDIR}.tar.gz \ --directory ${WRKDIR} && ${CHMOD} +x ${WRKDIR}/${BOOTDIR} # unpack man files @${TAR} -xzf ${_DISTDIR}/fpc-${MANVER}.man.tar.gz --directory ${WRKDIR} # unpack source distribution @(cd ${WRKDIR} && ${GZIP_CMD} -dc \ ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \ ${TAR} -xf - \ ${FPCSRCDIR}/compiler \ ${FPCSRCDIR}/rtl \ ${FPCSRCDIR}/utils/fpcmkcfg \ ${FPCSRCDIR}/packages/fcl-base \ ${FPCSRCDIR}/packages/fcl-process \ ${FPCSRCDIR}/packages/fcl-res \ ${FPCSRCDIR}/packages/fpmkunit \ ${FPCSRCDIR}/packages/hash \ ${FPCSRCDIR}/packages/libtar \ ${FPCSRCDIR}/packages/paszlib \ ${FPCSRCDIR}/packages/rtl-objpas \ ${FPCSRCDIR}/utils/fpcm) post-patch: .if ${OPSYS} == FreeBSD @${REINPLACE_CMD} -i "" -e 's|900044|${OSVERSION}|g' \ ${WRKSRC}/rtl/freebsd/${FPC_ARCH}/*.as .else @${REINPLACE_CMD} -i "" -e 's|400000|${DFLYVERSION}|g' \ ${WRKSRC}/rtl/dragonfly/${FPC_ARCH}/*.as .endif .if empty(ICONV_LIB) @${REINPLACE_CMD} -e "s|s<>'c'|(s<>'c') and (s<>'iconv')|" \ ${WRKDIR}/${FPCSRCDIR}/compiler/systems/t_bsd.pas @${REINPLACE_CMD} -e 's|defined(bsd) and not ||' \ ${WRKDIR}/${FPCSRCDIR}/rtl/unix/cwstring.pp .endif @${REINPLACE_CMD} -e '/samplecfg/ {s/INSTALLEXE/INSTALLSCR/;}' \ ${WRKDIR}/${FPCSRCDIR}/compiler/Makefile @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ ${WRKDIR}/${FPCSRCDIR}/packages/fpmkunit/src/fpmkunit.pp do-build: # build fpc compiler @${ECHO_MSG} "##### STARTING COMPILER #####" (cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${SETENV} ${MAKE_ENV} \ LDVER=ld.bfd ${MAKE_CMD} cycle ${MAKE_ARGS} ${BOOTPPC}) @${ECHO_MSG} "##### COMPLETE COMPILER #####" # build fpcmkcfg @${ECHO_MSG} "##### STARTING BOOTSTRAP FPMKUNIT #####" (cd ${WRKDIR}/${FPCSRCDIR}/packages/fpmkunit && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} bootstrap ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE BOOTSTRAP FPMKUNIT #####" .for component in fcl-res rtl-objpas fcl-base @${ECHO_MSG} "##### STARTING ${component:tu} #####" (cd ${WRKDIR}/${FPCSRCDIR}/packages/${component} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE ${component:tu} #####" .endfor @${ECHO_MSG} "##### STARTING FPMAKE #####" (cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcm && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} release ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE FPMAKE #####" .for component in hash paszlib libtar fcl-process fpmkunit @${ECHO_MSG} "##### STARTING ${component:tu} #####" (cd ${WRKDIR}/${FPCSRCDIR}/packages/${component} && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} release ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE ${component:tu} #####" .endfor @${ECHO_MSG} "##### STARTING FPCMKCFG #####" (cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} release ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE FPCMKCFG #####" do-install: # Installing fpc compiler (cd ${WRKDIR}/${FPCSRCDIR}/rtl && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} install ${MAKE_ARGS} ${NEWFPC}) # Installing fpc runtime (cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} install ${MAKE_ARGS} ${NEWFPC}) # Installing fpmkunit and its dependencies .for component in hash paszlib libtar fcl-process fpmkunit (cd ${WRKDIR}/${FPCSRCDIR}/packages/${component} && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} install ${MAKE_ARGS} ${NEWPPC}) .endfor # Installing fpcmkcfg ${INSTALL_PROGRAM} ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg/bin/${BUILDNAME}/fpcmkcfg \ ${STAGEDIR}${PREFIX}/bin # Installing fpcmake ${INSTALL_PROGRAM} ${NEWFPCMAKE} ${STAGEDIR}${PREFIX}/bin # Installing manpages ${INSTALL_MAN} ${WRKDIR}/man/man1/* ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKDIR}/man/man5/* ${STAGEDIR}${MAN1PREFIX}/man/man5 # symlinking compiler (cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ../lib/fpc/${PORTVERSION}/${PPNAME}) # creating sample configuration file ${SH} "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}/samplecfg" \ "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}" \ "${STAGEDIR}${PREFIX}/etc" @${REINPLACE_CMD} -i "" -e 's|${STAGEDIR}||' \ -e 's|^-Fl/usr/local/lib|-Fl${LOCALBASE}/lib;${LOCALBASE}/lib/qt4|g' \ ${STAGEDIR}${PREFIX}/etc/fpc.cfg.sample .else .include "${MASTERDIR}/Makefile.units" .endif .include Index: head/mail/dspam/Makefile =================================================================== --- head/mail/dspam/Makefile (revision 418828) +++ head/mail/dspam/Makefile (revision 418829) @@ -1,596 +1,596 @@ # Created by: Dominic Marks # $FreeBSD$ # Note to committers: If don't commit a maintainer patch and as a result PKGNAME # or user variables (WITH*) changes please add an entry in ${FILESDIR}/UPDATING # Thanks. PORTNAME= dspam PORTVERSION= 3.10.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= danny@dannywarren.com COMMENT= Bayesian spam filter LICENSE= AGPLv3 USERS= dspam GROUPS= dspam OPTIONS_SUB= yes OPTIONS_DEFINE= SYSLOG DEBUG VERBOSE_DEBUG BNR_DEBUG PREF_EXT DAEMON \ CLAMAV CLAMAV_LOCAL EXTERNAL_LOOKUP \ USER_HOMEDIR TRUSTED_USERS VIRT_USERS LONG_USERNAMES \ LARGE_SCALE DOMAIN_SCALE NICESENDMAIL POSTFIX_MBC \ QMAIL WEBUI LIGHTTPD DOCS EXAMPLES SETUID OPTIONS_MULTI= DB OPTIONS_MULTI_DB= HASH MYSQL MYSQL_COMPRESS MYSQL_LOCAL \ PGSQL PGSQL_LOCAL SQLITE2 SQLITE3 OPTIONS_RADIO= LDA OPTIONS_RADIO_LDA= CYRUS23 CYRUS24 DOVECOT1 \ DOVECOT2 EXIM MAILDROP PROCMAIL SAFECAT SENDMAIL OPTIONS_DEFAULT= SYSLOG DEBUG DAEMON CLAMAV CLAMAV_LOCAL \ HASH MYSQL MYSQL_COMPRESS PGSQL SQLITE3 VERBOSE_DEBUG_DESC= Debug in LOGDIR/dspam.debug BNR_DEBUG_DESC= Debug for Bayesian Noise Reduction PREF_EXT_DESC= Preferences in database not in files DAEMON_DESC= Daemonize dspam; speaks LMTP or DLMTP CLAMAV_DESC= ClamAV support CLAMAV_LOCAL_DESC= RUN_DEPEND on ClamAV MYSQL_DESC= MySQL 5.X.x as back-end MYSQL_COMPRESS_DESC= Compress dspam <--> MySQL MYSQL_LOCAL_DESC= RUN_DEPEND on MySQL server PGSQL_DESC= PostgreSQL as back-end PGSQL_LOCAL_DESC= RUN_DEPEND on PostgreSQL server SQLITE2_DESC= SQLite v2.x as back-end SQLITE3_DESC= SQLite v3.x as back-end HASH_DESC= Hash driver EXTERNAL_LOOKUP_DESC= RCPT verification via extlookup USER_HOMEDIR_DESC= Store user data in ~/.dspam TRUSTED_USERS_DESC= Disable trusted user security VIRT_USERS_DESC= Virtual users (needs SQL back-end) LONG_USERNAMES_DESC= Usernames longer that OS supports LARGE_SCALE_DESC= File structure for large scale DOMAIN_SCALE_DESC= File structure for multiple domains CYRUS23_DESC= Cyrus's 2.3 deliver as LDA CYRUS24_DESC= Cyrus's 2.4 deliver as LDA DOVECOT1_DESC= Dovecot 1.2 deliver as LDA DOVECOT2_DESC= Dovecot 2.2 dovecot-lda as LDA EXIM_DESC= Exim as local delivery agent MAILDROP_DESC= Maildrop as local delivery agent PROCMAIL_DESC= Procmail as local delivery agent SAFECAT_DESC= Safecat as local delivery agent SENDMAIL_DESC= Sendmail as local delivery agent NICESENDMAIL_DESC= Play nice with sendmail server POSTFIX_MBC_DESC= Dspam as mailbox_command in Postfix QMAIL_DESC= Play nice with Qmail mail server WEBUI_DESC= Install WebUI (RUN_DEPEND on Apache/Lighttpd) LIGHTTPD_DESC= RUN_DEPEND on Lighttpd instead of Apache SETUID_DESC= Run as root:mail with setuid (insecure) MAKE_JOBS_UNSAFE= yes USES= perl5 libtool shebangfix USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SHEBANG_FILES= src/tools/dspam_logrotate \ src/tools/dspam_notify.in \ src/tools/dspam_train.in \ webui/cgi-bin/templates/*/strings.pl \ webui/cgi-bin/templates/strings.pl \ webui/cgi-bin/*.cgi \ webui/cgi-bin/*.pl .ifdef(GDBS) CFLAGS+= -g -DDEBUG STRIP= .endif PKGMESSAGE= ${WRKSRC}/README.FreeBSD CONFLICTS= dspam-devel-[0-9]* SIGNATURE_LIFE?= 15 .include _VAR_DIR= /var RUN_DIR?= ${_VAR_DIR}/run/dspam LOG_DIR?= ${_VAR_DIR}/log/dspam LOGFILE?= ${LOG_DIR}/dspam.log .if ${PORT_OPTIONS:MSETUID} DSPAM_OWNER?= root DSPAM_GROUP?= mail DSPAM_MODE?= 4510 .else DSPAM_OWNER?= ${USERS} DSPAM_GROUP?= ${GROUPS} DSPAM_MODE?= 0555 .endif DSPAM_ETC?= ${LOCALBASE}/etc DSPAM_HOME?= ${_VAR_DIR}/db/dspam DSPAM_HOME_OWNER?= ${DSPAM_OWNER} DSPAM_HOME_GROUP?= ${DSPAM_GROUP} DSPAM_HOME_MODE?= 0770 DSPAM_SAMPLE_MODE?= 0640 PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} \ DSPAM_OWNER=${DSPAM_OWNER} \ DSPAM_GROUP=${DSPAM_GROUP} \ DSPAM_MODE=${DSPAM_MODE} \ DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER} \ DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP} \ DSPAM_HOME_MODE=${DSPAM_HOME_MODE} \ DSPAM_SAMPLE_MODE=${DSPAM_SAMPLE_MODE} CONFIGURE_ARGS+= --sysconfdir=${DSPAM_ETC} CONFIGURE_ARGS+= --with-logdir=${LOG_DIR} PLIST_SUB+= LOG_DIR=${LOG_DIR} PLIST_SUB+= RUN_DIR=${RUN_DIR} CONFIGURE_ARGS+= --with-dspam-home=${DSPAM_HOME} CONFIGURE_ARGS+= --with-dspam-home-owner=${DSPAM_HOME_OWNER} CONFIGURE_ARGS+= --with-dspam-home-group=${DSPAM_HOME_GROUP} CONFIGURE_ARGS+= --with-dspam-home-mode=${DSPAM_HOME_MODE} PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} \ DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER} \ DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP} \ DSPAM_HOME_MODE=${DSPAM_HOME_MODE} CONFIGURE_ARGS+= --with-dspam-owner=${DSPAM_OWNER} CONFIGURE_ARGS+= --with-dspam-group=${DSPAM_GROUP} # we set DSPAM_MODE at the end as some LDAs want specific mode PLIST_SUB+= DSPAM_OWNER=${DSPAM_OWNER} \ DSPAM_GROUP=${DSPAM_GROUP} \ DSPAM_MODE=${DSPAM_MODE} _SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \ -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \ -e 's,%%DSPAM_HOME%%,${DSPAM_HOME},g' \ -e 's,%%PORTNAME%%,${PORTNAME},g' \ -e 's,%%_VAR_DIR%%,${_VAR_DIR},g' \ -e '/^%%FreeBSD/D' .if ${PORT_OPTIONS:MSYSLOG} CONFIGURE_ARGS+= --enable-syslog .else CONFIGURE_ARGS+= --disable-syslog CONFIGURE_ARGS+= --with-logfile=${LOGFILE} .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug .endif .if ${PORT_OPTIONS:MVERBOSE_DEBUG} CONFIGURE_ARGS+= --enable-verbose-debug .endif .if ${PORT_OPTIONS:MBNR_DEBUG} CONFIGURE_ARGS+= --enable-bnr-debug .endif .if ${PORT_OPTIONS:MPREF_EXT} CONFIGURE_ARGS+= --enable-preferences-extension .endif .if ${PORT_OPTIONS:MDAEMON} CONFIGURE_ARGS+= --enable-daemon USE_RC_SUBR= ${PORTNAME} _SED_SCRIPT+= -e 's,%%DAEMON%%,,g' SUB_LIST+= DSPAM_HOME=${DSPAM_HOME} SUB_LIST+= DSPAM_OWNER=${DSPAM_OWNER} SUB_LIST+= DSPAM_GROUP=${DSPAM_GROUP} .else _SED_SCRIPT+= -e '/%%DAEMON%%/D' .endif .if ${PORT_OPTIONS:MCLAMAV} CONFIGURE_ARGS+= --enable-clamav . if ${PORT_OPTIONS:MCLAMAV_LOCAL} RUN_DEPENDS+= clamav>=0:security/clamav SUB_LIST+= CLAMD=clamd . else SUB_LIST+= CLAMD= . endif .endif # we need to know if we are building statically or dynamically for the plist _DBDRV_COUNT= # blank, but defined so we can check against it _DBDRV= pgsql_drv,sqlite3_drv,sqlite_drv,hash_drv,mysql_drv, .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+= --with-pgsql-includes=${LOCALBASE}/include \ --with-pgsql-libraries=${LOCALBASE}/lib PLIST_SUB+= PGSQL="" #PKGNAMESUFFIX= -pgsql _DBDRV_COUNT:= ${_DBDRV_COUNT}o . if ${PORT_OPTIONS:MPGSQL_LOCAL} WANT_PGSQL= server SUB_LIST+= PGSQL=postgresql . else SUB_LIST+= PGSQL= . endif .else PLIST_SUB+= PGSQL="@comment " _DBDRV:= ${_DBDRV:S/pgsql_drv,//} .endif .if ${PORT_OPTIONS:MSQLITE3} USES+= sqlite:3 _DBDRV_COUNT:= ${_DBDRV_COUNT}o PLIST_SUB+= SQLITE3="" .else _DBDRV:= ${_DBDRV:S/sqlite3_drv,//} PLIST_SUB+= SQLITE3="@comment " .endif .if ${PORT_OPTIONS:MSQLITE2} USES+= sqlite:2 _DBDRV_COUNT:= ${_DBDRV_COUNT}o PLIST_SUB+= SQLITE2="" .else _DBDRV:= ${_DBDRV:S/sqlite_drv,//} PLIST_SUB+= SQLITE2="@comment " .endif .if ${USES:Msqlite*} CONFIGURE_ARGS+= --with-sqlite-includes=${LOCALBASE}/include \ --with-sqlite-libraries=${LOCALBASE}/lib PLIST_SUB+= SQLITE="" .else PLIST_SUB+= SQLITE="@comment " .endif .if ${PORT_OPTIONS:MHASH} PLIST_SUB+= HASH="" #PKGNAMESUFFIX= -css _DBDRV_COUNT:= ${_DBDRV_COUNT}o .else _DBDRV:= ${_DBDRV:S/hash_drv,//} PLIST_SUB+= HASH="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USES+= mysql CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libraries=${LOCALBASE}/lib/mysql PLIST_SUB+= MYSQL="" _DBDRV_COUNT:= ${_DBDRV_COUNT}o . if ${PORT_OPTIONS:MMYSQL_COMPRESS} CONFIGURE_ARGS+= --enable-client-compression . endif . if ${PORT_OPTIONS:MMYSQL_LOCAL} WANT_MYSQL= server SUB_LIST+= MYSQL=mysql . else SUB_LIST+= MYSQL= . endif .else _DBDRV:= ${_DBDRV:S/mysql_drv,//} PLIST_SUB+= MYSQL="@comment " .endif # now we have all the db backends the user wants and we remove last ',' CONFIGURE_ARGS+= --with-storage-driver=${_DBDRV:S/,$//} .if ${_DBDRV_COUNT} != "o" PLIST_SUB+= DYNAMIC="" .else PLIST_SUB+= DYNAMIC="@comment " .endif .if %{PORT_OPTIONS:MSETUID} PLIST_SUB+= SETUID="" PLIST_SUB+= NOSETUID="@comment " .else PLIST_SUB+= SETUID="@comment " PLIST_SUB+= NOSETUID="" .endif .if ${PORT_OPTIONS:MEXTERNAL_LOOKUP} CONFIGURE_ARGS+= --enable-external-lookup USE_OPENLDAP= YES .endif .if ${PORT_OPTIONS:MUSER_HOMEDIR} CONFIGURE_ARGS+= --enable-homedir .endif .if ${PORT_OPTIONS:MTRUSTED_USERS} CONFIGURE_ARGS+= --disable-trusted-user-security .endif .if ${PORT_OPTIONS:MVIRT_USERS} CONFIGURE_ARGS+= --enable-virtual-users .endif .if ${PORT_OPTIONS:MLONG_USERNAMES} CONFIGURE_ARGS+= --enable-long-usernames .endif .if ${PORT_OPTIONS:MLARGE_SCALE} CONFIGURE_ARGS+= --enable-large-scale .endif .if ${PORT_OPTIONS:MDOMAIN_SCALE} CONFIGURE_ARGS+= --enable-domain-scale .endif .if ${PORT_OPTIONS:MCYRUS23} RUN_DEPENDS+= ${LOCALBASE}/cyrus/bin/deliver:mail/cyrus-imapd23 CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver' .endif .if ${PORT_OPTIONS:MCYRUS24} RUN_DEPENDS+= ${LOCALBASE}/cyrus/bin/deliver:mail/cyrus-imapd24 CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver' .endif .if ${PORT_OPTIONS:MDOVECOT1} RUN_DEPENDS+= ${LOCALBASE}/libexec/dovecot/deliver:mail/dovecot CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/libexec/dovecot/deliver' .endif .if ${PORT_OPTIONS:MDOVECOT2} RUN_DEPENDS+= ${LOCALBASE}/libexec/dovecot/dovecot-lda:mail/dovecot2 CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/libexec/dovecot/dovecot-lda' .endif .if ${PORT_OPTIONS:MEXIM} . if ${PORT_OPTIONS:MMYSQL} _EXIM_EXT= -mysql . elif ${PORT_OPTIONS:MPGSQL} _EXIM_EXT= -postgresql . endif RUN_DEPENDS+= exim:mail/exim${_EXIM_EXT} CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/sbin/exim' .endif .if ${PORT_OPTIONS:MMAILDROP} RUN_DEPENDS+= maildrop:mail/maildrop CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/maildrop' .endif .if ${PORT_OPTIONS:MPROCMAIL} RUN_DEPENDS+= procmail:mail/procmail CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/bin/procmail' .endif .if ${PORT_OPTIONS:MSAFECAT} RUN_DEPENDS+= safecat:sysutils/safecat CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/safecat tmp new' .endif .if ${PORT_OPTIONS:MSENDMAIL} && exists(/usr/sbin/sendmail) CONFIGURE_ARGS+= --with-delivery-agent=/usr/sbin/sendmail .else .if ${PORT_OPTIONS:MSENDMAIL} && exists(${LOCALBASE}/sbin/sendmail) CONFIGURE_ARGS+= --with-delivery-agent='${LOCALBASE}/sbin/sendmail' . endif .endif .if ${PORT_OPTIONS:MNICESENDMAIL} DSPAM_MODE= 4511 .endif .if ${PORT_OPTIONS:MPOSTFIX_MBC} DSPAM_MODE= 4511 .endif .if ${PORT_OPTIONS:MQMAIL} DSPAM_MODE= 4511 .endif .ifdef(DSPAM_MODE) CONFIGURE_ARGS+= --with-dspam-mode=${DSPAM_MODE} .endif .if ${PORT_OPTIONS:MWEBUI} . if ${PORT_OPTIONS:MLIGHTTPD} RUN_DEPENDS+= ${LOCALBASE}/sbin/lighttpd:www/lighttpd . else USE_APACHE_RUN= 22+ . endif LIB_DEPENDS+= libgd.so:graphics/gd RUN_DEPENDS+= p5-GD>=0:graphics/p5-GD RUN_DEPENDS+= p5-GD-Graph>=0:graphics/p5-GD-Graph RUN_DEPENDS+= p5-GD-Graph3d>=0:graphics/p5-GD-Graph3d RUN_DEPENDS+= p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil CONFIGURE_ARGS+=--enable-logging CONFIGURE_ARGS+=--enable-user-logging PLIST_SUB+= WebUI="" _SED_SCRIPT+= -e 's/%%WebUI%%//g' _SED_SCRIPT+= -e 's,%%WWWDIR%%,${WWWDIR},g' PLIST_SUB+= WWWDIR=${WWWDIR_REL} .else PLIST_SUB+= WebUI="@comment " _SED_SCRIPT+= -e '/%%WebUI%%/D' .endif _DOCS= CHANGELOG LICENSE README README.FreeBSD RELEASE.NOTES UPGRADING _DOCSL= courier.txt exim.txt markov.txt mysql_drv.txt pgsql_drv.txt \ pop3filter.txt postfix.txt qmail.txt relay.txt sendmail.txt \ sqlite_drv.txt pre-everything:: .ifndef(MAINT) @${ECHO_CMD} "" @${ECHO_CMD} "Last ${FILESDIR}/UPDATING entry:" @${ECHO_CMD} "###########################################################################" @${SED} -n < ${FILESDIR}/UPDATING "/^# ${PORTNAME}-${PORTVERSION}/,/^#####/p" @${ECHO_CMD} "" .endif pre-extract: .ifndef(MAINT) @${ECHO_CMD} "" @${ECHO_CMD} "Define vars below before make-ing if you need:" @${ECHO_CMD} "" @${ECHO_CMD} "SIGNATURE_LIFE=${SIGNATURE_LIFE} (default 15)" @${ECHO_CMD} "DSPAM_OWNER=${DSPAM_OWNER} (default: root)" @${ECHO_CMD} "DSPAM_GROUP=${DSPAM_GROUP} (default: mail)" @${ECHO_CMD} "DSPAM_MODE=${DSPAM_MODE}" @${ECHO_CMD} "DSPAM_ETC=${DSPAM_ETC} (default: ${PREFIX}/etc" @${ECHO_CMD} "DSPAM_HOME=${DSPAM_HOME} (default: ${_VAR_DIR}/db/dspam)" @${ECHO_CMD} "DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER}" @${ECHO_CMD} "DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP}" @${ECHO_CMD} "DSPAM_HOME_MODE=${DSPAM_HOME_MODE} (default: 0770)" @${ECHO_CMD} "LOG_DIR=${LOG_DIR} (default: ${_VAR_DIR}/log/dspam)" @${ECHO_CMD} "RUN_DIR=${RUN_DIR} (default: ${_VAR_DIR}/run/dspam)" . ifdef(WITHOUT_SYSLOG) @${ECHO_CMD} "LOGFILE=${LOGFILE} (default: ${_VAR_DIR}/log/dspam/dspam.log)" . endif .if ${PORT_OPTIONS:MWEBUI} @${ECHO_CMD} "Define WWWDIR before making if you need the WebUI files" @${ECHO_CMD} "installed in other place that this installation's default" @${ECHO_CMD} "${WWWDIR}" . endif @${ECHO_CMD} "" .endif post-patch: @${REINPLACE_CMD} -e 's|where @a-14 > to_days(created_on);|where @a-${SIGNATURE_LIFE} > to_days(created_on);|' \ ${WRKSRC}/src/tools.mysql_drv/purge.sql @${REINPLACE_CMD} -e 's|where @a-14 > to_days(created_on);|where @a-${SIGNATURE_LIFE} > to_days(created_on);|' \ ${WRKSRC}/src/tools.mysql_drv/purge-4.1.sql @${REINPLACE_CMD} -e 's|WHERE CURRENT_DATE - created_on > 14;|WHERE CURRENT_DATE - created_on > ${SIGNATURE_LIFE};|' \ ${WRKSRC}/src/tools.pgsql_drv/purge.sql @${REINPLACE_CMD} -e "s|where date('now')-date(created_on) > 14;|where date('now')-date(created_on) > ${SIGNATURE_LIFE};|" \ ${WRKSRC}/src/tools.sqlite_drv/purge-2.sql @${REINPLACE_CMD} -e "s|where julianday('now')-julianday(created_on) > 14;|where julianday('now')-julianday(created_on) > ${SIGNATURE_LIFE};|" \ ${WRKSRC}/src/tools.sqlite_drv/purge-3.sql @${REINPLACE_CMD} -e "s^%%PERL%%^${PERL}^" \ ${WRKSRC}/src/tools/dspam_train.in \ ${WRKSRC}/src/tools/dspam_notify.in pre-configure: .if ${PORT_OPTIONS:MVIRT_USERS} && !( ${PORT_OPTIONS:MMYSQL} || \ ${PORT_OPTIONS:MPGSQL} || ${PORT_OPTIONS:MHASH} ) @${ECHO_CMD} "You need MySQL, POSTGRESQL or HASH for virtual users." @${FALSE} .endif .if ${PORT_OPTIONS:MPREF_EXT} && !( ${PORT_OPTIONS:MMYSQL} || \ ${PORT_OPTIONS:MPGSQL} ) @${ECHO_CMD} "You need MySQL or Postgres for preferences extension" @${FALSE} .endif .if ${PORT_OPTIONS:MDAEMON} && !( ${PORT_OPTIONS:MMYSQL} || \ ${PORT_OPTIONS:MPGSQL} || ${PORT_OPTIONS:MHASH} ) @${ECHO_CMD} "You need MySQL, PostgreSQL or Hash for Daemon mode, because multithreading support is needed" @${FALSE} .endif .if ${PORT_OPTIONS:MEXTERNAL_LOOKUP} && !( ${PORT_OPTIONS:MMYSQL} || \ ${PORT_OPTIONS:MPGSQL} || ${PORT_OPTIONS:MSQLITE*} ) @${ECHO_CMD} "You need MySQL, Postgres or SQLite for EXTERNAL_LOOKUP." @${FALSE} .endif .if ${PORT_OPTIONS:MUSER_HOMEDIR} && ${PORT_OPTIONS:MWEBUI} @${ECHO_CMD} "USER_HOMEDIR and WebUI are incopatible" @${FALSE} .endif .if ${PORT_OPTIONS:MDOMAIN_SCALE} && ${PORT_OPTIONS:MLARGE_SCALE} @${ECHO_CMD} "DOMAIN_SCALE and LARGE_SCALE are incopatible" @${FALSE} .endif .if ${PORT_OPTIONS:MLIGHTTPD} && ! ${PORT_OPTIONS:MWEBUI} @${ECHO_CMD} "There's no reason to depend on LightHTTPD if you're not using WebUI" @${FALSE} .endif post-install: ######## # stupid hack until I figure out where/how to patch @${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig ${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/dspam.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/dspam.pc ${TEST} `ls -1 ${STAGEDIR}${PREFIX}/lib/pkgconfig | wc -l` -eq 0 && \ ${RM} -R ${STAGEDIR}${PREFIX}/lib/pkgconfig || true .if ${PORT_OPTIONS:MEXAMPLES} .if ${PORT_OPTIONS:MMYSQL} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mysql cd ${WRKSRC}/src/tools.mysql_drv && \ ${INSTALL_DATA} mysql_objects-4.1.sql \ mysql_objects-space.sql \ mysql_objects-speed.sql \ purge-4.1.sql purge.sql \ virtual_user_aliases.sql \ virtual_users.sql ${STAGEDIR}${EXAMPLESDIR}/mysql .endif .if ${PORT_OPTIONS:MPGSQL} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/pgsql @cd ${WRKSRC}/src/tools.pgsql_drv && \ ${INSTALL_DATA} *.sql ${STAGEDIR}${EXAMPLESDIR}/pgsql .endif .if ${PORT_OPTIONS:MSQLITE*} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/sqlite cd ${WRKSRC}/src/tools.sqlite_drv && \ ${INSTALL_DATA} *.sql ${STAGEDIR}${EXAMPLESDIR}/sqlite .endif .endif # PORT_OPTIONS:MEXAMPLES .if ${PORT_OPTIONS:MWEBUI} ${MV} ${WRKSRC}/webui/cgi-bin/configure.pl ${WRKSRC}/webui/cgi-bin/configure.pl.sample cd ${WRKSRC}/webui/cgi-bin && ${MKDIR} ${STAGEDIR}${WWWDIR} && \ ${INSTALL_SCRIPT} configure.pl.sample ${STAGEDIR}${WWWDIR}/ && \ ${INSTALL_SCRIPT} *.cgi ${STAGEDIR}${WWWDIR} && \ ${INSTALL_DATA} rgb.txt ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC}/webui/htdocs && \ ${INSTALL_DATA} base.css dspam-logo-small.gif ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC}/webui/cgi-bin && \ ${INSTALL_DATA} default.prefs ${STAGEDIR}${WWWDIR}/default.prefs.sample cd ${WRKSRC}/webui/cgi-bin && \ ${INSTALL_DATA} admins ${STAGEDIR}${WWWDIR}/admins.sample ${MKDIR} ${STAGEDIR}${WWWDIR}/templates && cd ${WRKSRC}/webui/cgi-bin/templates && \ ${INSTALL_DATA} *.html ${STAGEDIR}${WWWDIR}/templates/ && \ ${INSTALL_SCRIPT} strings.pl ${STAGEDIR}${WWWDIR}/templates/ && \ for _dir in de es-es fr he pt-br ro; do \ ${INSTALL_DATA} -d ${STAGEDIR}${WWWDIR}/templates/$${_dir} && \ cd ${WRKSRC}/webui/cgi-bin/templates/$${_dir} && \ ${INSTALL_DATA} *.html ${STAGEDIR}${WWWDIR}/templates/$${_dir}; \ done && \ for _dir in de es-es pt-br; do \ cd ${WRKSRC}/webui/cgi-bin/templates/$${_dir} && \ ${INSTALL_SCRIPT} strings.pl ${STAGEDIR}${WWWDIR}/templates/$${_dir}/; \ done .endif @${SED} ${_SED_SCRIPT} ${.CURDIR}/pkg-message > ${WRKSRC}/README.FreeBSD .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCS} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/doc && ${INSTALL_DATA} ${_DOCSL} ${STAGEDIR}${DOCSDIR} @cd ${FILESDIR} && ${INSTALL_DATA} UPDATING ${STAGEDIR}${DOCSDIR}/UPDATING .endif @${MKDIR} ${STAGEDIR}${DSPAM_HOME} .for _file in firstrun.txt firstspam.txt quarantinefull.txt @if ! ${TEST} -e ${WRKSRC}/txt/${_file}.sample;\ then\ cd ${WRKSRC}/txt && \ ${MV} ${_file} ${_file}.sample;\ fi cd ${WRKSRC}/txt && \ ${INSTALL_DATA} ${_file}.sample ${STAGEDIR}${DSPAM_HOME} .endfor @${MKDIR} ${STAGEDIR}${RUN_DIR} @${MKDIR} ${STAGEDIR}${LOG_DIR} @${CAT} ${WRKSRC}/README.FreeBSD .include Index: head/mail/libpst/Makefile =================================================================== --- head/mail/libpst/Makefile (revision 418828) +++ head/mail/libpst/Makefile (revision 418829) @@ -1,42 +1,43 @@ # Created by: Nate Underwood # $FreeBSD$ PORTNAME= libpst PORTVERSION= 0.6.66 +PORTREVISION= 1 CATEGORIES= mail converters MASTER_SITES= http://www.five-ten-sg.com/libpst/packages/ \ http://fossies.org/unix/privat/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tool for converting Outlook .pst files to mbox and other formats LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgsf-1.so:devel/libgsf OPTIONS_DEFINE= DOCS PST2DII OPTIONS_SUB= yes PST2DII_DESC= Allow Summation Document Image Information output CONFIGURE_ARGS= --disable-python --enable-libpst-shared GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes USES= gmake iconv libtool pathfix pkgconfig PORTDOCS= * PST2DII_BUILD_DEPENDS= convert:graphics/ImageMagick PST2DII_CONFIGURE_OFF= --enable-dii=no PST2DII_CONFIGURE_ON= --enable-dii=yes PST2DII_LIB_DEPENDS= libgd.so:graphics/gd PST2DII_RUN_DEPENDS= convert:graphics/ImageMagick post-patch: @${GREP} -lr malloc.h ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' @${REINPLACE_CMD} -e 's|doc\/@PACKAGE@-@VERSION@|doc\/@PACKAGE@|g' ${WRKSRC}/Makefile.in ${WRKSRC}/html/Makefile.in @${REINPLACE_CMD} -e '/html_DATA =/ s|COPYING ||' ${WRKSRC}/Makefile.in .include Index: head/math/PDL/Makefile =================================================================== --- head/math/PDL/Makefile (revision 418828) +++ head/math/PDL/Makefile (revision 418829) @@ -1,96 +1,97 @@ # Created by: Anton Berezin # $FreeBSD$ PORTNAME= PDL PORTVERSION= 2.015 +PORTREVISION= 1 CATEGORIES= math perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:CHM MAINTAINER= perl@FreeBSD.org COMMENT= Perl Data Language LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-Astro-FITS-Header>=0:astro/p5-Astro-FITS-Header \ p5-Convert-UU>=0:converters/p5-Convert-UU \ p5-File-Map>=0.57:devel/p5-File-Map \ p5-Inline>=0.68:devel/p5-Inline \ p5-Inline-C>=0.62:devel/p5-Inline-C \ p5-Module-Compile>=0.23:devel/p5-Module-Compile RUN_DEPENDS:= ${BUILD_DEPENDS} BUILD_DEPENDS+= p5-Devel-CheckLib>=1.01:devel/p5-Devel-CheckLib TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \ p5-Test-Exception>=0:devel/p5-Test-Exception \ p5-Test-Warn>=0:devel/p5-Test-Warn PORTSCOUT= limit:^[0-9]\.[0-9][0-9]+[0-9\.]*$$ USES= gmake perl5 USE_PERL5= configure MAKE_ENV= PERL5LIB=${WRKSRC}/blib/lib PLIST_FILES= bin/pdl bin/pdl2 bin/pdldoc bin/perldl bin/pptemplate \ ${SITE_ARCH_REL}/Inline/Pdlpp.pm \ ${SITE_ARCH_REL}/Inline/MakePdlppInstallable.pm MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PGPLOT PLPLOT OPENGL GD FFTW GSL HDF PROJ F77 READLINE SINK OPTIONS_DEFAULT=PGPLOT FFTW F77 # graphics/p5-OpenGL require manual building .if empty(PACKAGE_BUILDING) OPTIONS_DEFAULT+= OPENGL .endif PGPLOT_DESC= Enable PDL::Graphics::PGPLOT PLPLOT_DESC= Enable PDL::Graphics::PLplot OPENGL_DESC= Enable PDL::Graphics::TriD and OpenGL GD_DESC= Enable PDL::IO::GD FFTW_DESC= Enable PDL::FFTW GSL_DESC= Enable PDL::GSL interface HDF_DESC= Enable PDL::IO::HDF interface PROJ_DESC= Enable PDL::GIS::Proj interface F77_DESC= Enable PDL::Minuit and PDL::Slatec READLINE_DESC= Use GNU readline SINK_DESC= Include PDL kitchen sink PGPLOT_BUILD_DEPENDS= p5-PGPLOT>=0:graphics/p5-PGPLOT PLPLOT_LIB_DEPENDS= libplplotd.so:math/plplot OPENGL_BUILD_DEPENDS= p5-OpenGL>=0.65:graphics/p5-OpenGL OPENGL_RUN_DEPENDS:= ${OPENGL_BUILD_DEPENDS} OPENGL_USE= gl=yes GD_LIB_DEPENDS= libgd.so:graphics/gd F77_BUILD_DEPENDS= p5-ExtUtils-F77>=0:lang/p5-ExtUtils-F77 FFTW_LIB_DEPENDS= libfftw.so:math/fftw GSL_LIB_DEPENDS= libgsl.so:math/gsl HDF_LIB_DEPENDS= libdf.so:science/hdf PROJ_LIB_DEPENDS= libproj.so:graphics/proj READLINE_RUN_DEPENDS= p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu READLINE_RUN_DEPENDS_OFF= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl SINK_RUN_DEPENDS= ppmtogif:graphics/netpbm \ mpeg_encode:multimedia/mpeg_encode \ saoimage:astro/saoimage post-patch: @${GREP} -lR '#!/.*bin/perl' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|#!/.*bin/perl|#!${PERL}|' -i '' @${GREP} -lR 'x86_64' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|x86_64|amd64|g' -i '' @${REINPLACE_CMD} -e "/POSIX_THREADS_LIBS/ s|undef|'-lpthread'|" \ ${WRKSRC}/perldl.conf # autogen plist post-install: @(cd ${WRKSRC}; ${PERL} -Iblib/lib -Iblib/arch Doc/scantree.pl) @(cd ${WRKSRC}/blib/man3 ; \ ${FIND} *.3 | ${SED} "s,^,${MAN3PREFIX}/man/man3/,;s/3$$/3.gz/" \ >> ${TMPPLIST} ; \ cd ${WRKSRC}/blib/man1 ; \ ${FIND} *.1 | ${SED} "s,^,${MAN1PREFIX}/man/man1/,;s/1$$/1.gz/" \ >> ${TMPPLIST}) @(${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/PDL* -type f | \ ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} ; \ ${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL -type f \ -name "[A-Z]*" | ${SED} "s,^${STAGEDIR}${PREFIX}/,," \ >> ${TMPPLIST}) .include Index: head/math/gnuplot/Makefile =================================================================== --- head/math/gnuplot/Makefile (revision 418828) +++ head/math/gnuplot/Makefile (revision 418829) @@ -1,98 +1,99 @@ # $FreeBSD$ PORTNAME= gnuplot PORTVERSION= 5.0.3 +PORTREVISION= 1 CATEGORIES= math graphics MASTER_SITES= SF MAINTAINER= glewis@FreeBSD.org COMMENT= Command-line driven graphing utility USES= iconv lua pkgconfig readline USE_TEX= kpathsea GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} CONFIGURE_ENV= LUA_VER="${LUA_VER}" CONFIGURE_ARGS+=--with-readline=gnu \ --with-kpsexpand \ --without-linux-vga \ --without-lisp-files \ --without-tutorial \ --with-bitmap-terminals \ --with-gpic \ --with-mif \ --with-latex \ --with-qt=no \ ac_cv_prog_KPSEXPAND=${LOCALBASE}/bin/kpsexpand \ ac_cv_prog_PLAINTEX=${LOCALBASE}/bin/tex \ ac_cv_prog_LATEX=${LOCALBASE}/bin/latex \ ac_cv_prog_PDFLATEX=${LOCALBASE}/bin/pdflatex PORTDOCS= * PORTEXAMPLES= * # MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= CAIRO DOCS EXAMPLES GD GRIDBOX PDF THINSPLINES WX X11 GRIDBOX_DESC= Use the gridbox optimization for hidden3d THINSPLINES_DESC= Enable thin plate splines for grids in dgrid3d WX_DESC= wxWidgets (formerly wxWindows) support OPTIONS_DEFAULT=CAIRO GD WX X11 OPTIONS_SUB= yes CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_USE= GNOME=pango CAIRO_CONFIGURE_WITH= cairo GD_LIB_DEPENDS= libgd.so:graphics/gd GD_CONFIGURE_ON= --with-gd=${LOCALBASE} GD_CONFIGURE_OFF+= --without-gd GRIDBOX_CONFIGURE_OFF= --disable-h3d-quadtree --enable-h3d-gridbox PDF_LIB_DEPENDS= libpdf.so:print/pdflib PDF_CONFIGURE_ON= --with-pdf=${LOCALBASE} PDF_CONFIGURE_OFF= --without-pdf THINSPLINES_CONFIGURE_ENABLE= thin-splines X11_USE= XORG=x11 .include .if ${PORT_OPTIONS:MWX} # Version 3.x of WX currently cause gnuplot to crash. # Do not update without this without testing. USE_WX= 2.8 WX_CONF_ARGS= absolute .else CONFIGURE_ARGS+= --disable-wxwidgets .endif post-patch: @${REINPLACE_CMD} -e \ '/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in @${REINPLACE_CMD} -e \ 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e \ 's|luaL_checkint(|(int)luaL_checkinteger(|' ${WRKSRC}/term/lua.trm .if ${PORT_OPTIONS:MDOCS} post-build: @cd ${WRKSRC}/docs && ${MAKE} groff .endif post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR}/psdoc cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \ gnuplot.ps ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} README ps_* ${STAGEDIR}${DOCSDIR}/psdoc .endif check test: build @( cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check ; ) .include Index: head/math/ploticus/Makefile =================================================================== --- head/math/ploticus/Makefile (revision 418828) +++ head/math/ploticus/Makefile (revision 418829) @@ -1,57 +1,57 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= ploticus PORTVERSION= 2.40 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= math MASTER_SITES= SF DISTNAME= pl${PORTVERSION:S/.//}src MAINTAINER?= linimon@FreeBSD.org COMMENT?= Generates plots and graphs from data LIB_DEPENDS= libgd.so:graphics/gd \ libming.so:graphics/ming \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 USES= jpeg BUILD_WRKSRC= ${WRKSRC}/src FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}" \ LOCALEOBJ="localef.o" LOCALE_FLAG="-DLOCALE" \ MING="-L${LOCALBASE}/lib -lming" \ MINGH="-I${LOCALBASE}/include/ming" NOSWFFLAG="" \ GD18LIBS="`${FREETYPE_CONFIG} --libs` \ -L${LOCALBASE}/lib -lgd -lpng -lz -ljpeg" \ GD18H="`${FREETYPE_CONFIG} --cflags` \ -L${LOCALBASE}/include" \ GDFREETYPE="-DGDFREETYPE" PREFABS_DIR="${DATADIR}" ALL_TARGET= plgd18 .ifdef (WITHOUT_X11) MAKE_ARGS+= NOX11=-DNOX11 XLIBS= XOBJ= PKGNAMESUFFIX= -nox11 .else USE_XORG= xpm .endif post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \ ${BUILD_WRKSRC}/Makefile ${BUILD_WRKSRC}/mkapi do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/pl ${STAGEDIR}${PREFIX}/bin/ploticus @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/prefabs && ${FIND} . | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/man/man1/pl.1 ${STAGEDIR}${MANPREFIX}/man/man1/ploticus.1 ${INSTALL_MAN} ${WRKSRC}/man/man3/libploticus.3 ${STAGEDIR}${MANPREFIX}/man/man3 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/pltestsuite && ${FIND} . \! -name "*.orig" | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/math/plplot/Makefile =================================================================== --- head/math/plplot/Makefile (revision 418828) +++ head/math/plplot/Makefile (revision 418829) @@ -1,124 +1,124 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= plplot PORTVERSION= 5.11.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math science MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source MAINTAINER= woodsb02@FreeBSD.org COMMENT= Scientific plotting package LICENSE= LGPL21+ BUILD_DEPENDS= bash:shells/bash \ ${FREEFONT_DIR}/FreeMono.ttf:x11-fonts/freefont-ttf LIB_DEPENDS= libLASi.so:devel/lasi \ libltdl.so:devel/libltdl \ libfreetype.so:print/freetype2 RUN_DEPENDS= bash:shells/bash \ ${FREEFONT_DIR}/FreeMono.ttf:x11-fonts/freefont-ttf USE_GNOME= pango USE_PERL5= build USES= cmake ghostscript gmake localbase perl5 pathfix pkgconfig CMAKE_ARGS= -DENABLE_java:BOOL=OFF \ -DENABLE_octave:BOOL=OFF \ -DENABLE_pdl:BOOL=OFF \ -DENABLE_ada:BOOL=OFF \ -DENABLE_d:BOOL=OFF \ -DENABLE_ocaml:BOOL=OFF \ -DENABLE_pyqt4:BOOL=OFF \ -DPL_FREETYPE_FONT_PATH:PATH="${FREEFONT_DIR}" \ -DCMAKE_INSTALL_PKG_CONFIG_DIR:PATH="${PREFIX}/libdata/pkgconfig" \ -DPLD_plmeta:BOOL=OFF CFLAGS+= -D_IS_BUILDING_PLPLOT_PORT_ USE_LDCONFIG= yes FREEFONT_DIR= ${LOCALBASE}/share/fonts/freefont-ttf OPTIONS_DEFINE= FORTRAN GD LUA PYTHON QT4 TCLTK THREADS WXGTK X11 DOCS OPTIONS_RADIO= QHULL OPTIONS_RADIO_QHULL= QHULL2012 QHULL2003 OPTIONS_DEFAULT= QHULL2012 THREADS X11 OPTIONS_SUB= yes FORTRAN_USES= fortran FORTRAN_CONFIGURE_ENV= CMAKE_Fortran_COMPILER="${FC}" FORTRAN_CMAKE_ON= -DENABLE_f95:BOOL=ON FORTRAN_CMAKE_OFF= -DENABLE_f95:BOOL=OFF GD_LIB_DEPENDS= libgd.so:graphics/gd GD_CMAKE_ON= -DPLD_png:BOOL=ON LUA_USES= lua:51 LUA_CMAKE_ON= -DLUA_EXECUTABLE:FILEPATH="${LUA_CMD}" LUA_CMAKE_OFF= -DENABLE_lua:BOOL=OFF PYTHON_USES= python PYTHON_BUILD_DEPENDS= swig:devel/swig13 \ ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_CONFIGURE_ENV= PYTHON_VERSION="${PYTHON_VERSION}" PYTHON_CMAKE_OFF= -DENABLE_python:BOOL=OFF QHULL2003_DESC= Legacy Qhull support QHULL2012_DESC= Latest Qhull support QHULL2012_LIB_DEPENDS= libqhull.so.6:math/qhull QHULL2003_LIB_DEPENDS= libqhull.so.5:math/qhull5 QHULL2012_CMAKE_ON= -DQHULL_INCLUDE_DIRS="${LOCALBASE}/include/libqhull" QHULL2012_2FIX= lib/nn/delaunay.c src/plgridd.c TCLTK_LIB_DEPENDS= libitk.so:x11-toolkits/itk TCLTK_RUN_DEPENDS= iwidgets>0:x11-toolkits/iwidgets TCLTK_USES= tk ITCL_VER= 3.4 ITK_VER= 3.3 IWIDGETS_VER= 4.0.1 TCLTK_CMAKE_ON= -DPLPLOT_TK_VERSION="${TK_VER}" \ -DPLPLOT_ITCL_VERSION="${ITCL_VER}" \ -DPLPLOT_ITK_VERSION="${ITK_VER}" \ -DIWIDGETS_VERSIONS_LIST:STRING="${IWIDGETS_VER};${ITK_VER};${ITCL_VER}" \ -DTCL_TCLSH:FILEPATH="${TCLSH}" \ -DTCL_INCLUDE_PATH:PATH="${TCL_INCLUDEDIR}" \ -DITCL_INCLUDE_PATH:PATH="${LOCALBASE}/include/itcl${ITCL_VER}" \ -DITCL_LIBRARY:FILEPATH="${LOCALBASE}/lib/libitcl.so" \ -DTK_INCLUDE_PATH:PATH="${TK_INCLUDEDIR}" \ -DITK_INCLUDE_PATH:PATH="${LOCALBASE}/include/itk${ITK_VER}" \ -DITK_LIBRARY:FILEPATH="${LOCALBASE}/lib/libitk.so" TCLTK_CMAKE_OFF= -DENABLE_tcl:BOOL=OFF THREADS_CMAKE_OFF= -DTHREADS_HAVE_PTHREAD_ARG:BOOL=OFF QT4_USE= QT4=corelib,gui,svg,xml,moc_build,qmake_build,rcc_build,uic_build QT4_CMAKE_OFF= -DENABLE_qt:BOOL=OFF -DDEFAULT_NO_QT_DEVICES:BOOL=ON WXGTK_LIB_DEPENDS= libagg.so:graphics/agg WXGTK_USE= WX=2.6+ WXGTK_CMAKE_ON= -DwxWidgets_CONFIG_EXECUTABLE:FILEPATH="${WX_CONFIG}" WXGTK_CMAKE_OFF= -DENABLE_wxwidgets:BOOL=OFF X11_USE= XORG=ice,sm,x11,xext X11_CMAKE_OFF= -DPLD_xcairo:BOOL=OFF -DPLD_xwin:BOOL=OFF .include .if ${PORT_OPTIONS:MTCLTK} && empty(PORT_OPTIONS:MX11) IGNORE= option TCLTK needs X11 support .endif pre-configure: ${REINPLACE_CMD} -e \ 's|dl dlopen|c dlopen|' \ ${WRKSRC}/cmake/modules/FindLTDL.cmake ${GREP} -lR "/usr/local" ${WRKSRC}/cmake/modules | ${XARGS} \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' .if ${PORT_OPTIONS:MQHULL2012} . for src in ${QHULL2012_2FIX} ${REINPLACE_CMD} -e 's|qhull/qhull_a|libqhull/qhull_a|' \ ${WRKSRC}/${src} . endfor .endif .include Index: head/multimedia/kissdx/Makefile =================================================================== --- head/multimedia/kissdx/Makefile (revision 418828) +++ head/multimedia/kissdx/Makefile (revision 418829) @@ -1,60 +1,60 @@ # Created by: Simon Riget # $FreeBSD$ PORTNAME= kissdx PORTVERSION= 0.13.10a -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= multimedia net MASTER_SITES= http://paragi.dk/kiss/ MAINTAINER= ports@FreeBSD.org COMMENT= Multimedia streaming server for KiSS/Linksys player LICENSE= GPLv2 BROKEN_powerpc64= Does not build LIB_DEPENDS= libgd.so:graphics/gd \ libdvdread.so:multimedia/libdvdread USES= compiler:nestedfct dos2unix iconv jpeg MAKE_ENV= FreeBSD=defined USE_RC_SUBR= kissdx SUB_FILES= pkg-message PORTDOCS= README PLIST_FILES= etc/kissdx.conf man/man1/kissdx.1.gz \ sbin/kissd-posttrigger sbin/kissd-pretrigger sbin/kissdx OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|Linux|Unix| ; \ s|/etc/|${PREFIX}&|' ${WRKSRC}/kissdx.1 @${REINPLACE_CMD} -e \ 's|/etc/|${PREFIX}&|' ${WRKSRC}/config.c # Fix parallel (-jX) builds: sanitize dependencies @${REINPLACE_CMD} -e \ 's|-liconv|${ICONV_LIB}| ; \ s|^\.o :|${PORTNAME}: $$(OBJS)| ; \ /^all:/s| $$(OBJS)||' ${WRKSRC}/Makefile pre-build: @${RM} -f ${WRKSRC}/kissdx.o do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} kissdx \ ${STAGEDIR}${PREFIX}/sbin) (cd ${WRKSRC} && ${INSTALL_SCRIPT} kissd-pretrigger kissd-posttrigger \ ${STAGEDIR}${PREFIX}/sbin) (cd ${WRKSRC} && ${INSTALL_MAN} kissdx.1 \ ${STAGEDIR}${MANPREFIX}/man/man1) (cd ${WRKSRC} && ${INSTALL_DATA} kissdx.conf \ ${STAGEDIR}${PREFIX}/etc) @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} README \ ${STAGEDIR}${DOCSDIR}) .include Index: head/multimedia/oggvideotools/Makefile =================================================================== --- head/multimedia/oggvideotools/Makefile (revision 418828) +++ head/multimedia/oggvideotools/Makefile (revision 418829) @@ -1,31 +1,32 @@ # Created by: Jille Timmermans (jille@quis.cx) # $FreeBSD$ PORTNAME= oggvideotools PORTVERSION= 0.9 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Toolbox for manipulating Ogg video files LICENSE= GPLv2+ LIB_DEPENDS= libgd.so:graphics/gd \ libogg.so:audio/libogg \ libtheora.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis USES= cmake compiler:c++11-lib pkgconfig USE_CXXSTD= c++11 USE_SDL= sdl USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e \ 's|-O0.*-fPIC|-fPIC|' ${WRKSRC}/CMakeLists.txt .include Index: head/net/vnstat/Makefile =================================================================== --- head/net/vnstat/Makefile (revision 418828) +++ head/net/vnstat/Makefile (revision 418829) @@ -1,72 +1,72 @@ # Created by: Dennis Herrmann # $FreeBSD$ PORTNAME= vnstat PORTVERSION= 1.14 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://humdi.net/vnstat/ \ http://mirror.mcx2.org/ MAINTAINER= feld@FreeBSD.org COMMENT= Console-based network traffic monitor LICENSE= GPLv2 MAKE_ARGS= CC="${CC}" CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" INSTALL_TARGET= bsdinstall USE_RC_SUBR= vnstat USES= gmake USERS= vnstat GROUPS= vnstat BIN_BSD= ${PREFIX}/bin SBIN_BSD= ${PREFIX}/sbin MAN_BSD= ${MANDIRS} ETC_BSD= ${PREFIX}/etc PORTDOCS= README INSTALL_BSD UPGRADE SUB_FILES= pkg-message SUB_LIST= USERS=${USERS} \ GROUPS=${GROUPS} # will compile with image output OPTIONS_DEFINE= GUI DOCS OPTIONS_DEFAULT= GUI GUI_DESC= Build with graphics/gd dependency .include .if ${PORT_OPTIONS:MGUI} LIB_DEPENDS+= libgd.so:graphics/gd PLIST_SUB+= GUI="" .else ALL_TARGET="vnstat" PLIST_SUB+= GUI="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \ ${WRKSRC}/src/cfg.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/vnstat ${STAGEDIR}/${PREFIX}/bin/vnstat ${INSTALL_PROGRAM} ${WRKSRC}/src/vnstatd ${STAGEDIR}/${PREFIX}/sbin/vnstatd ${INSTALL_DATA} ${WRKSRC}/cfg/vnstat.conf ${STAGEDIR}/${PREFIX}/etc/vnstat.conf.sample ${INSTALL_MAN} ${WRKSRC}/man/vnstat.1 ${STAGEDIR}/${MANPREFIX}/man/man1/vnstat.1 ${INSTALL_MAN} ${WRKSRC}/man/vnstatd.1 ${STAGEDIR}/${MANPREFIX}/man/man1/vnstatd.1 ${INSTALL_MAN} ${WRKSRC}/man/vnstat.conf.5 ${STAGEDIR}/${MANPREFIX}/man/man5/vnstat.conf.5 .if ${PORT_OPTIONS:MGUI} ${INSTALL_PROGRAM} ${WRKSRC}/src/vnstati ${STAGEDIR}/${PREFIX}/bin/vnstati ${INSTALL_MAN} ${WRKSRC}/man/vnstati.1 ${STAGEDIR}/${MANPREFIX}/man/man1/vnstati.1 .endif post-install-DOCS-on: @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" @${MKDIR} ${STAGEDIR}/${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}/${DOCSDIR} .include Index: head/net-mgmt/bandwidthd/Makefile =================================================================== --- head/net-mgmt/bandwidthd/Makefile (revision 418828) +++ head/net-mgmt/bandwidthd/Makefile (revision 418829) @@ -1,38 +1,38 @@ # Created by: Clement Laforet # $FreeBSD$ PORTNAME= bandwidthd PORTVERSION= 2.0.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tracks bandwidth usage by IP address LICENSE= GPLv2 LIB_DEPENDS= libgd.so:graphics/gd SUB_FILES= bandwidthd USE_CSTD= gnu89 GNU_CONFIGURE= YES CONFIGURE_ARGS= ac_cv_lib_iconv_libiconv_open=no \ ac_cv_lib_m_pow=no \ ac_cv_lib_png_png_read_info=no \ ac_cv_lib_pq_PQconnectdb=no USES= gmake tar:tgz post-patch: ${REINPLACE_CMD} -e '/requires.*libpng/,/exit/d' \ ${WRKSRC}/configure post-install: ${INSTALL_SCRIPT} ${WRKDIR}/bandwidthd \ ${STAGEDIR}${PREFIX}/etc/rc.d ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/net-mgmt/icinga-classicweb/Makefile =================================================================== --- head/net-mgmt/icinga-classicweb/Makefile (revision 418828) +++ head/net-mgmt/icinga-classicweb/Makefile (revision 418829) @@ -1,30 +1,30 @@ # $FreeBSD$ PORTNAME= icinga-classicweb -PORTREVISION= 1 +PORTREVISION= 2 DISTNAME= icinga-${PORTVERSION} MAINTAINER= lme@FreeBSD.org COMMENT= Classic web interface for Icinga 1 and 2 .include "${.CURDIR}/../icinga-core/Makefile.common" LIB_DEPENDS+= libgd.so:graphics/gd CONFIGURE_ARGS+=--disable-idoutils CFLAGS+= -I${LOCALBASE}/include ALL_TARGET= classicui-standalone INSTALL_TARGET= install-classicui-standalone install-classicui-standalone-conf post-patch: @${REINPLACE_CMD} -e 's#775#755#g; s#664#644#g' \ ${WRKSRC}/html/Makefile.in # Use correct make(1) syntax to unbreak parallel builds @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ -E 's#cd (.+) && (make|\$$\(MAKE\))#$$(MAKE) -C \1#' post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${ICINGAWWWDIR}/ssi .include Index: head/net-mgmt/mrtg/Makefile =================================================================== --- head/net-mgmt/mrtg/Makefile (revision 418828) +++ head/net-mgmt/mrtg/Makefile (revision 418829) @@ -1,102 +1,102 @@ # Created by: James FitzGibbon # $FreeBSD$ PORTNAME= mrtg PORTVERSION= 2.17.4 -PORTREVISION= 6 +PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= net-mgmt ipv6 MASTER_SITES= http://oss.oetiker.ch/mrtg/pub/ \ ftp://ftp.idilis.ro/mirrors/mrtg/ \ ftp://ftp.nstu.ru/pub/sources/nettools/monitoring/ \ ftp://ftp.chg.ru/pub/networking/monitoring/mrtg/ MAINTAINER= ports@subnets.ru COMMENT= Multi-router traffic grapher LIB_DEPENDS= libgd.so:${GD_PORT} RUN_DEPENDS= p5-SNMP_Session>=0:net-mgmt/p5-SNMP_Session # slave ports override with languages specific gd GD_PORT?= graphics/gd CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \ --with-gd-inc=${LOCALBASE}/include USERS= mrtg GROUPS= mrtg USES= perl5 shebangfix MAKE_ENV+= PERL=${PERL} MRTG_RUNDIR?= /var/run/mrtg SHEBANG_FILES= bin/mrtg-traffic-sum USE_RC_SUBR= mrtg_daemon SUB_FILES= pkg-deinstall pkg-install pkg-message SUB_LIST= PERL=${PERL} \ MRTG_RUNDIR=${MRTG_RUNDIR} \ USERS=${USERS} \ GROUPS=${GROUPS} PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-deinstall GNU_CONFIGURE= YES CONFIGURE_ENV= PERL=${PERL} MANPAGE= cfgmaker.1 indexmaker.1 mrtg-contrib.1 mrtg-faq.1 mrtg-forum.1 \ mrtg-ipv6.1 mrtg-logfile.1 mrtg-mibhelp.1 mrtg-nt-guide.1 \ mrtg-nw-guide.1 mrtg-reference.1 mrtg-rrd.1 mrtg-squid.1 \ mrtg-unix-guide.1 mrtg-webserver.1 mrtg.1 mrtglib.1 DOCS= CHANGES COPYRIGHT MANIFEST README EXAMPLES= cfgmaker.pod indexmaker.pod mrtg-contrib.pod mrtg-faq.pod \ mrtg-forum.pod mrtg-ipv6.pod mrtg-logfile.pod mrtg-mibhelp.pod \ mrtg-nt-guide.pod mrtg-nw-guide.pod mrtg-reference.pod \ mrtg-rrd.pod mrtg-squid.pod mrtg-unix-guide.pod mrtg.pod \ mrtg-webserver.pod mrtglib.pod cfgmaker.txt indexmaker.txt \ mrtg-contrib.txt mrtg-faq.txt mrtg-forum.txt mrtg-ipv6.txt \ mrtg-logfile.txt mrtg-mibhelp.txt mrtg-nt-guide.txt \ mrtg-nw-guide.txt mrtg-reference.txt mrtg-rrd.txt \ mrtg-squid.txt mrtg-unix-guide.txt mrtg-webserver.txt \ mrtg.txt mrtglib.txt mrtg-l.png mrtg-m.png mrtg-r.png \ mrtg-ti.png mrtg-l.gif mrtg-m.gif mrtg-r.gif IMAGES= favicon.ico mrtg-l.gif mrtg-l.png mrtg-m.gif mrtg-m.png \ mrtg-r.gif mrtg-r.png mrtg-ti.gif mrtg-ti.png SCRIPTS= cfgmaker indexmaker mrtg mrtg-traffic-sum OPTIONS_DEFINE= DOCS EXAMPLES IPV6 SNMPV3 IPV6_RUN_DEPENDS= p5-IO-Socket-INET6>=0:net/p5-IO-Socket-INET6 SNMPV3_RUN_DEPENDS= p5-Net-SNMP>=0:net-mgmt/p5-Net-SNMP PORTDOCS= * PORTEXAMPLES= * post-extract: @${FIND} ${WRKSRC} -type f -name "*.orig" -delete post-patch: @${RM} ${WRKSRC}/lib/mrtg2/BER.pm ${WRKSRC}/lib/mrtg2/SNMP_*.pm do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${EXAMPLESDIR}/doc \ ${STAGEDIR}${EXAMPLESDIR}/images \ ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}${PREFIX}/${SITE_PERL_REL} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/doc/,} \ ${STAGEDIR}${EXAMPLESDIR}/doc/ ${INSTALL_DATA} ${IMAGES:S,^,${WRKSRC}/images/,} \ ${STAGEDIR}${EXAMPLESDIR}/images/ ${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg \ ${STAGEDIR}${ETCDIR}/mrtg.cfg.sample ${INSTALL_DATA} ${MANPAGE:S,^,${WRKSRC}/doc/,} \ ${STAGEDIR}${PREFIX}/man/man1 cd ${WRKSRC}/lib/mrtg2 && \ ${COPYTREE_SHARE} "*.pm" ${STAGEDIR}${PREFIX}/${SITE_PERL_REL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/bin/,} \ ${STAGEDIR}${PREFIX}/bin .include Index: head/net-mgmt/nagios/Makefile =================================================================== --- head/net-mgmt/nagios/Makefile (revision 418828) +++ head/net-mgmt/nagios/Makefile (revision 418829) @@ -1,111 +1,111 @@ # Created by: Blaz Zupan # $FreeBSD$ PORTNAME= nagios PORTVERSION= 3.5.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION} MAINTAINER= mat@FreeBSD.org COMMENT= Powerful network monitoring system LICENSE= GPLv2 LIB_DEPENDS= libltdl.so:devel/libltdl \ libgd.so:graphics/gd PORTSCOUT= limit:^3. USES= cpe perl5 php USE_PERL5= build USE_RC_SUBR= nagios CONFLICTS= nagios-[12].* nagios-devel-* nagios4-* GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \ --with-command-group=${WWWGRP} \ --with-nagios-user=${NAGIOSUSER} \ --with-nagios-group=${NAGIOSGROUP} \ --with-htmurl=${NAGIOSHTMURL} \ --with-cgiurl=${NAGIOSCGIURL} \ --sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \ --libexecdir=${PREFIX}/libexec/nagios \ --datadir=${PREFIX}/${NAGIOSWWWDIR} \ --sysconfdir=${PREFIX}/etc/nagios \ --localstatedir=${NAGIOSDIR} \ --with-httpd-conf=${PREFIX}/etc \ --with-checkresult-dir=${NAGIOSDIR}/checkresults \ --disable-statuswrl \ ac_cv_lib_iconv_main=no CONFIGURE_ENV= PERL=${PERL} CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= ${CPPFLAGS} LIBS+= -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install install-commandmode install-config PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \ NAGIOSWWWDIR=${NAGIOSWWWDIR} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} \ WWWGRP=${WWWGRP} SUB_FILES= pkg-message # XXX: Don't remove PREFIX from SUB_LIST here. SUB_LIST= PREFIX=${PREFIX} \ NAGIOSHTMURL=${NAGIOSHTMURL} \ NAGIOSCGIURL=${NAGIOSCGIURL} \ ${PLIST_SUB} NAGIOSUSER?= nagios NAGIOSGROUP?= nagios NAGIOSDIR?= /var/spool/nagios NAGIOSWWWDIR?= www/nagios NAGIOSHTMURL?= /nagios NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin USERS= ${NAGIOSUSER} GROUPS= ${NAGIOSGROUP} OPTIONS_DEFINE= EMBEDDED_PERL NANOSLEEP EVENT_BROKER UNHANDLED_HACK OPTIONS_RADIO= PLUGINS OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS OPTIONS_DEFAULT= NAGPLUGINS EMBEDDED_PERL_DESC= Enable embedded Perl [requires Perl 5.8.0+] NANOSLEEP_DESC= Use nanosleep in event timing EVENT_BROKER_DESC= Enable event broker functionality UNHANDLED_HACK_DESC= Display passive checks in unhandled queries MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins OPTIONS_SUB= EMBEDDED_PERL_USE= perl5=run EMBEDDED_PERL_CONFIGURE_ENABLE= embedded-perl EMBEDDED_PERL_CONFIGURE_WITH= perlcache NANOSLEEP_CONFIGURE_ENABLE= nanosleep EVENT_BROKER_CONFIGURE_ENABLE= event-broker post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} .include post-patch: @${REINPLACE_CMD} '/^INSTALL_OPTS=/d' ${WRKSRC}/configure .if ${PORT_OPTIONS:MUNHANDLED_HACK} @${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' \ -e 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php .endif post-install: @${MV} ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php.sample .include Index: head/net-mgmt/nagios4/Makefile =================================================================== --- head/net-mgmt/nagios4/Makefile (revision 418828) +++ head/net-mgmt/nagios4/Makefile (revision 418829) @@ -1,107 +1,107 @@ # Created by: Blaz Zupan # $FreeBSD$ PORTNAME= nagios PORTVERSION= 4.1.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-4.x/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= 4 MAINTAINER= mat@FreeBSD.org COMMENT= Powerful network monitoring system LICENSE= GPLv2 BROKEN_powerpc64= Does not build LIB_DEPENDS= libltdl.so:devel/libltdl \ libgd.so:graphics/gd USES= cpe gmake perl5 USE_PERL5= build USE_PHP= xml USE_RC_SUBR= nagios CONFLICTS= nagios-[123].* nagios-devel-* GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \ --with-command-group=${WWWGRP} \ --with-nagios-user=${NAGIOSUSER} \ --with-nagios-group=${NAGIOSGROUP} \ --with-htmurl=${NAGIOSHTMURL} \ --with-cgiurl=${NAGIOSCGIURL} \ --sbindir=${WWWDIR}/cgi-bin \ --libexecdir=${PREFIX}/libexec/nagios \ --datadir=${WWWDIR} \ --sysconfdir=${PREFIX}/etc/nagios \ --localstatedir=${NAGIOSDIR} \ --with-httpd-conf=${PREFIX}/etc \ --with-checkresult-dir=${NAGIOSDIR}/checkresults \ --disable-statuswrl \ --enable-event-broker \ ac_cv_lib_iconv_main=no CONFIGURE_ENV= PERL=${PERL} CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= ${CPPFLAGS} LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install install-commandmode install-config PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} \ WWWGRP=${WWWGRP} SUB_LIST= NAGIOSDIR=${NAGIOSDIR} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} \ NAGIOSHTMURL=${NAGIOSHTMURL} \ NAGIOSCGIURL=${NAGIOSCGIURL} SUB_FILES= pkg-message NAGIOSUSER?= nagios NAGIOSGROUP?= nagios NAGIOSDIR?= /var/spool/nagios .if defined(NAGIOSWWWDIR) WWWDIR= ${PREFIX}/${NAGIOSWWWDIR} .endif NAGIOSHTMURL?= /nagios NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin USERS= ${NAGIOSUSER} GROUPS= ${NAGIOSGROUP} OPTIONS_DEFINE= NANOSLEEP UNHANDLED_HACK OPTIONS_RADIO= PLUGINS OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS OPTIONS_DEFAULT= NAGPLUGINS NANOSLEEP_DESC= Use nanosleep in event timing UNHANDLED_HACK_DESC= Display passive checks in unhandled queries MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins OPTIONS_SUB= NANOSLEEP_CONFIGURE_ENABLE= nanosleep .if !defined(MAKING_PATCHES) # make clean patch makepatch MAKING_PATCHES= post-patch: ${REINPLACE_CMD} -e 's/\<77\([0-7]\)\>/75\1/g; s/\<66\([0-7]\)\>/64\1/; /chmod/d; \ /\.cfg$$/s/$$/-sample/' \ ${WRKSRC}/Makefile.in ${WRKSRC}/base/Makefile.in ${WRKSRC}/cgi/Makefile.in ${WRKSRC}/contrib/Makefile.in ${WRKSRC}/html/Makefile.in post-patch-UNHANDLED_HACK-on: ${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' -e \ 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php .endif post-install: @${RMDIR} ${STAGEDIR}${PREFIX}/libexec/nagios @${MV} ${STAGEDIR}${WWWDIR}/config.inc.php ${STAGEDIR}${WWWDIR}/config.inc.php.sample .include Index: head/net-p2p/amule/Makefile =================================================================== --- head/net-p2p/amule/Makefile (revision 418828) +++ head/net-p2p/amule/Makefile (revision 418829) @@ -1,136 +1,136 @@ # Created by: Ganael LAPLANCHE # $FreeBSD$ PORTNAME= amule PORTVERSION= 2.3.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/aMule/${PORTVERSION} DISTNAME= aMule-${PORTVERSION} MAINTAINER= bar@FreeBSD.org COMMENT= All-platform eMule p2p client LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libcryptopp.so:security/cryptopp CONFLICTS= amule-devel-[0-9]* USES= bison desktop-file-utils gmake perl5 pkgconfig shebangfix \ tar:bzip2 USE_PERL5= build USE_WX= 2.8 WX_CONF_ARGS= absolute GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-denoise-level=0 CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \ docdir='$${prefix}/${DOCSDIR_REL}' CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib OPTIONS_DEFINE= ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS DEBUG DOCS ED2K \ FILEVIEW GEOIP MMAP MONOLITHIC NLS PLASMAMULE UPNP \ WEBSERVER WXCAS XAS ALC_DESC= Compile aMule Link Creator for GUI ALCC_DESC= Compile aMule Link Creator for console AMULECMD_DESC= Compile aMule command line client AMULEDAEMON_DESC= Compile aMule daemon version AMULEGUI_DESC= Compile aMule remote GUI CAS_DESC= Compile aMule Statistics for console ED2K_DESC= Compile aMule ed2k links handler FILEVIEW_DESC= Compile file viewer for console (EXPERIMENTAL) MMAP_DESC= Use mapped memory MONOLITHIC_DESC= Compile monolithic aMule PLASMAMULE_DESC= Compile aMule plasma applet and engine WXCAS_DESC= Compile aMule Statistics for GUI XAS_DESC= Install XChat2 plugin OPTIONS_DEFAULT=ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS ED2K \ FILEVIEW MONOLITHIC WEBSERVER WXCAS XAS OPTIONS_SUB= yes SHEBANG_FILES= src/utils/scripts/*.pl src/utils/xas/*.pl src/libs/ec/*.pl LICENSE_FILE_GPLv2=${WRKSRC}/docs/COPYING DEBUG_CONFIGURE_ON= --enable-debug NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls ALC_CONFIGURE_ON= --enable-alc ALCC_CONFIGURE_ON= --enable-alcc AMULECMD_CONFIGURE_ON= --enable-amulecmd AMULEDAEMON_CONFIGURE_ON= --enable-amule-daemon AMULEDAEMON_USE= RC_SUBR=amuled AMULEGUI_CONFIGURE_ON= --enable-amule-gui CAS_CONFIGURE_ON= --enable-cas CAS_LIB_DEPENDS= libgd.so:graphics/gd ED2K_CONFIGURE_OFF= --disable-ed2k FILEVIEW_CONFIGURE_ON= --enable-fileview GEOIP_CONFIGURE_ON= --enable-geoip GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP MMAP_CONFIGURE_ON= --enable-mmap MONOLITHIC_CONFIGURE_OFF= --disable-monolithic PLASMAMULE_CONFIGURE_ON= --enable-plasmamule PLASMAMULE_USE= KDE4=kdelibs QT4=dbus,gui,moc_build PLASMAMULE_CONFIGURE_ENV= \ ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config \ KBUILDSYCOCA=${KDE4_PREFIX}/bin/kbuildsycoca4 \ UPDATE_MIME_DATABASE=/usr/bin/true UPNP_LIB_DEPENDS= libupnp.so:devel/upnp UPNP_CONFIGURE_OFF= --disable-upnp WEBSERVER_CONFIGURE_ON= --enable-webserver WXCAS_CONFIGURE_ON= --enable-wxcas XAS_CONFIGURE_ON= --enable-xas XAS_USE= PERL5+=run .include .if ${ARCH} == "i386" && ( ${OSVERSION} >= 1000024 || ${CXX:T} == "clang++" ) CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM .endif .if ${PORT_OPTIONS:MED2K} CONFLICTS+= ed2k-hash* .endif post-patch: .SILENT ${REINPLACE_CMD} -e 's/test.*-print-file-name.*`/true/' \ -e '/if.*test/s/==/=/' \ ${WRKSRC}/configure .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \ ${WRKSRC}/docs/Makefile.in .endif .if ${PORT_OPTIONS:MPLASMAMULE} ${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \ -e 's|LDFLAGS =|& -L${KDE4_PREFIX}/lib |' \ ${WRKSRC}/src/utils/plasmamule/Makefile.in .endif post-install: .if ${PORT_OPTIONS:MFILEVIEW} ${INSTALL_PROGRAM} ${WRKSRC}/src/utils/fileview/mulefileview ${STAGEDIR}${PREFIX}/bin .endif .include Index: head/net-p2p/amule-devel/Makefile =================================================================== --- head/net-p2p/amule-devel/Makefile (revision 418828) +++ head/net-p2p/amule-devel/Makefile (revision 418829) @@ -1,141 +1,142 @@ # Created by: Ganael LAPLANCHE # $FreeBSD$ PORTNAME= amule PORTVERSION= 10933 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= http://amule.sourceforge.net/tarballs/ PKGNAMESUFFIX= -devel DISTNAME= aMule-SVN-r${PORTVERSION} MAINTAINER= bar@FreeBSD.org COMMENT= All-platform eMule p2p client LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libcryptopp.so:security/cryptopp CONFLICTS= amule-[0-9]* USES= bison desktop-file-utils gmake perl5 pkgconfig shebangfix \ tar:bzip2 USE_PERL5= build USE_WX= 2.8 WX_CONF_ARGS= absolute GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-denoise-level=0 CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \ docdir='$${prefix}/${DOCSDIR_REL}' CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib OPTIONS_DEFINE= ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS DEBUG DOCS ED2K \ FILEVIEW GEOIP MMAP MONOLITHIC NLS OPTIMIZED_CFLAGS PLASMAMULE UPNP \ WEBSERVER WXCAS XAS ALC_DESC= Compile aMule Link Creator for GUI ALCC_DESC= Compile aMule Link Creator for console AMULECMD_DESC= Compile aMule command line client AMULEDAEMON_DESC= Compile aMule daemon version AMULEGUI_DESC= Compile aMule remote GUI CAS_DESC= Compile aMule Statistics for console ED2K_DESC= Compile aMule ed2k links handler FILEVIEW_DESC= Compile file viewer for console (EXPERIMENTAL) MMAP_DESC= Use mapped memory MONOLITHIC_DESC= Compile monolithic aMule PLASMAMULE_DESC= Compile aMule plasma applet and engine WXCAS_DESC= Compile aMule Statistics for GUI XAS_DESC= Install XChat2 plugin OPTIONS_DEFAULT=ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS ED2K \ FILEVIEW MONOLITHIC WEBSERVER WXCAS XAS OPTIONS_SUB= yes SHEBANG_FILES= src/utils/scripts/*.pl src/utils/xas/*.pl src/libs/ec/*.pl LICENSE_FILE_GPLv2=${WRKSRC}/docs/COPYING DEBUG_CONFIGURE_ON= --enable-debug NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls ALC_CONFIGURE_ON= --enable-alc ALCC_CONFIGURE_ON= --enable-alcc AMULECMD_CONFIGURE_ON= --enable-amulecmd AMULEDAEMON_CONFIGURE_ON= --enable-amule-daemon AMULEDAEMON_USE= RC_SUBR=amuled AMULEGUI_CONFIGURE_ON= --enable-amule-gui CAS_CONFIGURE_ON= --enable-cas CAS_LIB_DEPENDS= libgd.so:graphics/gd ED2K_CONFIGURE_OFF= --disable-ed2k FILEVIEW_CONFIGURE_ON= --enable-fileview GEOIP_CONFIGURE_ON= --enable-geoip GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP MMAP_CONFIGURE_ON= --enable-mmap MONOLITHIC_CONFIGURE_OFF= --disable-monolithic PLASMAMULE_CONFIGURE_ON= --enable-plasmamule PLASMAMULE_USE= KDE4=kdelibs QT4=dbus,gui,moc_build PLASMAMULE_CONFIGURE_ENV= \ ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config \ KBUILDSYCOCA=${KDE4_PREFIX}/bin/kbuildsycoca4 \ UPDATE_MIME_DATABASE=/usr/bin/true UPNP_LIB_DEPENDS= libupnp.so:devel/upnp UPNP_CONFIGURE_OFF= --disable-upnp WEBSERVER_CONFIGURE_ON= --enable-webserver WXCAS_CONFIGURE_ON= --enable-wxcas XAS_CONFIGURE_ON= --enable-xas XAS_USE= PERL5+=run .include .if ${ARCH} == "i386" && ( ${OSVERSION} >= 1000024 || ${CXX:T} == "clang++" ) CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM .endif .if ${PORT_OPTIONS:MED2K} CONFLICTS+= ed2k-hash* .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CONFIGURE_ARGS+= --enable-optimize .endif post-patch: .SILENT ${REINPLACE_CMD} -e 's/test.*-print-file-name.*`/true/' \ -e '/if.*test/s/==/=/' \ ${WRKSRC}/configure .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \ ${WRKSRC}/docs/Makefile.in .endif .if ${PORT_OPTIONS:MPLASMAMULE} ${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \ -e 's|LDFLAGS =|& -L${KDE4_PREFIX}/lib |' \ ${WRKSRC}/src/utils/plasmamule/Makefile.in .endif post-install: .if ${PORT_OPTIONS:MFILEVIEW} ${INSTALL_PROGRAM} ${WRKSRC}/src/utils/fileview/mulefileview ${STAGEDIR}${PREFIX}/bin .endif .include Index: head/net-p2p/mldonkey/Makefile =================================================================== --- head/net-p2p/mldonkey/Makefile (revision 418828) +++ head/net-p2p/mldonkey/Makefile (revision 418829) @@ -1,163 +1,164 @@ # Created by: Holger Lamm # $FreeBSD$ PORTNAME= mldonkey PORTVERSION= 3.1.5 +PORTREVISION= 1 CATEGORIES+= net-p2p MASTER_SITES= SF MAINTAINER?= ports@FreeBSD.org COMMENT?= OCAML client for multiple peer-to-peer networks LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/Copying.txt CONFLICTS= mldonkey{-{core,gui},}-devel-[0-9]* USES= iconv tar:bzip2 gmake USE_AUTOTOOLS= autoconf:env USE_OCAML= yes USE_OCAML_CAMLP4=yes GNU_CONFIGURE= yes ALL_TARGET= opt MAKE_ENV+= OCAMLRUNPARAM="l=256M" MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS+=${ICONV_CONFIGURE_ARG} CONFIGURE_ENV+= NEWCXX="${CXX}" \ PTHREAD_LIBS="-lpthread" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message ### ## Options activation ### OPTIONS_DEFINE= GD DOCS EXAMPLES OPTIONS_DEFAULT=CORE GD GUI OPTIONS_MULTI= CLIENT OPTIONS_MULTI_CLIENT=CORE GUI CORE_DESC= Client 'core' support .include .if ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MCORE} CONFLICTS+= mldonkey-core-[0.9]* CONFLICTS+= mldonkey-gui-[0.9]* PLIST_SUB+= CORE="" GUI="" GUICORE="" .else # (${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MCORE}) . if !${PORT_OPTIONS:MGUI} PKGNAMESUFFIX= -core CONFLICTS+= mldonkey-gui-[0.9]* CONFIGURE_ARGS+=--disable-gui PLIST_SUB+= CORE="" GUI="@comment " GUICORE="@comment " . endif # !${PORT_OPTIONS:MGUI} . if !${PORT_OPTIONS:MCORE} PKGNAMESUFFIX= -gui CONFLICTS+= mldonkey-core-[0.9]* PLIST_SUB+= CORE="@comment " GUI="" GUICORE="@comment " . endif # !${PORT_OPTIONS:MCORE} .endif # ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MCORE} .if ${PORT_OPTIONS:MGUI} BUILD_DEPENDS+= ${LOCALBASE}/lib/ocaml/site-lib/lablgtk2/lablrsvg.cma:x11-toolkits/ocaml-lablgtk2 LIB_DEPENDS+= librsvg-2.so:graphics/librsvg2 CONFIGURE_ARGS+=--enable-gui=newgui2 # we don't need lablgtk as RUN dependency, but we need gtk+glib USE_GNOME= gtk20 .endif # ${PORT_OPTIONS:MGUI} .if ${PORT_OPTIONS:MCORE} USE_RC_SUBR= mlnet SUB_LIST+= SH=${SH:Q} . if ${PORT_OPTIONS:MGD} LIB_DEPENDS+= libgd.so:graphics/gd . else CONFIGURE_ARGS+=--disable-gd . endif .endif PORTDOCS= Authors.txt Bugs.txt ChangeLog Developers.txt \ Install.txt Todo.txt ed2k_links.txt # build additional tools ALL_TARGET+= \ mld_hash .include post-patch: @${SED} \ -e "s|%%PREFIX%%|${PREFIX}|" \ -e "s|%%SH%%|${SH}|" \ ${FILESDIR}/wrapper.sh > \ ${WRKDIR}/wrapper.sh @${REINPLACE_CMD} -E \ -e 's|%%AUTOCONF%%|${AUTOCONF}|' \ ${BUILD_WRKSRC}/config/Makefile.in @${REINPLACE_CMD} -E \ -e 's@(\+)(lablgtk2)@\1site-lib/\2@' \ -e 's@(\+)(labl\$$\(GTK\))@\1site-lib/\2@' \ -e 's@(OCAMLLIB/)(\$$LABLGTK_NAME)@\1site-lib/\2@' \ ${WRKSRC}/config/configure.in \ ${WRKSRC}/config/Makefile.in @${REINPLACE_CMD} -E \ -e 's@(#include <)(lablgtk2/)@\1site-lib/\2@' \ ${WRKSRC}/src/gtk2/gui/x11/systraystubs.c # update server.met provider @${REINPLACE_CMD} -E \ -e 's|http://www.gruk.org/server.met.gz|http://www.jd2k.com/server.met|' \ -e 's|http://www.bluetack.co.uk/config/antip2p.txt|http://www.bluetack.co.uk/config/level1.gz|' \ ${WRKSRC}/src/daemon/common/commonOptions.ml \ ${WRKSRC}/src/networks/donkey/donkeyServers.ml pre-configure: @cd ${WRKSRC}/config && ${AUTOCONF} do-install: .if ${PORT_OPTIONS:MCORE} ${INSTALL_PROGRAM} ${WRKSRC}/mld_hash ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mlnet ${STAGEDIR}${PREFIX}/bin/mlnet-real ${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/mlnet .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${FILESDIR}/kill_mldonkey ${STAGEDIR}${EXAMPLESDIR} .endif .endif .if ${PORT_OPTIONS:MGUI} ${INSTALL_PROGRAM} ${WRKSRC}/mlgui ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MCORE} ${INSTALL_SCRIPT} ${WRKSRC}/distrib/mldonkey_previewer ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mlguistarter ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for _file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/distrib/${_file} ${STAGEDIR}${DOCSDIR} .endfor .endif install-user: extract .if !defined(LANG) @${ECHO_MSG} "Please call as: make install-user LANG=" @${ECHO_MSG} "with one of en,de,fr,fr.noaccents,sp !" .else @${CP} ${WRKSRC}/distrib/i18n/gui_messages.ini.${LANG}\ ${HOME}/.mldonkey_gui_messages.ini .endif .include Index: head/print/texlive-base/Makefile =================================================================== --- head/print/texlive-base/Makefile (revision 418828) +++ head/print/texlive-base/Makefile (revision 418829) @@ -1,137 +1,137 @@ # $FreeBSD$ PORTNAME= texlive PORTVERSION= 20150521 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= print MASTER_SITES= TEX_CTAN/systems/texlive/Source/ PKGNAMESUFFIX= -base DISTNAME= ${PORTNAME}-${DISTVERSION}-source DIST_SUBDIR= TeX MAINTAINER= hrs@FreeBSD.org COMMENT= TeX Live Typesetting System, base binaries RUN_DEPENDS= psbook:print/psutils LIB_DEPENDS= libicuio.so:devel/icu \ libt1.so:devel/t1lib \ libTECkit.so:textproc/teckit \ libgd.so:graphics/gd \ libgraphite2.so:graphics/graphite2 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libzzip.so:devel/zziplib \ libpoppler.so:graphics/poppler \ libpotrace.so:graphics/libpotrace CONFLICTS_INSTALL= texlive-texmf-201[234]* USE_TEX= web2c kpathsea ptexenc tlmgr texhash-bootstrap USES= ghostscript pkgconfig perl5 shebangfix tar:xz USE_PERL5= run # during build phase gnu configure is run a lot MAKE_ENV+= CONFIG_SITE=${CONFIG_SITE} EXCLUDE_FILES= ${DISTNAME}/texk/web2c \ ${DISTNAME}/texk/kpathsea \ ${DISTNAME}/texk/ptexenc \ ${DISTNAME}/texk/xdvik \ ${DISTNAME}/texk/dvipdfm-x \ ${DISTNAME}/texk/dvipsk \ ${DISTNAME}/libs \ ${DISTNAME}/utils/t1utils \ ${DISTNAME}/utils/xpdfopen EXTRACT_AFTER_ARGS= ${EXCLUDE_FILES:S,^,--exclude ,} GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-native-texlive-build \ --disable-web-progs \ --disable-psutils \ --enable-shared \ --disable-t1utils \ --disable-dvipdfmx \ --disable-dvipdfm-x \ --disable-xdvipdfmx \ --disable-xpdfopen \ --enable-build-in-source-tree \ --datarootdir=${LOCALBASE}/share \ --with-system-freetype2 \ --with-freetype2-includes=${LOCALBASE}/include/freetype2 \ --with-freetype2-libdir=${LOCALBASE}/lib \ --with-system-gd \ --with-system-cairo \ --with-system-harfbuzz \ --with-system-graphite2 \ --with-system-pixman \ --with-system-poppler \ --with-system-t1lib \ --with-xpdf-includes=${LOCALBASE}/include/poppler \ --with-xpdf-libdir=${LOCALBASE}/lib \ --with-system-xpdf \ --with-system-zziplib \ --with-system-zlib .for L in gmp icu kpathsea libgs libpng libpaper mpfr ptexenc potrace teckit CONFIGURE_ARGS+=--with-system-$L \ --with-$L-include=${LOCALBASE}/include \ --with-$L-libdir=${LOCALBASE}/lib .endfor CFLAGS+= -I${LOCALBASE}/include PLIST_SUB= INSTALL_DATA="${INSTALL_DATA}" INSTALL_TARGET= install-strip SHEBANG_FILES= texk/texlive/linked_scripts/accfonts/mkt1font \ texk/texlive/linked_scripts/accfonts/vpl2ovp \ texk/texlive/linked_scripts/accfonts/vpl2vpl \ texk/texlive/linked_scripts/arara/arara.sh \ texk/texlive/linked_scripts/bibexport/bibexport.sh \ texk/texlive/linked_scripts/convbkmk/convbkmk.rb \ texk/texlive/linked_scripts/ctanupload/ctanupload.pl \ texk/texlive/linked_scripts/de-macro/de-macro \ texk/texlive/linked_scripts/dtxgen/dtxgen \ texk/texlive/linked_scripts/exceltex/exceltex \ texk/texlive/linked_scripts/findhyph/findhyph \ texk/texlive/linked_scripts/fragmaster/fragmaster.pl \ texk/texlive/linked_scripts/installfont/installfont-tl \ texk/texlive/linked_scripts/kotex-utils/jamo-normalize.pl \ texk/texlive/linked_scripts/latexpand/latexpand \ texk/texlive/linked_scripts/ltxfileinfo/ltxfileinfo \ texk/texlive/linked_scripts/lua2dox/lua2dox_filter \ texk/texlive/linked_scripts/mathspic/mathspic.pl \ texk/texlive/linked_scripts/mf2pt1/mf2pt1.pl \ texk/texlive/linked_scripts/multibibliography/multibibliography.pl \ texk/texlive/linked_scripts/rubik/rubikrotation.pl \ texk/texlive/linked_scripts/splitindex/splitindex.pl \ texk/texlive/linked_scripts/svn-multi/svn-multi.pl \ texk/texlive/linked_scripts/texdirflatten/texdirflatten \ texk/texlive/linked_scripts/ulqda/ulqda.pl \ texk/texlive/linked_scripts/urlbst/urlbst \ texk/texlive/linked_scripts/yplan/yplan INFO= dvipng tlbuild OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 X11_USE= TEX=xpdfopen:run post-patch: cd ${WRKSRC}/texk/texlive && \ ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \ linked_scripts/texlive/fmtutil-sys.sh \ tl_scripts/texconfig-sys.sh \ linked_scripts/texlive/updmap-sys.sh post-install-fmtutil: for D in ${TEXHASHDIRS}; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/$$D; \ ${TOUCH} ${STAGEDIR}${PREFIX}/$$D/.keep_me; \ done ${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFCONFIGDIR}/web2c ${TOUCH} ${STAGEDIR}${PREFIX}/${TEXMFCONFIGDIR}/web2c/.keep_me ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/${TEXMFDISTDIR}/web2c/fmtutil.cnf \ ${STAGEDIR}${PREFIX}/${FMTUTIL_CNF} post-install: post-install-fmtutil .ORDER: post-install-fmtutil do-texhash .include Index: head/sysutils/apcupsd/Makefile =================================================================== --- head/sysutils/apcupsd/Makefile (revision 418828) +++ head/sysutils/apcupsd/Makefile (revision 418829) @@ -1,95 +1,96 @@ # Created by: Lars Köller # $FreeBSD$ PORTNAME= apcupsd PORTVERSION= 3.14.13 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20-%20Stable/${PORTVERSION} MAINTAINER= itetcu@FreeBSD.org COMMENT= Set of programs for controlling APC UPS LICENSE= GPLv2 USE_RC_SUBR= apcupsd SUB_FILES= pkg-message GNU_CONFIGURE= yes USES= gmake OPTIONS_SUB= yes CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \ --with-nologin=/var/run \ --disable-install-distdir \ --sysconfdir=${ETCDIR} \ --with-serial-dev=/dev/usv CONFIGURE_ENV+= LD="${CXX}" \ ac_cv_path_SHUTDOWN="/sbin/shutdown" CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= APCSMART_DRV APCDUMB_DRV CLIENT_ONLY CGI PCNET_DRV USB SNMP_DRV \ SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV GAPCMON DOCS MODBUS OPTIONS_DEFAULT= APCSMART_DRV APCDUMB_DRV PCNET_DRV USB TCP_WRAPPERS MODBUS APCSMART_DRV_DESC= Compile APC SmartUPS serial driver APCDUMB_DRV_DESC= Compile dumb UPS driver CLIENT_ONLY_DESC= Only NIS client (no network server or drivers) CGI_DESC= Compile with CGI programms to show status PCNET_DRV_DESC= Compile PowerChute Network Shutdown driver USB_DESC= Compile with USB Support driver SNMP_DRV_DESC= Compile with SNMP driver SNMP_DRV_OLD_DESC= Compile with old SNMP driver TCP_WRAPPERS_DESC= Compile with TCP_WRAPPERS support TEST_DRV_DESC= Compile TEST driver GAPCMON_DESC= Build GTK GUI front-end MODBUS_DESC= Compile with MODBUS driver #PORTDOCS= ${PORTNAME}.pdf APCSMART_DRV_CONFIGURE_ENABLE= apcsmart APCDUMB_DRV_CONFIGURE_ENABLE= dumb CLIENT_ONLY_CONFIGURE_ON= --enable-net \ --disable-apcsmart --disable-dumb --disable-usb \ --disable-snmp --disable-test --disable-pcnet CGI_CONFIGURE_ENABLE= cgi CGI_CONFIGURE_ON= --with-cgi-bin=${ETCDIR}/cgi CGI_LIB_DEPENDS= libgd.so:graphics/gd GAPCMON_CONFIGURE_ENABLE= gapcmon GAPCMON_USE= GNOME=gconf2 GAPCMON_CONFLICTS= gapcmon-[0-9]* PCNET_DRV_CONFIGURE_ENABLE= pcnet USB_CONFIGURE_ENABLE= usb SNMP_DRV_CONFIGURE_ENABLE= snmp MODBUS_CONFIGURE_ENABLE= modbus SNMP_DRV_OLD_CONFIGURE_ENABLE= net-snmp SNMP_DRV_OLD_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp TCP_WRAPPERS_CONFIGURE_WITH= libwrap=yes TEST_DRV_CONFIGURE_ENABLE= test #CONFIGURE_ARGS+= --with-libwrap=yes #CONFIGURE_ENV+= LIBS="-lcurses -lmenu" #PLIST_SUB+= POWERFL="" .include pre-configure: .if ${PORT_OPTIONS:MCLIENT_ONLY} && ( ${PORT_OPTIONS:MAPCSMART_DRV} || \ ${PORT_OPTIONS:MAPCDUMB_DRV} || ${PORT_OPTIONS:MPCNET_DRV} || \ ${PORT_OPTIONS:MUSB} || \ ${PORT_OPTIONS:MSNMP_DRV} || ${PORT_OPTIONS:MTEST_DRV} ) @${ECHO_CMD} "It doesn't make sense to build drivers if all you want is" @${ECHO_CMD} "the client; please do make config and select either" @${ECHO_CMD} "CLIENT_ONLY or the *_DRV you need" @${FALSE} .endif post-install: @${ECHO_CMD} "@unexec if [ -d %D/${ETCDIR_REL} ]; then ${ECHO_CMD} \"If you are permanently removing this port, you should do a ``rm -rf ${ETCDIR}`` to remove config files left.\" | ${FMT} ; fi" >> ${TMPPLIST} # Install sample startup script for na in apcupsd.conf apcupsd.css hosts.conf multimon.conf; do \ if [ -f ${STAGEDIR}${ETCDIR}/$$na ]; then \ ${MV} ${STAGEDIR}${ETCDIR}/$$na ${STAGEDIR}${ETCDIR}/$$na.sample; \ fi \ done .include Index: head/sysutils/nut/Makefile =================================================================== --- head/sysutils/nut/Makefile (revision 418828) +++ head/sysutils/nut/Makefile (revision 418829) @@ -1,187 +1,188 @@ # Created by: Boris Popov # $FreeBSD$ PORTNAME= nut PORTVERSION= 2.7.4 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= cy@FreeBSD.org COMMENT= Network UPS Tools USE_AUTOTOOLS= autoconf GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= gmake pkgconfig libtool NUT_USER?= uucp NUT_GROUP?= uucp STATEDIR?= /var/db/nut PLIST_SUB+= NUT_USER=${NUT_USER} PLIST_SUB+= NUT_GROUP=${NUT_GROUP} OPTIONS_DEFAULT=SERIAL USB SNMP NEON IPMI_OFF OPTIONS_DEFINE= SERIAL USB SNMP NEON PDU CGI BASH AVAHI OPENSSL DOCS OPTIONS_SINGLE= IPMI OPTIONS_SINGLE_IPMI= IPMI_OFF IPMIPSU FREEIPMI SERIAL_DESC= SERIAL support USB_DESC= USB support SNMP_DESC= SNMP support NEON_DESC= NEON XML/HTTP support PDU_DESC= Powerman PDU support CGI_DESC= Web CGI interface BASH_DESC= Bash Completion support AVAHI_DESC= Avahi support IPMI_OFF_DESC= No IPMI support FREEIPMI_DESC= freeipmi support IPMIPSU_DESC= Use nut-ipmipsu support (experimental) USE_RC_SUBR= nut nut_upsmon nut_upslog SUB_LIST+= STATEDIR=${STATEDIR} PLIST_SUB+= STATEDIR=${STATEDIR} PORTDOCS= * .include CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \ --program-transform-name="" \ --localstatedir=${STATEDIR} \ --datadir=${PREFIX}/etc/nut \ --with-devd-dir=${PREFIX}/etc/devd \ --with-drvpath=${PREFIX}/libexec/nut \ --with-statepath=${STATEDIR} \ --with-altpidpath=${STATEDIR} \ --with-pidpath=${STATEDIR} \ --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig \ --with-user=${NUT_USER} \ --with-group=${NUT_GROUP} \ --with-dev .if ${PORT_OPTIONS:MCGI} LIB_DEPENDS+= libgd.so:graphics/gd CGIDIR?= ${PREFIX}/www/cgi-bin/${PORTNAME} CGIDIR_REL?= ${CGIDIR:S,^${PREFIX}/,,} CONFIGURE_ARGS+= --with-cgi --with-cgipath=${CGIDIR} \ --with-htmlpath=${WWWDIR} \ --with-gd-includes=-I${LOCALBASE}/include \ --with-gd-libs="-L${LOCALBASE}/lib -lgd" PLIST_SUB+= NUT_CGI="" PLIST_SUB+= CGIDIR="${CGIDIR_REL}" PLIST_SUB+= CGIETCDIR="etc/nut/" .else CONFIGURE_ARGS+= --without-cgi PLIST_SUB+= NUT_CGI="@comment " .endif .if ${PORT_OPTIONS:MSERIAL} CONFIGURE_ARGS+= --with-serial PLIST_SUB+= NUT_SERIAL="" .else CONFIGURE_ARGS+= --without-serial PLIST_SUB+= NUT_SERIAL="@comment " .endif .if ${PORT_OPTIONS:MUSB} #EXTRA_PATCHES= ${FILESDIR}/extra-patch-m4_nut_check_libusb.m4 CONFIGURE_ARGS+= --with-usb=auto PLIST_SUB+= NUT_USB="" .else CONFIGURE_ARGS+= --without-usb PLIST_SUB+= NUT_USB="@comment " .endif .if ${PORT_OPTIONS:MSNMP} LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp CONFIGURE_ARGS+= --with-snmp PLIST_SUB+= NUT_SNMP="" .else CONFIGURE_ARGS+= --without-snmp PLIST_SUB+= NUT_SNMP="@comment " .endif .if ${PORT_OPTIONS:MNEON} LIB_DEPENDS+= libneon.so:www/neon CONFIGURE_ARGS+= --with-neonxml PLIST_SUB+= NUT_NEON="" .else CONFIGURE_ARGS+= --without-neonxml CONFIGURE_ARGS+= --disable-neonxml PLIST_SUB+= NUT_NEON="@comment " .endif .if ${PORT_OPTIONS:MPDU} LIB_DEPENDS+= libpowerman.so:sysutils/powerman CONFIGURE_ARGS+= --with-powerman PLIST_SUB+= NUT_PDU="" .else CONFIGURE_ARGS+= --without-powerman PLIST_SUB+= NUT_PDU="@comment " .endif .if ${PORT_OPTIONS:MBASH} BUILD_DEPENDS+= ${LOCALBASE}/share/bash-completion/bash_completion.sh:shells/bash-completion RUN_DEPENDS+= ${LOCALBASE}/share/bash-completion/bash_completion.sh:shells/bash-completion PLIST_SUB+= BASH="" .else PLIST_SUB+= BASH="@comment " .endif .if ${PORT_OPTIONS:MAVAHI} BUILD_DEPENDS+= ${LOCALBASE}/include/avahi-ui/avahi-ui.h:net/avahi-header BUILD_DEPENDS+= avahi-daemon:net/avahi-app RUN_DEPENDS+= avahi-daemon:net/avahi-app CONFIGURE_ARGS+= --with-avahi .else CONFIGURE_ARGS+= --without-avahi .endif .if ${PORT_OPTIONS:MFREEIPMI} LIB_DEPENDS+= libfreeipmi.so:sysutils/freeipmi CONFIGURE_ARGS+= --with-freeipmi PLIST_SUB+= NUT_FREEIPMI="" .else CONFIGURE_ARGS+= --without-freeipmi PLIST_SUB+= NUT_FREEIPMI="@comment " .endif .if ${PORT_OPTIONS:MIPMIPSU} LIB_DEPENDS+= libfreeipmi.so:sysutils/freeipmi CONFIGURE_ARGS+= --with-ipmi PLIST_SUB+= NUT_IPMIPSU="" .else CONFIGURE_ARGS+= --without-ipmi PLIST_SUB+= NUT_IPMIPSU="@comment " .endif .if ${PORT_OPTIONS:MOPENSSL} USE_OPENSSL= yes CONFIGURE_ARGS+= --with-openssl .else CONFIGURE_ARGS+= --without-openssl --without-ssl .endif pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nut @${REINPLACE_CMD} -e 's/device-name\*/cdev/g' ${WRKSRC}/scripts/devd/nut-usb.conf post-install: @${MKDIR} ${STAGEDIR}${STATEDIR} .if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MBASH} @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${INSTALL_DATA} ${WRKSRC}/scripts/misc/nut.bash_completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ .endif @${MKDIR} ${STAGEDIR}${DOCSDIR}/cables ${INSTALL_DATA} ${WRKSRC}/docs/cables/*.txt ${STAGEDIR}${DOCSDIR}/cables ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/FAQ.txt ${STAGEDIR}${DOCSDIR} .for file in AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README UPGRADING ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .endif .include Index: head/sysutils/pfstat/Makefile =================================================================== --- head/sysutils/pfstat/Makefile (revision 418828) +++ head/sysutils/pfstat/Makefile (revision 418829) @@ -1,43 +1,43 @@ # Created by: Max Laier # $FreeBSD$ PORTNAME= pfstat PORTVERSION= 2.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils net MASTER_SITES= http://www.benzedrine.cx/ MAINTAINER= araujo@FreeBSD.org COMMENT= Utility to render graphical statistics for pf LIB_DEPENDS= libgd.so:graphics/gd MAKE_ARGS= "LD_GD=gd" MAKE_ENV+= __MAKE_CONF=/dev/null USES= iconv USE_RC_SUBR= pfstatd PLIST_FILES= bin/pfstat \ bin/pfstatd \ man/man8/pfstat.8.gz \ man/man8/pfstatd.8.gz .include post-patch: @${REINPLACE_CMD} -e 's|-lgd|-l$${LD_GD}|; s| -lttf||' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ ${WRKSRC}/pfstat.[c8] .if ${OSVERSION} >= 1100070 @${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/pf.c .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${STAGEDIR}/${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/pfstatd/pfstatd ${STAGEDIR}/${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${STAGEDIR}/${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.8 ${STAGEDIR}/${PREFIX}/man/man8 .include Index: head/textproc/modlogan/Makefile =================================================================== --- head/textproc/modlogan/Makefile (revision 418828) +++ head/textproc/modlogan/Makefile (revision 418829) @@ -1,52 +1,52 @@ # Created by: Alexander@Leidinger.net # $FreeBSD$ PORTNAME= modlogan PORTVERSION= 0.8.13 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= textproc www MASTER_SITES= http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/ MAINTAINER= netchild@FreeBSD.org COMMENT= Modular log file analysis program LIB_DEPENDS= libadns.so:dns/adns \ libgd.so:graphics/gd \ libpcre.so:devel/pcre \ libexpat.so:textproc/expat2 USES= gettext libtool OPTIONS_DEFINE= DOCS MYSQL # Please don't remove the comments, as soon as autoconf/libtool get's # updated in the ports collection the comments may be removed. # They serve as a reminder. USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-ltdl-install=no --with-gd=${LOCALBASE}/include \ --program-transform-name=\'\' MYSQL_CONFIGURE_ON= --with-mysql CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DOC1= faq.txt glosar manual.txt translations.txt \ using-plugins.txt writing-plugins.txt post-patch: @${REINPLACE_CMD} -e 's:\@config_path\@:${PREFIX}/etc/modlogan:g' ${WRKSRC}/doc/modlogan.conf-dist.in #post-configure: # ${TOUCH} ${WRKSRC}/libltdl/config.status post-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/doc/modlogan .for i in ${DOC1} @${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${PREFIX}/share/doc/modlogan/${i} .endfor ${MKDIR} ${STAGEDIR}/${PREFIX}/share/examples/modlogan .for i in footer.ihtml header.ihtml output.tmpl convert_history_to_07x.pl convert_to_055.pl convert_to_060.pl @${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${PREFIX}/share/examples/modlogan/${i} .endfor .include Index: head/www/analog/Makefile =================================================================== --- head/www/analog/Makefile (revision 418828) +++ head/www/analog/Makefile (revision 418829) @@ -1,61 +1,61 @@ # Created by: jfitz # $FreeBSD$ PORTNAME= analog PORTVERSION= 6.0 -PORTREVISION= 10 +PORTREVISION= 11 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://www.analog.cx/ \ http://analog.gsp.com/ \ http://fossies.org/unix/www/ \ ftp://ftp.polytechnic.edu.na/pub/analog/ \ http://analog.tzone.it/ MAINTAINER= ports@FreeBSD.org COMMENT= Fast program for analysing WWW logfiles LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/Licence.txt LIB_DEPENDS= libgd.so:graphics/gd \ libpng.so:graphics/png USES= jpeg BUILD_WRKSRC= ${WRKSRC}/src ALL_TARGET= ${PORTNAME} SUB_FILES= pkg-message LIMGDIR?= www/data/images IMGDIR= ${PREFIX}/${LIMGDIR} PLIST_SUB= IMGDIR="${LIMGDIR}" OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/analog ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/analog.man ${STAGEDIR}${MANPREFIX}/man/man1/analog.1 ${INSTALL_DATA} ${WRKSRC}/analog.cfg ${STAGEDIR}${PREFIX}/etc/analog.cfg.sample ${MKDIR} ${STAGEDIR}${DATADIR}/lang ${INSTALL_DATA} ${WRKSRC}/lang/* ${STAGEDIR}${DATADIR}/lang ${MKDIR} ${STAGEDIR}${IMGDIR} ${INSTALL_DATA} ${WRKSRC}/images/* ${STAGEDIR}${IMGDIR} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.cfg ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/anlgform.html ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/anlgform.pl ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/css ${INSTALL_DATA} ${WRKSRC}/examples/css/Readme.txt ${STAGEDIR}${EXAMPLESDIR}/css ${INSTALL_DATA} ${WRKSRC}/examples/css/default.css ${STAGEDIR}${EXAMPLESDIR}/css ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/css/jreeves ${INSTALL_DATA} ${WRKSRC}/examples/css/jreeves/* ${STAGEDIR}${EXAMPLESDIR}/css/jreeves .include Index: head/www/asterisk-stat/Makefile =================================================================== --- head/www/asterisk-stat/Makefile (revision 418828) +++ head/www/asterisk-stat/Makefile (revision 418829) @@ -1,62 +1,62 @@ # Created by: Fumihiko Kimura # $FreeBSD$ PORTNAME= asterisk-stat PORTVERSION= 2.0.1 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= www MASTER_SITES= http://ftp.iij.ad.jp/pub/FreeBSD/distfiles/ DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g} MAINTAINER= jfkimura@yahoo.co.jp COMMENT= ASTERISK call detail records analyzer BROKEN_powerpc64= Does not build LIB_DEPENDS= libgd.so:graphics/gd NO_BUILD= yes USE_PHP= session gd pcre WANT_PHP_WEB= yes ASTERISKDIR?= ${WWWDIR} SITE_SUBDIR= asterisk-stat-v2 WRKSRC= ${WRKDIR}/${SITE_SUBDIR} SUB_FILES= pkg-message SUB_LIST+= ASTERISKDIR=${ASTERISKDIR} OPTIONS_DEFINE= PGSQL PGSQL_DESC= Use PostgreSQL instead of MySQL .include .if ${PORT_OPTIONS:MPGSQL} ASTERISKSTATDB= pgsql EXTRA_PATCHES+= ${FILESDIR}/pgsql__patch-call.log.php .else ASTERISKSTATDB= mysql .endif USE_PHP+= ${ASTERISKSTATDB} EXTRA_PATCHES+= ${FILESDIR}/${ASTERISKSTATDB}__patch-cdr.php \ ${FILESDIR}/${ASTERISKSTATDB}__patch-defines.php PLIST_SUB+= ASTERISKDIR=${ASTERISKDIR:S,^${PREFIX}/,,} \ ASTERISKSTATDB=${ASTERISKSTATDB} \ WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" post-patch: @${MV} ${WRKSRC}/images/print.css ${WRKSRC}/css @${CP} ${WRKSRC}/images/spacer.gif ${WRKSRC}/images/clear.gif @${CP} ${WRKSRC}/css/images/*png ${WRKSRC}/images @${RM} ${WRKSRC}/about.php \ ${WRKSRC}/lib/defines.php.orig \ ${WRKSRC}/cdr.php.orig \ ${WRKSRC}/export_pdf.php.orig do-install: @${MKDIR} ${STAGEDIR}${ASTERISKDIR} @${MV} ${WRKSRC}/lib/defines.php ${WRKSRC}/lib/defines.php-dist (cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${ASTERISKDIR}) ${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk ${INSTALL_DATA} ${FILESDIR}/cdr_${ASTERISKSTATDB}.tbl ${STAGEDIR}${PREFIX}/etc/asterisk .include Index: head/www/awffull/Makefile =================================================================== --- head/www/awffull/Makefile (revision 418828) +++ head/www/awffull/Makefile (revision 418829) @@ -1,62 +1,62 @@ # Created by: Chadwick Sorrell chad@wickdev.com # $FreeBSD$ PORTNAME= awffull PORTVERSION= 3.10.2 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES?= www MASTER_SITES= https://launchpadlibrarian.net/20395993/ MAINTAINER?= ports@FreeBSD.org COMMENT= Webserver log analysis tool forked from Webalizer LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/fonts/bitstream-vera/Vera.ttf:x11-fonts/bitstream-vera LIB_DEPENDS= libgd.so:graphics/gd \ libpng.so:graphics/png \ libpcre.so:devel/pcre RUN_DEPENDS:= ${BUILD_DEPENDS} CONFLICTS?= ja-awffull-[0-9]* FONTDEFAULT?= ${LOCALBASE}/share/fonts/bitstream-vera/VeraBd.ttf FONTLABEL?= ${LOCALBASE}/share/fonts/bitstream-vera/Vera.ttf OPTIONS_DEFINE= GEOIP DOCS EXAMPLES NLS OPTIONS_SUB= yes USES= gettext iconv localbase shebangfix SHEBANG_FILES= contrib/awffull_history_regen.pl \ contrib/awffull_history_regen_german.pl GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-font-default=${FONTDEFAULT} \ --with-font-label=${FONTLABEL} \ --with-etcdir=${PREFIX}/etc GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP GEOIP_CONFIGURE_ENABLE= geoip NLS_CONFIGURE_ENABLE= nls PORTDOCS= * PORTEXAMPLES= * post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} \ ChangeLog DNS.README PERFORMANCE_TIPS.txt \ README* TODO country-codes.txt \ ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/sample* ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/contrib/*.pl ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/flags ${INSTALL_DATA} ${WRKSRC}/flags/README ${WRKSRC}/flags/*.png \ ${STAGEDIR}${EXAMPLESDIR}/flags .include Index: head/www/http-analyze/Makefile =================================================================== --- head/www/http-analyze/Makefile (revision 418828) +++ head/www/http-analyze/Makefile (revision 418829) @@ -1,55 +1,55 @@ # Created by: Andreas Klemm # $FreeBSD$ PORTNAME= http-analyze PORTVERSION= 2.4.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= ftp://ftp.rent-a-guru.de/pub/ DIST_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}${PORTVERSION:R}-src PATCH_SITES= http://http-analyze.org/ PATCHFILES= patch04.gz MAINTAINER= ports@FreeBSD.org COMMENT= Fast Log-Analyzer for web servers LIB_DEPENDS= libgd.so:graphics/gd WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R} MAKE_ARGS= HA_BINDIR="${PREFIX}/bin" HA_LIBDIR="${DATADIR}" \ REQINCS="${CPPFLAGS}" REQLIBS="${LDFLAGS}" \ DEFINES="-DBSD -Dunix" OPTIM="${CFLAGS}" \ CC="${CC}" ALL_TARGET= ${PORTNAME} CPPFLAGS+= $$(gdlib-config --includes) LDFLAGS+= $$(gdlib-config --ldflags) $$(gdlib-config --libs) OPTIONS_DEFINE= DOCS EXAMPLES .include do-install: (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} http-analyze \ ${STAGEDIR}${PREFIX}/bin/http-analyze) (cd ${WRKSRC}/man && ${INSTALL_MAN} http-analyze.man \ ${STAGEDIR}${MANPREFIX}/man/man1/http-analyze.1) @${MKDIR} ${STAGEDIR}${DATADIR} @(cd ${WRKSRC}/files && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in http-analyze.pdf http-analyze.ps.gz (cd ${WRKSRC}/man && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in contrib tools @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${EXAMPLESDIR}) .endfor .endif .include Index: head/www/mgstat/Makefile =================================================================== --- head/www/mgstat/Makefile (revision 418828) +++ head/www/mgstat/Makefile (revision 418829) @@ -1,26 +1,26 @@ # Created by: jeh@FreeBSD.org # $FreeBSD$ PORTNAME= mgstat PORTVERSION= 0.12 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www MASTER_SITES= http://wizard.ae.krakow.pl/~mike/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Produce graphs from mod_gzip log files LIB_DEPENDS= libgd.so:graphics/gd GNU_CONFIGURE= yes PORTDOCS= Copyright README USAGE PLIST_FILES= bin/mgstat OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/www/nginx/Makefile =================================================================== --- head/www/nginx/Makefile (revision 418828) +++ head/www/nginx/Makefile (revision 418829) @@ -1,1300 +1,1301 @@ # Created by: Sergey A. Osokin # $FreeBSD$ PORTNAME= nginx PORTVERSION= 1.10.1 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= LOCAL/osa DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= osa@FreeBSD.org COMMENT= Robust and small WWW server LICENSE= BSD2CLAUSE USES+= cpe CPE_VENDOR= nginx CPE_PRODUCT= nginx USE_GITHUB= nodefault NO_OPTIONS_SORT= yes OPTIONS_DEFINE= \ DSO \ DEBUG \ DEBUGLOG \ FILE_AIO \ IPV6 \ GOOGLE_PERFTOOLS \ HTTP \ HTTP_ADDITION \ HTTP_AUTH_REQ \ HTTP_CACHE \ HTTP_DAV \ HTTP_FLV \ HTTP_GEOIP \ HTTP_GZIP_STATIC \ HTTP_GUNZIP_FILTER \ HTTP_IMAGE_FILTER \ HTTP_MP4 \ HTTP_PERL \ HTTP_RANDOM_INDEX \ HTTP_REALIP \ HTTP_REWRITE \ HTTP_SECURE_LINK \ HTTP_SLICE \ HTTP_SSL \ HTTP_STATUS \ HTTP_SUB \ HTTP_XSLT \ MAIL \ MAIL_IMAP \ MAIL_POP3 \ MAIL_SMTP \ MAIL_SSL \ HTTPV2 \ NJS \ STREAM \ STREAM_SSL \ THREADS \ WWW \ AJP \ AWS_AUTH \ CACHE_PURGE \ CLOJURE \ CT \ ECHO \ HEADERS_MORE \ HTTP_ACCEPT_LANGUAGE \ HTTP_ACCESSKEY \ HTTP_AUTH_DIGEST \ HTTP_AUTH_KRB5 \ HTTP_AUTH_LDAP \ HTTP_AUTH_PAM \ HTTP_DAV_EXT \ HTTP_EVAL \ HTTP_FANCYINDEX \ HTTP_FOOTER \ HTTP_JSON_STATUS \ HTTP_MOGILEFS \ HTTP_MP4_H264 \ HTTP_NOTICE \ HTTP_PUSH \ HTTP_PUSH_STREAM \ HTTP_REDIS \ HTTP_RESPONSE \ HTTP_SUBS_FILTER \ HTTP_TARANTOOL \ HTTP_UPLOAD \ HTTP_UPLOAD_PROGRESS \ HTTP_UPSTREAM_CHECK \ HTTP_UPSTREAM_FAIR \ HTTP_UPSTREAM_STICKY \ HTTP_VIDEO_THUMBEXTRACTOR \ HTTP_ZIP \ ARRAYVAR \ BROTLI \ DRIZZLE \ DYNAMIC_UPSTREAM \ ENCRYPTSESSION \ FORMINPUT \ GRIDFS \ ICONV \ LET \ LUA \ MEMC \ MODSECURITY \ NAXSI \ PASSENGER \ POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ RTMP \ SET_MISC \ SFLOW \ SHIBBOLETH \ SLOWFS_CACHE \ SMALL_LIGHT \ SRCACHE \ STATSD \ UDPLOG \ XRID_HEADER \ XSS OPTIONS_DEFAULT=DSO FILE_AIO HTTP HTTP_ADDITION HTTP_AUTH_REQ HTTP_CACHE \ HTTP_DAV HTTP_FLV HTTP_GZIP_STATIC HTTP_GUNZIP_FILTER \ HTTP_MP4 HTTP_RANDOM_INDEX HTTP_REALIP HTTP_SECURE_LINK \ HTTP_SLICE HTTP_REWRITE HTTP_SSL HTTP_STATUS HTTP_SUB \ HTTPV2 MAIL MAIL_SSL STREAM STREAM_SSL THREADS WWW DSO_DESC= Enable dynamic modules support DEBUG_DESC= Build with debugging support DEBUGLOG_DESC= Enable debug log (--with-debug) FILE_AIO_DESC= Enable file aio GOOGLE_PERFTOOLS_DESC= Enable google perftools module HTTP_DESC= Enable HTTP module HTTP_ADDITION_DESC= Enable http_addition module HTTP_AUTH_REQ_DESC= Enable http_auth_request module HTTP_CACHE_DESC= Enable http_cache module HTTP_DAV_DESC= Enable http_webdav module HTTP_FLV_DESC= Enable http_flv module HTTP_GEOIP_DESC= Enable http_geoip module HTTP_GZIP_STATIC_DESC= Enable http_gzip_static module HTTP_GUNZIP_FILTER_DESC= Enable http_gunzip_filter module HTTP_IMAGE_FILTER_DESC= Enable http_image_filter module HTTP_MP4_DESC= Enable http_mp4 module HTTP_PERL_DESC= Enable http_perl module HTTP_RANDOM_INDEX_DESC= Enable http_random_index module HTTP_REALIP_DESC= Enable http_realip module HTTP_REWRITE_DESC= Enable http_rewrite module HTTP_SECURE_LINK_DESC= Enable http_secure_link module HTTP_SLICE_DESC= Enable http_slice module HTTP_SSL_DESC= Enable http_ssl module HTTP_STATUS_DESC= Enable http_stub_status module HTTP_SUB_DESC= Enable http_sub module HTTP_XSLT_DESC= Enable http_xslt module MAIL_DESC= Enable IMAP4/POP3/SMTP proxy module MAIL_IMAP_DESC= Enable IMAP4 proxy module MAIL_POP3_DESC= Enable POP3 proxy module MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module HTTPV2_DESC= Enable HTTP/2 protocol support (SSL req.) NJS_DESC= Enable http_javascript module STREAM_DESC= Enable stream module STREAM_SSL_DESC= Enable stream_ssl module (SSL req.) THREADS_DESC= Enable threads support WWW_DESC= Enable html sample files AJP_DESC= 3rd party ajp module AWS_AUTH_DESC= 3rd party aws auth module CACHE_PURGE_DESC= 3rd party cache_purge module CLOJURE_DESC= 3rd party clojure module CT_DESC= 3rd party cert_transparency module (SSL req.) ECHO_DESC= 3rd party echo module HEADERS_MORE_DESC= 3rd party headers_more module HTTP_ACCEPT_LANGUAGE_DESC= 3rd party accept_language module HTTP_ACCESSKEY_DESC= 3rd party http_accesskey module HTTP_AUTH_DIGEST_DESC= 3rd party http_authdigest module HTTP_AUTH_KRB5_DESC= 3rd party http_auth_gss module HTTP_AUTH_LDAP_DESC= 3rd party http_auth_ldap module HTTP_AUTH_PAM_DESC= 3rd party http_auth_pam module HTTP_DAV_EXT_DESC= 3rd party webdav_ext module HTTP_EVAL_DESC= 3rd party eval module HTTP_FANCYINDEX_DESC= 3rd party http_fancyindex module HTTP_FOOTER_DESC= 3rd party http_footer module HTTP_JSON_STATUS_DESC= 3rd party http_json_status module HTTP_MOGILEFS_DESC= 3rd party mogilefs module HTTP_MP4_H264_DESC= 3rd party mp4/h264 module HTTP_NOTICE_DESC= 3rd party notice module HTTP_PUSH_DESC= 3rd party push module HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_REDIS_DESC= 3rd party http_redis module HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_SUBS_FILTER_DESC= 3rd party subs filter module HTTP_TARANTOOL_DESC= 3rd party tarantool upstream module HTTP_UPLOAD_DESC= 3rd party upload module HTTP_UPLOAD_PROGRESS_DESC= 3rd party uploadprogress module HTTP_UPSTREAM_CHECK_DESC= 3rd party upstream check module HTTP_UPSTREAM_FAIR_DESC= 3rd party upstream fair module HTTP_UPSTREAM_STICKY_DESC= 3rd party upstream sticky module HTTP_VIDEO_THUMBEXTRACTOR_DESC= 3rd party video_thumbextractor module HTTP_ZIP_DESC= 3rd party http_zip module ARRAYVAR_DESC= 3rd party array_var module BROTLI_DESC= 3rd party brotli module DRIZZLE_DESC= 3rd party drizzlie module DYNAMIC_UPSTREAM_DESC= 3rd party dynamic_upstream module ENCRYPTSESSION_DESC= 3rd party encrypted_session module FORMINPUT_DESC= 3rd party form_input module GRIDFS_DESC= 3rd party gridfs module ICONV_DESC= 3rd party iconv module LET_DESC= 3rd party let module LUA_DESC= 3rd party lua module MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module NAXSI_DESC= 3rd party naxsi module PASSENGER_DESC= 3rd party passenger module POSTGRES_DESC= 3rd party postgres module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module RTMP_DESC= 3rd party rtmp module SET_MISC_DESC= 3rd party set_misc module SFLOW_DESC= 3rd party sflow module SHIBBOLETH_DESC= 3rd party shibboleth module SLOWFS_CACHE_DESC= 3rd party slowfs_cache module SMALL_LIGHT_DESC= 3rd party small_light module SRCACHE_DESC= 3rd party srcache module STATSD_DESC= 3rd party statsd module UDPLOG_DESC= 3rd party udplog (syslog) module XRID_HEADER_DESC= 3rd party x-rid header module XSS_DESC= 3rd party xss module VIDEO_DESC= Video module support WANT_GNOME= yes .include .if ${PORT_OPTIONS:MPASSENGER} CATEGORIES+= ruby USE_RUBY= yes BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:devel/rubygem-rake RAKE_BIN= ${LOCALBASE}/bin/rake .endif NGINX_VARDIR?= /var NGINX_LOGDIR?= ${NGINX_VARDIR}/log NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/nginx-access.log NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log CONFLICTS?= nginx-devel-1.* USE_RC_SUBR= nginx SUB_FILES= pkg-message SUB_LIST+= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} \ NGINX_RUNDIR=${NGINX_RUNDIR} \ NGINX_TMPDIR=${NGINX_TMPDIR} \ PREFIX=${PREFIX} HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${ETCDIR} \ --with-cc-opt="-I ${LOCALBASE}/include" \ --with-ld-opt="-L ${LOCALBASE}/lib" \ --conf-path=${ETCDIR}/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=${NGINX_RUNDIR}/nginx.pid \ --error-log-path=${NGINX_ERRORLOG} \ --user=${WWWOWN} --group=${WWWGRP} .if !empty(PORT_OPTIONS:MDSO) MODULESDIR= ${PREFIX}/libexec/${PORTNAME} CONFIGURE_ARGS+=--modules-path=${MODULESDIR} .endif .if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL) IGNORE= requires at least HTTP or MAIL to \ be defined. Please do 'make config' again .endif .if ${PORT_OPTIONS:MDEBUG} CFLAGS+= -g STRIP= #do not strip if nginx with debug information .endif .if ${PORT_OPTIONS:MDEBUGLOG} CONFIGURE_ARGS+=--with-debug .endif .if ${PORT_OPTIONS:MFILE_AIO} CONFIGURE_ARGS+=--with-file-aio .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--with-ipv6 CATEGORIES+= ipv6 .endif .if ${PORT_OPTIONS:MGOOGLE_PERFTOOLS} LIB_DEPENDS+= libprofiler.so:devel/google-perftools CONFIGURE_ARGS+=--with-google_perftools_module .endif .if ${PORT_OPTIONS:MHTTP} CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \ --http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \ --http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \ --http-log-path=${NGINX_ACCESSLOG} .if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE} GIT_ACCEPT_LANGUAGE_VERSION= 2f69842 GH_ACCOUNT+= giom:accept_language GH_PROJECT+= nginx_accept_language_module:accept_language GH_TAGNAME+= ${GIT_ACCEPT_LANGUAGE_VERSION}:accept_language CONFIGURE_ARGS+=--add-module=${WRKSRC_accept_language} .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} NGINX_ACCESSKEY_VERSION= 2.0.3 MASTER_SITES+= LOCAL/osa:accesskey DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_ADDITION} CONFIGURE_ARGS+=--with-http_addition_module .endif .if ${PORT_OPTIONS:MHTTP_AUTH_DIGEST} GIT_AUTH_DIGEST_VERSION= 4edfb18 GH_ACCOUNT+= atomx:auth_digest GH_PROJECT+= nginx-http-auth-digest:auth_digest GH_TAGNAME+= ${GIT_AUTH_DIGEST_VERSION}:auth_digest CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_digest} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} GIT_HTTP_AUTH_KRB5_VERSION= c85a38c GH_ACCOUNT+= stnoonan:auth_krb5 GH_PROJECT+= spnego-http-auth-nginx-module:auth_krb5 GH_TAGNAME+= ${GIT_HTTP_AUTH_KRB5_VERSION}:auth_krb5 CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_krb5} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-spnego-http-auth-nginx-module-config # TODO: Provide optional dependence on Kerberos implementations from ports USES+= gssapi:base,flags .endif .if ${PORT_OPTIONS:MHTTP_AUTH_LDAP} # WWW: https://github.com/kvspb/nginx-auth-ldap GIT_HTTP_AUTH_LDAP_VERSION= dbcef31 GH_ACCOUNT+= kvspb:http_auth_ldap GH_PROJECT+= nginx-auth-ldap:http_auth_ldap GH_TAGNAME+= ${GIT_HTTP_AUTH_LDAP_VERSION}:http_auth_ldap .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_http_auth_ldap} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_http_auth_ldap} .endif USE_OPENLDAP= yes .endif .if ${PORT_OPTIONS:MHTTP_AUTH_PAM} NGINX_AUTH_PAM_VERSION= 1.2 MASTER_SITES+= http://web.iti.upv.es/~sto/nginx/:auth_pam DISTFILES+= ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION}.tar.gz:auth_pam CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_REQ} CONFIGURE_ARGS+=--with-http_auth_request_module .endif .if empty(PORT_OPTIONS:MHTTP_CACHE) CONFIGURE_ARGS+=--without-http-cache .endif .if ${PORT_OPTIONS:MAJP} NGINX_AJP_VERSION= bf6cd93 GH_ACCOUNT+= yaoweibin:ajp GH_PROJECT+= nginx_ajp_module:ajp GH_TAGNAME+= ${NGINX_AJP_VERSION}:ajp CONFIGURE_ARGS+=--add-module=${WRKSRC_ajp} .endif .if ${PORT_OPTIONS:MAWS_AUTH} NGINX_AWS_AUTH_VERSION= 1e62670 GH_ACCOUNT+= anomalizer:aws_auth GH_PROJECT+= ngx_aws_auth:aws_auth GH_TAGNAME+= ${NGINX_AWS_AUTH_VERSION}:aws_auth CONFIGURE_ARGS+=--add-module=${WRKSRC_aws_auth} .endif .if ${PORT_OPTIONS:MCACHE_PURGE} NGINX_CACHE_PURGE_VERSION= 2.3 MASTER_SITES+= http://labs.frickle.com/files/:cache_purge DISTFILES+= ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}.tar.gz:cache_purge CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION} .endif .if ${PORT_OPTIONS:MCLOJURE} CATEGORIES+= java USE_JAVA= yes JAVA_OS= native JAVA_VERSION= 1.8 JAVA_VENDOR= openjdk JAVA_BUILD= yes JAVA_RUN= yes NGINX_CLOJURE_VERSION= 0.4.4 GH_ACCOUNT+= nginx-clojure:clojure GH_PROJECT+= nginx-clojure:clojure GH_TAGNAME+= v${NGINX_CLOJURE_VERSION}:clojure CONFIGURE_ENV+= "JNI_INCS=-I${LOCALBASE}/openjdk8/include -I${LOCALBASE}/openjdk8/include/freebsd" CONFIGURE_ARGS+=--add-module=${WRKSRC_clojure}/src/c .endif .if ${PORT_OPTIONS:MCT} GIT_CT_VERSION= f3cad5e GH_ACCOUNT+= grahamedgecombe:ct GH_PROJECT+= nginx-ct:ct GH_TAGNAME+= ${GIT_CT_VERSION}:ct .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_ct} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_ct} .endif NGINX_OPENSSL= yes USE_HTTP_SSL= yes .endif .if ${PORT_OPTIONS:MECHO} NGINX_ECHO_VERSION= 4f7aa50 GH_ACCOUNT+= openresty:echo GH_PROJECT+= echo-nginx-module:echo GH_TAGNAME+= ${NGINX_ECHO_VERSION}:echo .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_echo} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_echo} .endif .endif .if ${PORT_OPTIONS:MHEADERS_MORE} NGINX_HEADERS_MORE_VERSION= f5559ec GH_ACCOUNT+= openresty:headers_more GH_PROJECT+= headers-more-nginx-module:headers_more GH_TAGNAME+= ${NGINX_HEADERS_MORE_VERSION}:headers_more .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_headers_more} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_headers_more} .endif .endif .if ${PORT_OPTIONS:MHTTP_DAV} || defined(USE_HTTP_DAV) CONFIGURE_ARGS+=--with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_DAV_EXT} USE_HTTP_DAV= yes LIB_DEPENDS+= libexpat.so:textproc/expat2 NGINX_DAV_EXT_VERSION= 0.0.3 GH_ACCOUNT+= arut:dav_ext GH_PROJECT+= nginx-dav-ext-module:dav_ext GH_TAGNAME+= v${NGINX_DAV_EXT_VERSION}:dav_ext CONFIGURE_ARGS+=--add-module=${WRKSRC_dav_ext} .endif .if ${PORT_OPTIONS:MHTTP_EVAL} NGINX_EVAL_VERSION= 342c812 GH_ACCOUNT+= openresty:eval GH_PROJECT+= nginx-eval-module:eval GH_TAGNAME+= ${NGINX_EVAL_VERSION}:eval .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_eval} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_eval} .endif .endif .if ${PORT_OPTIONS:MHTTP_FANCYINDEX} NGINX_FANCYINDEX_VERSION= 0.3.6 GH_ACCOUNT+= aperezdc:fancyindex GH_PROJECT+= ngx-fancyindex:fancyindex GH_TAGNAME+= v${NGINX_FANCYINDEX_VERSION}:fancyindex CONFIGURE_ARGS+=--add-module=${WRKSRC_fancyindex} .endif .if ${PORT_OPTIONS:MHTTP_FOOTER} NGINX_FOOTER_VERSION= 1.2.2 GH_ACCOUNT+= alibaba:footer GH_PROJECT+= nginx-http-footer-filter:footer GH_TAGNAME+= ${NGINX_FOOTER_VERSION}:footer CONFIGURE_ARGS+=--add-module=${WRKSRC_footer} .endif .if ${PORT_OPTIONS:MHTTP_FLV} CONFIGURE_ARGS+=--with-http_flv_module .endif .if ${PORT_OPTIONS:MHTTP_JSON_STATUS} NGINX_JSON_STATUS_VERSION= 1d2f303 GH_ACCOUNT+= nginx-modules:json_status GH_PROJECT+= ngx_http_json_status_module:json_status GH_TAGNAME+= ${NGINX_JSON_STATUS_VERSION}:json_status CONFIGURE_ARGS+=--add-module=${WRKSRC_json_status} .endif .if ${PORT_OPTIONS:MHTTP_GEOIP} .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_geoip_module=dynamic .else CONFIGURE_ARGS+=--with-http_geoip_module .endif LIB_DEPENDS+= libGeoIP.so:net/GeoIP .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_GUNZIP_FILTER} CONFIGURE_ARGS+=--with-http_gunzip_module .endif .if ${PORT_OPTIONS:MHTTP_IMAGE_FILTER} LIB_DEPENDS+= libgd.so:graphics/gd .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_image_filter_module=dynamic .else CONFIGURE_ARGS+=--with-http_image_filter_module .endif .endif .if ${PORT_OPTIONS:MHTTP_MP4} CONFIGURE_ARGS+=--with-http_mp4_module .endif .if ${PORT_OPTIONS:MHTTP_MOGILEFS} NGINX_MOGILEFS_VERSION= 1.0.4 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:mogilefs DISTFILES+= nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}.tar.gz:mogilefs CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_mogilefs_module.c .endif .if ${PORT_OPTIONS:MHTTP_MP4_H264} NGINX_H264_VERSION= 2.2.7 MASTER_SITES+= http://h264.code-shop.com/download/:mp4streaming DISTFILES+= nginx_mod_h264_streaming-${NGINX_H264_VERSION}.tar.gz:mp4streaming CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mod_h264_streaming-${NGINX_H264_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_streaming_module.c .endif .if ${PORT_OPTIONS:MHTTP_NOTICE} GIT_NOTICE_VERSION= 3c95966 GH_ACCOUNT+= kr:notice GH_PROJECT+= nginx-notice:notice GH_TAGNAME+= ${GIT_NOTICE_VERSION}:notice CONFIGURE_ARGS+=--add-module=${WRKSRC_notice} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c .endif .if ${PORT_OPTIONS:MHTTP_PERL} CATEGORIES+= perl5 .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_perl_module=dynamic .else CONFIGURE_ARGS+=--with-http_perl_module .endif USES+= perl5 .endif .if ${PORT_OPTIONS:MHTTP_PUSH} GIT_PUSH_VERSION= 0.99.15 GH_ACCOUNT+= slact:push GH_PROJECT+= nchan:push GH_TAGNAME+= v${GIT_PUSH_VERSION}:push CONFIGURE_ARGS+=--add-module=${WRKSRC_push} .endif .if ${PORT_OPTIONS:MHTTP_PUSH_STREAM} NGINX_PUSH_STREAM_VERSION= 0.5.1 GH_ACCOUNT+= wandenberg:pushstream GH_PROJECT+= nginx-push-stream-module:pushstream GH_TAGNAME+= ${NGINX_PUSH_STREAM_VERSION}:pushstream CONFIGURE_ARGS+=--add-module=${WRKSRC_pushstream} .endif .if ${PORT_OPTIONS:MHTTP_RANDOM_INDEX} CONFIGURE_ARGS+=--with-http_random_index_module .endif .if ${PORT_OPTIONS:MHTTP_REALIP} CONFIGURE_ARGS+=--with-http_realip_module .endif .if ${PORT_OPTIONS:MHTTP_REDIS} NGINX_REDIS_VERSION= 0.3.8 MASTER_SITES+= LOCAL/osa:redis DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .else CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .endif .endif .if ${PORT_OPTIONS:MHTTP_RESPONSE} NGINX_RESPONSE_VERSION= 0.3 MASTER_SITES+= http://catap.ru/downloads/nginx/:response DISTFILES+= ngx_http_response-${NGINX_RESPONSE_VERSION}.tar.gz:response CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_SUBS_FILTER} NGINX_HTTP_SUBS_FILTER_VERSION= 0.6.4 GH_ACCOUNT+= yaoweibin:subs_filter GH_PROJECT+= ngx_http_substitutions_filter_module:subs_filter GH_TAGNAME+= v${NGINX_HTTP_SUBS_FILTER_VERSION}:subs_filter CONFIGURE_ARGS+=--add-module=${WRKSRC_subs_filter} .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} LIB_DEPENDS+= libmsgpuck.so:devel/msgpuck \ libyajl.so:devel/yajl GH_ACCOUNT+= tarantool:nginx_tarantool GH_PROJECT+= nginx_upstream_module:nginx_tarantool GH_TAGNAME+= b852195:nginx_tarantool CFLAGS+= -I${LOCALBASE}/include/msgpuck CONFIGURE_ARGS+=--add-module=${WRKSRC_nginx_tarantool} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config .endif .if ${PORT_OPTIONS:MHTTP_SECURE_LINK} CONFIGURE_ARGS+=--with-http_secure_link_module .endif .if ${PORT_OPTIONS:MHTTP_SLICE} CONFIGURE_ARGS+=--with-http_slice_module .endif .if ${PORT_OPTIONS:MHTTP_STATUS} CONFIGURE_ARGS+=--with-http_stub_status_module .endif .if ${PORT_OPTIONS:MHTTP_SUB} CONFIGURE_ARGS+=--with-http_sub_module .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD} GIT_UPLOAD_VERSION= aba1e3f34c GH_ACCOUNT+= vkholodkov:upload GH_PROJECT+= nginx-upload-module:upload GH_TAGNAME+= ${GIT_UPLOAD_VERSION}:upload CONFIGURE_ARGS+=--add-module=${WRKSRC_upload} .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} NGINX_UPLOADPROGRESS_VERSION= 0.9.0 GH_ACCOUNT+= masterzen:uploadprogress GH_PROJECT+= nginx-upload-progress-module:uploadprogress GH_TAGNAME+= v${NGINX_UPLOADPROGRESS_VERSION}:uploadprogress CONFIGURE_ARGS+=--add-module=${WRKSRC_uploadprogress} .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_CHECK) # WWW: https://github.com/yaoweibin/nginx_upstream_check_module NGINX_UPSTREAM_CHECK_VERSION= 10782ea GH_ACCOUNT+= yaoweibin:upstreamcheck GH_PROJECT+= nginx_upstream_check_module:upstreamcheck GH_TAGNAME+= ${NGINX_UPSTREAM_CHECK_VERSION}:upstreamcheck CONFIGURE_ARGS+=--add-module=${WRKSRC_upstreamcheck} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_hash_module.c \ ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_ip_hash_module.c \ ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_least_conn_module.c \ ${PATCHDIR}/extra-patch-src-http-ngx_http_upstream_round_robin.c \ ${PATCHDIR}/extra-patch-src-http-ngx_http_upstream_round_robin.h .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR) NGINX_UPSTREAM_FAIR_VERSION= 20090923 MASTER_SITES+= LOCAL/osa:upstreamfair DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_CHECK) EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_upstream_fair_module.c .endif .endif .if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY} USE_HTTP_SSL= yes NGINX_UPSTREAM_STICKY_VERSION= 1.2.4 MASTER_SITES+= https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/get/:upstreamsticky DISTFILES+= ${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-c825ea7c5c91/ .endif .if ${PORT_OPTIONS:MHTTP_VIDEO_THUMBEXTRACTOR} NGINX_VIDEO_THUMBEXTRACTOR_VERSION= 0.7.0 LIB_DEPENDS+= libjpeg.so:graphics/jpeg \ libavformat.so:multimedia/ffmpeg \ libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libMagickWand-6.so:graphics/ImageMagick GH_ACCOUNT+= wandenberg:vte GH_PROJECT+= nginx-video-thumbextractor-module:vte GH_TAGNAME+= ${NGINX_VIDEO_THUMBEXTRACTOR_VERSION}:vte CONFIGURE_ARGS+=--add-module=${WRKSRC_vte} --with-cc-opt="-I ${LOCALBASE}/include \ -I ${LOCALBASE}/include/ImageMagick" .endif .if ${PORT_OPTIONS:MHTTP_XSLT} USE_GNOME+= libxml2 libxslt .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_xslt_module=dynamic .else CONFIGURE_ARGS+=--with-http_xslt_module .endif .endif .if ${PORT_OPTIONS:MHTTP_ZIP} NGINX_ZIP_VERSION= 1.1.6 MASTER_SITES+= http://mod-zip.googlecode.com/files/:zip DISTFILES+= mod_zip-${NGINX_ZIP_VERSION}.tar.gz:zip CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION} .endif .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzle.so:databases/libdrizzle NGINX_DRIZZLE_VERSION= 0.1.9 GH_ACCOUNT+= openresty:drizzle GH_PROJECT+= drizzle-nginx-module:drizzle GH_TAGNAME+= v${NGINX_DRIZZLE_VERSION}:drizzle CONFIGURE_ARGS+=--add-module=${WRKSRC_drizzle} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-drizzle-nginx-module-config .endif .if ${PORT_OPTIONS:MDYNAMIC_UPSTREAM} NGINX_DYNAMIC_UPSTREAM_VERSION= 0.1.3 GH_ACCOUNT+= cubicdaiya:dyn_upstream GH_PROJECT+= ngx_dynamic_upstream:dyn_upstream GH_TAGNAME+= v${NGINX_DYNAMIC_UPSTREAM_VERSION}:dyn_upstream .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_dyn_upstream} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_dyn_upstream} .endif .endif .if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MSET_MISC} NGINX_DEVEL_KIT_VERSION= 0.2.19 GH_ACCOUNT+= simpl:devel_kit GH_PROJECT+= ngx_devel_kit:devel_kit GH_TAGNAME+= v${NGINX_DEVEL_KIT_VERSION}:devel_kit CONFIGURE_ARGS+=--add-module=${WRKSRC_devel_kit} .endif .if ${PORT_OPTIONS:MENCRYPTSESSION} NGINX_ENCRYPTSESSION_VERSION= 0.03 GH_ACCOUNT+= openresty:encryptsession GH_PROJECT+= encrypted-session-nginx-module:encryptsession GH_TAGNAME+= v${NGINX_ENCRYPTSESSION_VERSION}:encryptsession CONFIGURE_ARGS+=--add-module=${WRKSRC_encryptsession} .endif .if ${PORT_OPTIONS:MGRIDFS} NGINX_GRIDFS_VERSION= 0.8 MONGO_C_DRIVER_VERSION= 0.3.1 GH_ACCOUNT+= mdirolf:gridfs mongodb:mongo_c GH_PROJECT+= nginx-gridfs:gridfs mongo-c-driver:mongo_c GH_TAGNAME+= v${NGINX_GRIDFS_VERSION}:gridfs v${MONGO_C_DRIVER_VERSION}:mongo_c CONFIGURE_ARGS+=--add-module=${WRKSRC_gridfs} .endif .if ${PORT_OPTIONS:MLET} NGINX_LET_VERSION= 0.0.4 GH_ACCOUNT+= arut:let GH_PROJECT+= nginx-let-module:let GH_TAGNAME+= v${NGINX_LET_VERSION}:let CONFIGURE_ARGS+=--add-module=${WRKSRC_let} .endif .if ${PORT_OPTIONS:MLUA} LIB_DEPENDS+= libluajit-5.1.so:lang/luajit CONFIGURE_ENV+= "LUAJIT_INC=${LOCALBASE}/include/luajit-2.0" CONFIGURE_ENV+= "LUAJIT_LIB=${LOCALBASE}/lib" NGINX_LUA_VERSION= 0.10.5 GH_ACCOUNT+= openresty:lua GH_PROJECT+= lua-nginx-module:lua GH_TAGNAME+= v${NGINX_LUA_VERSION}:lua .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_lua} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_lua} .endif .endif .if ${PORT_OPTIONS:MMEMC} NGINX_MEMC_VERSION= 0.16 GH_ACCOUNT+= openresty:memc GH_PROJECT+= memc-nginx-module:memc GH_TAGNAME+= v${NGINX_MEMC_VERSION}:memc CONFIGURE_ARGS+=--add-module=${WRKSRC_memc} .endif .if ${PORT_OPTIONS:MMODSECURITY} NGINX_MODSECURITY_VERSION= 2.9.1 LIB_DEPENDS+= libapr-1.so:devel/apr1 \ libcurl.so:ftp/curl \ libluajit-5.1.so:lang/luajit \ libpcre.so:devel/pcre \ libyajl.so:devel/yajl USE_APACHE= 22+ USE_GNOME+= libxml2 MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION:S/RC/rc/}/:modsecurity DISTFILES+= modsecurity-${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/nginx/modsecurity EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-nginx-modsecurity-configure .endif .if ${PORT_OPTIONS:MNAXSI} NGINX_NAXSI_VERSION= 0.54 GH_ACCOUNT+= nbs-system:naxsi GH_PROJECT+= naxsi:naxsi GH_TAGNAME+= ${NGINX_NAXSI_VERSION}:naxsi CONFIGURE_ARGS+=--add-module=${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_src .endif .if ${PORT_OPTIONS:MHTTP_REWRITE} || defined(USE_HTTP_REWRITE) LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-pcre .else PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre CONFIGURE_ARGS+=--without-http_rewrite_module \ --without-pcre .endif .if ${PORT_OPTIONS:MPASSENGER} PASSENGER_VERSION= 5.0.29 MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module .else CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-passenger-build-nginx.rb .if empty(PORT_OPTIONS:MDEBUG) CONFIGURE_ENV+= OPTIMIZE="yes" CFLAGS+= -DNDEBUG .endif .endif .if ${PORT_OPTIONS:MPOSTGRES} USES+= pgsql NGINX_POSTGRES_VERSION= 1.0rc7 GH_ACCOUNT+= FRiCKLE:postgres GH_PROJECT+= ngx_postgres:postgres GH_TAGNAME+= ${NGINX_POSTGRES_VERSION}:postgres CONFIGURE_ARGS+=--add-module=${WRKSRC_postgres} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config .endif .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.07 GH_ACCOUNT+= openresty:rdscsv GH_PROJECT+= rds-csv-nginx-module:rdscsv GH_TAGNAME+= v${NGINX_RDS_CSV_VERSION}:rdscsv CONFIGURE_ARGS+=--add-module=${WRKSRC_rdscsv} .endif .if ${PORT_OPTIONS:MRDS_JSON} NGINX_RDS_JSON_VERSION= 0.14 GH_ACCOUNT+= openresty:rdsjson GH_PROJECT+= rds-json-nginx-module:rdsjson GH_TAGNAME+= v${NGINX_RDS_JSON_VERSION}:rdsjson CONFIGURE_ARGS+=--add-module=${WRKSRC_rdsjson} .endif .if ${PORT_OPTIONS:MREDIS2} NGINX_REDIS2_VERSION= 0.12 GH_ACCOUNT+= openresty:redis2 GH_PROJECT+= redis2-nginx-module:redis2 GH_TAGNAME+= v${NGINX_REDIS2_VERSION}:redis2 CONFIGURE_ARGS+=--add-module=${WRKSRC_redis2} .endif .if ${PORT_OPTIONS:MRTMP} NGINX_RTMP_VERSION= 1.1.7 GH_ACCOUNT+= arut:rtmp GH_PROJECT+= nginx-rtmp-module:rtmp GH_TAGNAME+= v${NGINX_RTMP_VERSION}:rtmp CONFIGURE_ARGS+=--add-module=${WRKSRC_rtmp} .endif .if ${PORT_OPTIONS:MSET_MISC} NGINX_SET_MISC_VERSION= 6582fb4 GH_ACCOUNT+= openresty:setmisc GH_PROJECT+= set-misc-nginx-module:setmisc GH_TAGNAME+= ${NGINX_SET_MISC_VERSION}:setmisc .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_setmisc} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_setmisc} .endif .endif .if ${PORT_OPTIONS:MSFLOW} NGINX_SFLOW_VERSION= 0.9.7 MASTER_SITES+= http://nginx-sflow-module.googlecode.com/files/:sflow DISTFILES+= nginx-sflow-module-${NGINX_SFLOW_VERSION}.tar.gz:sflow CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c \ ${PATCHDIR}/extra-patch-ngx_http_sflow_config.h \ ${PATCHDIR}/extra-patch-ngx_http_sflow_module.c .endif .if ${PORT_OPTIONS:MSHIBBOLETH} GIT_SHIBBOLETH_VERSION= 4f1119b GH_ACCOUNT+= nginx-shib:shib GH_PROJECT+= nginx-http-shibboleth:shib GH_TAGNAME+= ${GIT_SHIBBOLETH_VERSION}:shib CONFIGURE_ARGS+=--add-module=${WRKSRC_shib} .endif .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.10 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache DISTFILES+= ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION} .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} NGINX_SMALL_LIGHT_VERSION= 0.6.15 LIB_DEPENDS+= libMagickCore-6.so:graphics/ImageMagick \ libMagickWand-6.so:graphics/ImageMagick \ libpcre.so:devel/pcre GH_ACCOUNT+= cubicdaiya:small_light GH_PROJECT+= ngx_small_light:small_light GH_TAGNAME+= v${NGINX_SMALL_LIGHT_VERSION}:small_light .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_small_light} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_small_light} .endif .endif .if ${PORT_OPTIONS:MSRCACHE} NGINX_SRCACHE_VERSION= 0.30 GH_ACCOUNT+= openresty:srcache GH_PROJECT+= srcache-nginx-module:srcache GH_TAGNAME+= v${NGINX_SRCACHE_VERSION}:srcache CONFIGURE_ARGS+=--add-module=${WRKSRC_srcache} .endif .if ${PORT_OPTIONS:MSTATSD} NGINX_STATSD_VERSION= b756a12 GH_ACCOUNT+= zebrafishlabs:statsd GH_PROJECT+= nginx-statsd:statsd GH_TAGNAME+= ${NGINX_STATSD_VERSION}:statsd CONFIGURE_ARGS+=--add-module=${WRKSRC_statsd} .endif .if ${PORT_OPTIONS:MUDPLOG} NGINX_UDPLOG_VERSION= 1.0.0 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:udplog DISTFILES+= nginx_udplog_module-${NGINX_UDPLOG_VERSION}.tar.gz:udplog CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_udplog_module.c .endif .if ${PORT_OPTIONS:MXRID_HEADER} GIT_XRID_VERSION= 0daa3cc GH_ACCOUNT+= gabor:xrid GH_PROJECT+= nginx-x-rid-header:xrid GH_TAGNAME+= ${GIT_XRID_VERSION}:xrid CONFIGURE_ARGS+=--add-module=${WRKSRC_xrid} .endif .if ${PORT_OPTIONS:MXSS} NGINX_XSS_VERSION= 0.04 GH_ACCOUNT+= openresty:xss GH_PROJECT+= xss-nginx-module:xss GH_TAGNAME+= v${NGINX_XSS_VERSION}:xss CONFIGURE_ARGS+=--add-module=${WRKSRC_xss} .endif .if ${PORT_OPTIONS:MHTTPV2} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-http_v2_module .endif .if ${PORT_OPTIONS:MNJS} GH_ACCOUNT+= nginx:njs GH_PROJECT+= njs:njs GH_TAGNAME+= f71f005:njs .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_njs}/nginx .else CONFIGURE_ARGS+=--add-module=${WRKSRC_njs}/nginx .endif .endif .if ${PORT_OPTIONS:MSTREAM} .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-stream=dynamic .else CONFIGURE_ARGS+=--with-stream .endif .if ${PORT_OPTIONS:MSTREAM_SSL} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-stream_ssl_module .endif .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--with-threads .endif .if ${PORT_OPTIONS:MWWW} PLIST_SUB+= WWWDATA="" .else PLIST_SUB+= WWWDATA="@comment " .endif .else CONFIGURE_ARGS+=--without-http PLIST_SUB+= WWWDATA="@comment " .endif # WITH_HTTP .if ${PORT_OPTIONS:MMAIL} .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-mail=dynamic .else CONFIGURE_ARGS+=--with-mail .endif .if empty(PORT_OPTIONS:MMAIL_IMAP) CONFIGURE_ARGS+=--without-mail_imap_module .endif .if empty(PORT_OPTIONS:MMAIL_POP3) CONFIGURE_ARGS+=--without-mail_pop3_module .endif .if empty(PORT_OPTIONS:MMAIL_SMTP) CONFIGURE_ARGS+=--without-mail_smtp_module .endif .if ${PORT_OPTIONS:MMAIL_SSL} NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-mail_ssl_module .endif .endif # WITH_MAIL .if ${PORT_OPTIONS:MHTTP_SSL} || defined(USE_HTTP_SSL) NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-http_ssl_module .endif .if ${PORT_OPTIONS:MARRAYVAR} NGINX_ARRAYVAR_VERSION= 0.03 GH_ACCOUNT+= openresty:arrayvar GH_PROJECT+= array-var-nginx-module:arrayvar GH_TAGNAME+= v${NGINX_ARRAYVAR_VERSION}:arrayvar CONFIGURE_ARGS+=--add-module=${WRKSRC_arrayvar} .endif .if ${PORT_OPTIONS:MBROTLI} NGINX_BROTLI_VERSION= ada972b LIB_DEPENDS+= libbrotlidec.so:devel/libbrotli \ libbrotlienc.so:devel/libbrotli GH_ACCOUNT+= google:brotli GH_PROJECT+= ngx_brotli:brotli GH_TAGNAME+= ${NGINX_BROTLI_VERSION}:brotli .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_brotli} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_brotli} .endif .endif .if ${PORT_OPTIONS:MFORMINPUT} NGINX_FORMINPUT_VERSION= 0.07 GH_ACCOUNT+= calio:forminput GH_PROJECT+= form-input-nginx-module:forminput GH_TAGNAME+= v${NGINX_FORMINPUT_VERSION}:forminput CONFIGURE_ARGS+=--add-module=${WRKSRC_forminput} .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv NGINX_ICONV_VERSION= 0.10 GH_ACCOUNT+= calio:iconv GH_PROJECT+= iconv-nginx-module:iconv GH_TAGNAME+= v${NGINX_ICONV_VERSION}:iconv CONFIGURE_ARGS+=--add-module=${WRKSRC_iconv} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config .endif PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} USERS?= ${WWWOWN} GROUPS?=${WWWGRP} .if defined(NGINX_OPENSSL) USE_OPENSSL= yes .if ${OSVERSION} < 1100000 WITH_OPENSSL_PORT=yes .endif .endif pre-everything:: @${ECHO_MSG} .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support" .endif .if ${PORT_OPTIONS:MPASSENGER} @${ECHO_MSG} "This port install Passenger module only" .endif @${ECHO_MSG} post-extract: .if ${PORT_OPTIONS:MGRIDFS} @${RMDIR} ${WRKSRC_gridfs}/mongo-c-driver/ @${MV} ${WRKSRC_mongo_c} ${WRKSRC_gridfs}/mongo-c-driver .endif post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!' \ ${WRKSRC}/conf/nginx.conf .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ '128s!NGX_OK!NGX_DECLINED!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/ngx_http_accesskey_module.c .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} @${REINPLACE_CMD} \ 's!%%GSSAPILIBS%%!${GSSAPILIBS}!' \ ${WRKSRC_auth_krb5}/config .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ 's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/config .endif # linker error acquire if --std=c99 defined, add "static" to inline function .if ${PORT_OPTIONS:MHTTP_ZIP} @${REINPLACE_CMD} \ 's!^inline!static inline!' \ ${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}/ngx_http_zip_parsers.* .endif .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_drizzle}/config .endif # Respect CFLAGS by remove needless --std=c99 flag .if ${PORT_OPTIONS:MGRIDFS} @${REINPLACE_CMD} \ 's!--std=c99!-DMONGO_HAVE_STDINT!' \ ${WRKSRC_gridfs}/config .endif .if ${PORT_OPTIONS:MPASSENGER} @${REINPLACE_CMD} \ '177,179s!true!false!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/basics.rb @${REINPLACE_CMD} \ 's!-I/usr/include/libev!!; \ s!-lev!!; \ s!-Iext/libev!!; \ s!-I/usr/include/libeio!!; \ s!-leio!!; \ s!-Iext/libeio!!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/common_library.rb .endif .if ${PORT_OPTIONS:MPOSTGRES} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_postgres}/config .endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}/ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MSTATSD} @${REINPLACE_CMD} \ 's!ngx_udp_connection_t!ngx_resolver_connection_t!g; \ s!uc->connection!uc->udp!g; \ s!e->udp_connection->connection!e->udp_connection->udp!g' \ ${WRKSRC_statsd}/ngx_http_statsd.c .endif .if ${PORT_OPTIONS:MUDPLOG} @${REINPLACE_CMD} \ 's!ngx_udp_connection_t!ngx_resolver_connection_t!g; \ s!uc->connection!uc->udp!g; \ s!e->udp_connection->connection!e->udp_connection->udp!g' \ ${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_VERSION}/ngx_http_udplog_module.c .endif .if ${PORT_OPTIONS:MICONV} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_iconv}/config .endif .if ${PORT_OPTIONS:MMODSECURITY} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/configure .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_nginx_tarantool}/config .endif pre-configure: .if ${PORT_OPTIONS:MMODSECURITY} ( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \ CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} ( cd ${WRKSRC_small_light} && ./setup ) .endif do-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} .if !empty(PORT_OPTIONS:MDSO) ${MKDIR} ${STAGEDIR}${MODULESDIR} .endif ${MKDIR} ${STAGEDIR}${NGINX_TMPDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${STAGEDIR}${PREFIX}/sbin .for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR} .endfor .for i in fastcgi_params mime.types scgi_params uwsgi_params ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR}/${i}-dist .endfor .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MWWW) ${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist .for i in index.html 50x.html ${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${PREFIX}/www/nginx-dist .endfor ${ECHO_CMD} "" >>${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING .endif .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/ .endif # Install dynamic modules .if !empty(PORT_OPTIONS:MDSO) (cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \ -exec ${INSTALL_PROGRAM} "{}" ${STAGEDIR}${MODULESDIR} \;) .endif .if ${PORT_OPTIONS:MNAXSI} ${INSTALL_DATA} \ ${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_config/naxsi_core.rules \ ${STAGEDIR}${ETCDIR} .endif post-install: .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${ECHO_CMD} ${SITE_ARCH_REL}/auto/nginx/nginx.so >> ${TMPPLIST} ${ECHO_CMD} ${SITE_ARCH_REL}/nginx.pm >> ${TMPPLIST} .endif ${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .if ${PORT_OPTIONS:MNAXSI} ${ECHO_CMD} etc/nginx/naxsi_core.rules >> ${TMPPLIST} .endif # Add dynamic modules to the plist .if !empty(PORT_OPTIONS:MDSO) (cd ${STAGEDIR}${PREFIX} && ${FIND} ${MODULESDIR:S|${PREFIX}/||} \ ! -type d >>${TMPPLIST}) # Update nginx.conf-dist with a list of staged dynamic modules (cd ${STAGEDIR} && \ ${FIND} ${MODULESDIR:S|^/||} -type f -name '*.so' \ -exec ${ECHO_CMD} "load_module /{};" \; \ >>${STAGEDIR}${ETCDIR}/nginx.conf-dist) .endif ${CAT} ${WRKSRC}/conf/nginx.conf \ >>${STAGEDIR}${ETCDIR}/nginx.conf-dist .include Index: head/www/nginx-devel/Makefile =================================================================== --- head/www/nginx-devel/Makefile (revision 418828) +++ head/www/nginx-devel/Makefile (revision 418829) @@ -1,1306 +1,1307 @@ # Created by: Sergey A. Osokin # $FreeBSD$ PORTNAME= nginx PORTVERSION= 1.11.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= LOCAL/osa PKGNAMESUFFIX= -devel DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= osa@FreeBSD.org COMMENT= Robust and small WWW server LICENSE= BSD2CLAUSE USES+= cpe CPE_VENDOR= nginx CPE_PRODUCT= nginx USE_GITHUB= nodefault NO_OPTIONS_SORT= yes OPTIONS_DEFINE= \ DSO \ DEBUG \ DEBUGLOG \ FILE_AIO \ IPV6 \ GOOGLE_PERFTOOLS \ HTTP \ HTTP_ADDITION \ HTTP_AUTH_REQ \ HTTP_CACHE \ HTTP_DAV \ HTTP_FLV \ HTTP_GEOIP \ HTTP_GZIP_STATIC \ HTTP_GUNZIP_FILTER \ HTTP_IMAGE_FILTER \ HTTP_MP4 \ HTTP_PERL \ HTTP_RANDOM_INDEX \ HTTP_REALIP \ HTTP_REWRITE \ HTTP_SECURE_LINK \ HTTP_SLICE \ HTTP_SSL \ HTTP_STATUS \ HTTP_SUB \ HTTP_XSLT \ MAIL \ MAIL_IMAP \ MAIL_POP3 \ MAIL_SMTP \ MAIL_SSL \ HTTPV2 \ NJS \ STREAM \ STREAM_SSL \ THREADS \ WWW \ AJP \ AWS_AUTH \ CACHE_PURGE \ CLOJURE \ CT \ ECHO \ HEADERS_MORE \ HTTP_ACCEPT_LANGUAGE \ HTTP_ACCESSKEY \ HTTP_AUTH_DIGEST \ HTTP_AUTH_KRB5 \ HTTP_AUTH_LDAP \ HTTP_AUTH_PAM \ HTTP_DAV_EXT \ HTTP_EVAL \ HTTP_FANCYINDEX \ HTTP_FOOTER \ HTTP_JSON_STATUS \ HTTP_MOGILEFS \ HTTP_MP4_H264 \ HTTP_NOTICE \ HTTP_PUSH \ HTTP_PUSH_STREAM \ HTTP_REDIS \ HTTP_RESPONSE \ HTTP_SUBS_FILTER \ HTTP_TARANTOOL \ HTTP_UPLOAD \ HTTP_UPLOAD_PROGRESS \ HTTP_UPSTREAM_CHECK \ HTTP_UPSTREAM_FAIR \ HTTP_UPSTREAM_STICKY \ HTTP_VIDEO_THUMBEXTRACTOR \ HTTP_ZIP \ ARRAYVAR \ BROTLI \ DRIZZLE \ DYNAMIC_UPSTREAM \ ENCRYPTSESSION \ FORMINPUT \ GRIDFS \ ICONV \ LET \ LUA \ MEMC \ MODSECURITY \ NAXSI \ PASSENGER \ POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ RTMP \ SET_MISC \ SFLOW \ SHIBBOLETH \ SLOWFS_CACHE \ SMALL_LIGHT \ SRCACHE \ STATSD \ UDPLOG \ XRID_HEADER \ XSS OPTIONS_DEFAULT=DSO FILE_AIO HTTP HTTP_ADDITION HTTP_AUTH_REQ HTTP_CACHE \ HTTP_DAV HTTP_FLV HTTP_GZIP_STATIC HTTP_GUNZIP_FILTER \ HTTP_MP4 HTTP_RANDOM_INDEX HTTP_REALIP HTTP_SECURE_LINK \ HTTP_SLICE HTTP_REWRITE HTTP_SSL HTTP_STATUS HTTP_SUB \ HTTPV2 MAIL MAIL_SSL STREAM STREAM_SSL THREADS WWW DSO_DESC= Enable dynamic modules support DEBUG_DESC= Build with debugging support DEBUGLOG_DESC= Enable debug log (--with-debug) FILE_AIO_DESC= Enable file aio GOOGLE_PERFTOOLS_DESC= Enable google perftools module HTTP_DESC= Enable HTTP module HTTP_ADDITION_DESC= Enable http_addition module HTTP_AUTH_REQ_DESC= Enable http_auth_request module HTTP_CACHE_DESC= Enable http_cache module HTTP_DAV_DESC= Enable http_webdav module HTTP_FLV_DESC= Enable http_flv module HTTP_GEOIP_DESC= Enable http_geoip module HTTP_GZIP_STATIC_DESC= Enable http_gzip_static module HTTP_GUNZIP_FILTER_DESC= Enable http_gunzip_filter module HTTP_IMAGE_FILTER_DESC= Enable http_image_filter module HTTP_MP4_DESC= Enable http_mp4 module HTTP_PERL_DESC= Enable http_perl module HTTP_RANDOM_INDEX_DESC= Enable http_random_index module HTTP_REALIP_DESC= Enable http_realip module HTTP_REWRITE_DESC= Enable http_rewrite module HTTP_SECURE_LINK_DESC= Enable http_secure_link module HTTP_SLICE_DESC= Enable http_slice module HTTP_SSL_DESC= Enable http_ssl module HTTP_STATUS_DESC= Enable http_stub_status module HTTP_SUB_DESC= Enable http_sub module HTTP_XSLT_DESC= Enable http_xslt module MAIL_DESC= Enable IMAP4/POP3/SMTP proxy module MAIL_IMAP_DESC= Enable IMAP4 proxy module MAIL_POP3_DESC= Enable POP3 proxy module MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module HTTPV2_DESC= Enable HTTP/2 protocol support (SSL req.) NJS_DESC= Enable http_javascript module STREAM_DESC= Enable stream module STREAM_SSL_DESC= Enable stream_ssl module (SSL req.) THREADS_DESC= Enable threads support WWW_DESC= Enable html sample files AJP_DESC= 3rd party ajp module AWS_AUTH_DESC= 3rd party aws auth module CACHE_PURGE_DESC= 3rd party cache_purge module CLOJURE_DESC= 3rd party clojure module CT_DESC= 3rd party cert_transparency module (SSL req.) ECHO_DESC= 3rd party echo module HEADERS_MORE_DESC= 3rd party headers_more module HTTP_ACCEPT_LANGUAGE_DESC= 3rd party accept_language module HTTP_ACCESSKEY_DESC= 3rd party http_accesskey module HTTP_AUTH_DIGEST_DESC= 3rd party http_authdigest module HTTP_AUTH_KRB5_DESC= 3rd party http_auth_gss module HTTP_AUTH_LDAP_DESC= 3rd party http_auth_ldap module HTTP_AUTH_PAM_DESC= 3rd party http_auth_pam module HTTP_DAV_EXT_DESC= 3rd party webdav_ext module HTTP_EVAL_DESC= 3rd party eval module HTTP_FANCYINDEX_DESC= 3rd party http_fancyindex module HTTP_FOOTER_DESC= 3rd party http_footer module HTTP_JSON_STATUS_DESC= 3rd party http_json_status module HTTP_MOGILEFS_DESC= 3rd party mogilefs module HTTP_MP4_H264_DESC= 3rd party mp4/h264 module HTTP_NOTICE_DESC= 3rd party notice module HTTP_PUSH_DESC= 3rd party push module HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_REDIS_DESC= 3rd party http_redis module HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_SUBS_FILTER_DESC= 3rd party subs filter module HTTP_TARANTOOL_DESC= 3rd party tarantool upstream module HTTP_UPLOAD_DESC= 3rd party upload module HTTP_UPLOAD_PROGRESS_DESC= 3rd party uploadprogress module HTTP_UPSTREAM_CHECK_DESC= 3rd party upstream check module HTTP_UPSTREAM_FAIR_DESC= 3rd party upstream fair module HTTP_UPSTREAM_STICKY_DESC= 3rd party upstream sticky module HTTP_VIDEO_THUMBEXTRACTOR_DESC= 3rd party video_thumbextractor module HTTP_ZIP_DESC= 3rd party http_zip module ARRAYVAR_DESC= 3rd party array_var module BROTLI_DESC= 3rd party brotli module DRIZZLE_DESC= 3rd party drizzlie module DYNAMIC_UPSTREAM_DESC= 3rd party dynamic_upstream module ENCRYPTSESSION_DESC= 3rd party encrypted_session module FORMINPUT_DESC= 3rd party form_input module GRIDFS_DESC= 3rd party gridfs module ICONV_DESC= 3rd party iconv module LET_DESC= 3rd party let module LUA_DESC= 3rd party lua module MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module NAXSI_DESC= 3rd party naxsi module PASSENGER_DESC= 3rd party passenger module POSTGRES_DESC= 3rd party postgres module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module RTMP_DESC= 3rd party rtmp module SET_MISC_DESC= 3rd party set_misc module SFLOW_DESC= 3rd party sflow module SHIBBOLETH_DESC= 3rd party shibboleth module SLOWFS_CACHE_DESC= 3rd party slowfs_cache module SMALL_LIGHT_DESC= 3rd party small_light module SRCACHE_DESC= 3rd party srcache module STATSD_DESC= 3rd party statsd module UDPLOG_DESC= 3rd party udplog (syslog) module XRID_HEADER_DESC= 3rd party x-rid header module XSS_DESC= 3rd party xss module VIDEO_DESC= Video module support WANT_GNOME= yes .include .if ${PORT_OPTIONS:MPASSENGER} CATEGORIES+= ruby USE_RUBY= yes BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:devel/rubygem-rake RAKE_BIN= ${LOCALBASE}/bin/rake .endif NGINX_VARDIR?= /var NGINX_LOGDIR?= ${NGINX_VARDIR}/log NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/nginx-access.log NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log CONFLICTS?= nginx-1.* USE_RC_SUBR= nginx SUB_FILES= pkg-message SUB_LIST+= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} \ NGINX_RUNDIR=${NGINX_RUNDIR} \ NGINX_TMPDIR=${NGINX_TMPDIR} \ PREFIX=${PREFIX} HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${ETCDIR} \ --with-cc-opt="-I ${LOCALBASE}/include" \ --with-ld-opt="-L ${LOCALBASE}/lib" \ --conf-path=${ETCDIR}/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=${NGINX_RUNDIR}/nginx.pid \ --error-log-path=${NGINX_ERRORLOG} \ --user=${WWWOWN} --group=${WWWGRP} .if !empty(PORT_OPTIONS:MDSO) MODULESDIR= ${PREFIX}/libexec/${PORTNAME} CONFIGURE_ARGS+=--modules-path=${MODULESDIR} .endif .if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL) IGNORE= requires at least HTTP or MAIL to \ be defined. Please do 'make config' again .endif .if ${PORT_OPTIONS:MDEBUG} CFLAGS+= -g STRIP= #do not strip if nginx with debug information .endif .if ${PORT_OPTIONS:MDEBUGLOG} CONFIGURE_ARGS+=--with-debug .endif .if ${PORT_OPTIONS:MFILE_AIO} CONFIGURE_ARGS+=--with-file-aio .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--with-ipv6 CATEGORIES+= ipv6 .endif .if ${PORT_OPTIONS:MGOOGLE_PERFTOOLS} LIB_DEPENDS+= libprofiler.so:devel/google-perftools CONFIGURE_ARGS+=--with-google_perftools_module .endif .if ${PORT_OPTIONS:MHTTP} CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \ --http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \ --http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \ --http-log-path=${NGINX_ACCESSLOG} .if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE} GIT_ACCEPT_LANGUAGE_VERSION= 2f69842 GH_ACCOUNT+= giom:accept_language GH_PROJECT+= nginx_accept_language_module:accept_language GH_TAGNAME+= ${GIT_ACCEPT_LANGUAGE_VERSION}:accept_language CONFIGURE_ARGS+=--add-module=${WRKSRC_accept_language} .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} NGINX_ACCESSKEY_VERSION= 2.0.3 MASTER_SITES+= LOCAL/osa:accesskey DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION} IGNORE= ACCESSKEY: a patch requires .endif .if ${PORT_OPTIONS:MHTTP_ADDITION} CONFIGURE_ARGS+=--with-http_addition_module .endif .if ${PORT_OPTIONS:MHTTP_AUTH_DIGEST} GIT_AUTH_DIGEST_VERSION= 4edfb18 GH_ACCOUNT+= atomx:auth_digest GH_PROJECT+= nginx-http-auth-digest:auth_digest GH_TAGNAME+= ${GIT_AUTH_DIGEST_VERSION}:auth_digest CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_digest} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} GIT_HTTP_AUTH_KRB5_VERSION= c85a38c GH_ACCOUNT+= stnoonan:auth_krb5 GH_PROJECT+= spnego-http-auth-nginx-module:auth_krb5 GH_TAGNAME+= ${GIT_HTTP_AUTH_KRB5_VERSION}:auth_krb5 CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_krb5} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-spnego-http-auth-nginx-module-config # TODO: Provide optional dependence on Kerberos implementations from ports USES+= gssapi:base,flags .endif .if ${PORT_OPTIONS:MHTTP_AUTH_LDAP} # WWW: https://github.com/kvspb/nginx-auth-ldap GIT_HTTP_AUTH_LDAP_VERSION= dbcef31 GH_ACCOUNT+= kvspb:http_auth_ldap GH_PROJECT+= nginx-auth-ldap:http_auth_ldap GH_TAGNAME+= ${GIT_HTTP_AUTH_LDAP_VERSION}:http_auth_ldap .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_http_auth_ldap} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_http_auth_ldap} .endif USE_OPENLDAP= yes .endif .if ${PORT_OPTIONS:MHTTP_AUTH_PAM} NGINX_AUTH_PAM_VERSION= 1.2 MASTER_SITES+= http://web.iti.upv.es/~sto/nginx/:auth_pam DISTFILES+= ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION}.tar.gz:auth_pam CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_REQ} CONFIGURE_ARGS+=--with-http_auth_request_module .endif .if empty(PORT_OPTIONS:MHTTP_CACHE) CONFIGURE_ARGS+=--without-http-cache .endif .if ${PORT_OPTIONS:MAJP} NGINX_AJP_VERSION= bf6cd93 GH_ACCOUNT+= yaoweibin:ajp GH_PROJECT+= nginx_ajp_module:ajp GH_TAGNAME+= ${NGINX_AJP_VERSION}:ajp CONFIGURE_ARGS+=--add-module=${WRKSRC_ajp} .endif .if ${PORT_OPTIONS:MAWS_AUTH} NGINX_AWS_AUTH_VERSION= 1e62670 GH_ACCOUNT+= anomalizer:aws_auth GH_PROJECT+= ngx_aws_auth:aws_auth GH_TAGNAME+= ${NGINX_AWS_AUTH_VERSION}:aws_auth CONFIGURE_ARGS+=--add-module=${WRKSRC_aws_auth} .endif .if ${PORT_OPTIONS:MCACHE_PURGE} NGINX_CACHE_PURGE_VERSION= 2.3 MASTER_SITES+= http://labs.frickle.com/files/:cache_purge DISTFILES+= ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}.tar.gz:cache_purge CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION} .endif .if ${PORT_OPTIONS:MCLOJURE} CATEGORIES+= java USE_JAVA= yes JAVA_OS= native JAVA_VERSION= 1.8 JAVA_VENDOR= openjdk JAVA_BUILD= yes JAVA_RUN= yes NGINX_CLOJURE_VERSION= 0.4.4 GH_ACCOUNT+= nginx-clojure:clojure GH_PROJECT+= nginx-clojure:clojure GH_TAGNAME+= v${NGINX_CLOJURE_VERSION}:clojure CONFIGURE_ENV+= "JNI_INCS=-I${LOCALBASE}/openjdk8/include -I${LOCALBASE}/openjdk8/include/freebsd" CONFIGURE_ARGS+=--add-module=${WRKSRC_clojure}/src/c EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-c-ngx_http_clojure_socket.c .endif .if ${PORT_OPTIONS:MCT} GIT_CT_VERSION= f3cad5e GH_ACCOUNT+= grahamedgecombe:ct GH_PROJECT+= nginx-ct:ct GH_TAGNAME+= ${GIT_CT_VERSION}:ct .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_ct} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_ct} .endif NGINX_OPENSSL= yes USE_HTTP_SSL= yes .endif .if ${PORT_OPTIONS:MECHO} NGINX_ECHO_VERSION= 4f7aa50 GH_ACCOUNT+= openresty:echo GH_PROJECT+= echo-nginx-module:echo GH_TAGNAME+= ${NGINX_ECHO_VERSION}:echo .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_echo} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_echo} .endif .endif .if ${PORT_OPTIONS:MHEADERS_MORE} NGINX_HEADERS_MORE_VERSION= f5559ec GH_ACCOUNT+= openresty:headers_more GH_PROJECT+= headers-more-nginx-module:headers_more GH_TAGNAME+= ${NGINX_HEADERS_MORE_VERSION}:headers_more .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_headers_more} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_headers_more} .endif .endif .if ${PORT_OPTIONS:MHTTP_DAV} || defined(USE_HTTP_DAV) CONFIGURE_ARGS+=--with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_DAV_EXT} USE_HTTP_DAV= yes LIB_DEPENDS+= libexpat.so:textproc/expat2 NGINX_DAV_EXT_VERSION= 0.0.3 GH_ACCOUNT+= arut:dav_ext GH_PROJECT+= nginx-dav-ext-module:dav_ext GH_TAGNAME+= v${NGINX_DAV_EXT_VERSION}:dav_ext CONFIGURE_ARGS+=--add-module=${WRKSRC_dav_ext} .endif .if ${PORT_OPTIONS:MHTTP_EVAL} NGINX_EVAL_VERSION= 342c812 GH_ACCOUNT+= openresty:eval GH_PROJECT+= nginx-eval-module:eval GH_TAGNAME+= ${NGINX_EVAL_VERSION}:eval .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_eval} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_eval} .endif .endif .if ${PORT_OPTIONS:MHTTP_FANCYINDEX} NGINX_FANCYINDEX_VERSION= 0.3.6 GH_ACCOUNT+= aperezdc:fancyindex GH_PROJECT+= ngx-fancyindex:fancyindex GH_TAGNAME+= v${NGINX_FANCYINDEX_VERSION}:fancyindex CONFIGURE_ARGS+=--add-module=${WRKSRC_fancyindex} .endif .if ${PORT_OPTIONS:MHTTP_FOOTER} NGINX_FOOTER_VERSION= 1.2.2 GH_ACCOUNT+= alibaba:footer GH_PROJECT+= nginx-http-footer-filter:footer GH_TAGNAME+= ${NGINX_FOOTER_VERSION}:footer CONFIGURE_ARGS+=--add-module=${WRKSRC_footer} .endif .if ${PORT_OPTIONS:MHTTP_FLV} CONFIGURE_ARGS+=--with-http_flv_module .endif .if ${PORT_OPTIONS:MHTTP_JSON_STATUS} NGINX_JSON_STATUS_VERSION= 1d2f303 GH_ACCOUNT+= nginx-modules:json_status GH_PROJECT+= ngx_http_json_status_module:json_status GH_TAGNAME+= ${NGINX_JSON_STATUS_VERSION}:json_status CONFIGURE_ARGS+=--add-module=${WRKSRC_json_status} .endif .if ${PORT_OPTIONS:MHTTP_GEOIP} .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_geoip_module=dynamic .else CONFIGURE_ARGS+=--with-http_geoip_module .endif LIB_DEPENDS+= libGeoIP.so:net/GeoIP .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_GUNZIP_FILTER} CONFIGURE_ARGS+=--with-http_gunzip_module .endif .if ${PORT_OPTIONS:MHTTP_IMAGE_FILTER} LIB_DEPENDS+= libgd.so:graphics/gd .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_image_filter_module=dynamic .else CONFIGURE_ARGS+=--with-http_image_filter_module .endif .endif .if ${PORT_OPTIONS:MHTTP_MP4} CONFIGURE_ARGS+=--with-http_mp4_module .endif .if ${PORT_OPTIONS:MHTTP_MOGILEFS} NGINX_MOGILEFS_VERSION= 1.0.4 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:mogilefs DISTFILES+= nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}.tar.gz:mogilefs CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_mogilefs_module.c .endif .if ${PORT_OPTIONS:MHTTP_MP4_H264} NGINX_H264_VERSION= 2.2.7 MASTER_SITES+= http://h264.code-shop.com/download/:mp4streaming DISTFILES+= nginx_mod_h264_streaming-${NGINX_H264_VERSION}.tar.gz:mp4streaming CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mod_h264_streaming-${NGINX_H264_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_streaming_module.c .endif .if ${PORT_OPTIONS:MHTTP_NOTICE} GIT_NOTICE_VERSION= 3c95966 GH_ACCOUNT+= kr:notice GH_PROJECT+= nginx-notice:notice GH_TAGNAME+= ${GIT_NOTICE_VERSION}:notice CONFIGURE_ARGS+=--add-module=${WRKSRC_notice} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c .endif .if ${PORT_OPTIONS:MHTTP_PERL} CATEGORIES+= perl5 .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_perl_module=dynamic .else CONFIGURE_ARGS+=--with-http_perl_module .endif USES+= perl5 .endif .if ${PORT_OPTIONS:MHTTP_PUSH} GIT_PUSH_VERSION= 0.99.15 GH_ACCOUNT+= slact:push GH_PROJECT+= nchan:push GH_TAGNAME+= v${GIT_PUSH_VERSION}:push CONFIGURE_ARGS+=--add-module=${WRKSRC_push} .endif .if ${PORT_OPTIONS:MHTTP_PUSH_STREAM} NGINX_PUSH_STREAM_VERSION= 0.5.1 GH_ACCOUNT+= wandenberg:pushstream GH_PROJECT+= nginx-push-stream-module:pushstream GH_TAGNAME+= ${NGINX_PUSH_STREAM_VERSION}:pushstream CONFIGURE_ARGS+=--add-module=${WRKSRC_pushstream} .endif .if ${PORT_OPTIONS:MHTTP_RANDOM_INDEX} CONFIGURE_ARGS+=--with-http_random_index_module .endif .if ${PORT_OPTIONS:MHTTP_REALIP} CONFIGURE_ARGS+=--with-http_realip_module .endif .if ${PORT_OPTIONS:MHTTP_REDIS} NGINX_REDIS_VERSION= 0.3.8 MASTER_SITES+= LOCAL/osa:redis DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .else CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .endif .endif .if ${PORT_OPTIONS:MHTTP_RESPONSE} NGINX_RESPONSE_VERSION= 0.3 MASTER_SITES+= http://catap.ru/downloads/nginx/:response DISTFILES+= ngx_http_response-${NGINX_RESPONSE_VERSION}.tar.gz:response CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_SUBS_FILTER} NGINX_HTTP_SUBS_FILTER_VERSION= 0.6.4 GH_ACCOUNT+= yaoweibin:subs_filter GH_PROJECT+= ngx_http_substitutions_filter_module:subs_filter GH_TAGNAME+= v${NGINX_HTTP_SUBS_FILTER_VERSION}:subs_filter CONFIGURE_ARGS+=--add-module=${WRKSRC_subs_filter} .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} LIB_DEPENDS+= libmsgpuck.so:devel/msgpuck \ libyajl.so:devel/yajl GH_ACCOUNT+= tarantool:nginx_tarantool GH_PROJECT+= nginx_upstream_module:nginx_tarantool GH_TAGNAME+= b852195:nginx_tarantool CFLAGS+= -I${LOCALBASE}/include/msgpuck CONFIGURE_ARGS+=--add-module=${WRKSRC_nginx_tarantool} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config .endif .if ${PORT_OPTIONS:MHTTP_SECURE_LINK} CONFIGURE_ARGS+=--with-http_secure_link_module .endif .if ${PORT_OPTIONS:MHTTP_SLICE} CONFIGURE_ARGS+=--with-http_slice_module .endif .if ${PORT_OPTIONS:MHTTP_STATUS} CONFIGURE_ARGS+=--with-http_stub_status_module .endif .if ${PORT_OPTIONS:MHTTP_SUB} CONFIGURE_ARGS+=--with-http_sub_module .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD} GIT_UPLOAD_VERSION= aba1e3f34c GH_ACCOUNT+= vkholodkov:upload GH_PROJECT+= nginx-upload-module:upload GH_TAGNAME+= ${GIT_UPLOAD_VERSION}:upload CONFIGURE_ARGS+=--add-module=${WRKSRC_upload} IGNORE= HTTP_UPLOAD: a patch requires .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} NGINX_UPLOADPROGRESS_VERSION= 0.9.0 GH_ACCOUNT+= masterzen:uploadprogress GH_PROJECT+= nginx-upload-progress-module:uploadprogress GH_TAGNAME+= v${NGINX_UPLOADPROGRESS_VERSION}:uploadprogress CONFIGURE_ARGS+=--add-module=${WRKSRC_uploadprogress} .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_CHECK) # WWW: https://github.com/yaoweibin/nginx_upstream_check_module NGINX_UPSTREAM_CHECK_VERSION= 10782ea GH_ACCOUNT+= yaoweibin:upstreamcheck GH_PROJECT+= nginx_upstream_check_module:upstreamcheck GH_TAGNAME+= ${NGINX_UPSTREAM_CHECK_VERSION}:upstreamcheck CONFIGURE_ARGS+=--add-module=${WRKSRC_upstreamcheck} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_hash_module.c \ ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_ip_hash_module.c \ ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_least_conn_module.c \ ${PATCHDIR}/extra-patch-src-http-ngx_http_upstream_round_robin.c \ ${PATCHDIR}/extra-patch-src-http-ngx_http_upstream_round_robin.h .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR) NGINX_UPSTREAM_FAIR_VERSION= 20090923 MASTER_SITES+= LOCAL/osa:upstreamfair DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_CHECK) EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_upstream_fair_module.c .endif .endif .if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY} USE_HTTP_SSL= yes NGINX_UPSTREAM_STICKY_VERSION= 1.2.4 MASTER_SITES+= https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/get/:upstreamsticky DISTFILES+= ${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-c825ea7c5c91/ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sticky_misc.c .endif .if ${PORT_OPTIONS:MHTTP_VIDEO_THUMBEXTRACTOR} NGINX_VIDEO_THUMBEXTRACTOR_VERSION= 0.7.0 LIB_DEPENDS+= libjpeg.so:graphics/jpeg \ libavformat.so:multimedia/ffmpeg \ libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libMagickWand-6.so:graphics/ImageMagick GH_ACCOUNT+= wandenberg:vte GH_PROJECT+= nginx-video-thumbextractor-module:vte GH_TAGNAME+= ${NGINX_VIDEO_THUMBEXTRACTOR_VERSION}:vte CONFIGURE_ARGS+=--add-module=${WRKSRC_vte} --with-cc-opt="-I ${LOCALBASE}/include \ -I ${LOCALBASE}/include/ImageMagick" .endif .if ${PORT_OPTIONS:MHTTP_XSLT} USE_GNOME+= libxml2 libxslt .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_xslt_module=dynamic .else CONFIGURE_ARGS+=--with-http_xslt_module .endif .endif .if ${PORT_OPTIONS:MHTTP_ZIP} NGINX_ZIP_VERSION= 1.1.6 MASTER_SITES+= http://mod-zip.googlecode.com/files/:zip DISTFILES+= mod_zip-${NGINX_ZIP_VERSION}.tar.gz:zip CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION} .endif .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzle.so:databases/libdrizzle NGINX_DRIZZLE_VERSION= 0.1.9 GH_ACCOUNT+= openresty:drizzle GH_PROJECT+= drizzle-nginx-module:drizzle GH_TAGNAME+= v${NGINX_DRIZZLE_VERSION}:drizzle CONFIGURE_ARGS+=--add-module=${WRKSRC_drizzle} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-drizzle-nginx-module-config .endif .if ${PORT_OPTIONS:MDYNAMIC_UPSTREAM} NGINX_DYNAMIC_UPSTREAM_VERSION= 0.1.3 GH_ACCOUNT+= cubicdaiya:dyn_upstream GH_PROJECT+= ngx_dynamic_upstream:dyn_upstream GH_TAGNAME+= v${NGINX_DYNAMIC_UPSTREAM_VERSION}:dyn_upstream .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_dyn_upstream} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_dyn_upstream} .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_inet_slab.c .endif .if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MSET_MISC} NGINX_DEVEL_KIT_VERSION= 0.2.19 GH_ACCOUNT+= simpl:devel_kit GH_PROJECT+= ngx_devel_kit:devel_kit GH_TAGNAME+= v${NGINX_DEVEL_KIT_VERSION}:devel_kit CONFIGURE_ARGS+=--add-module=${WRKSRC_devel_kit} .endif .if ${PORT_OPTIONS:MENCRYPTSESSION} NGINX_ENCRYPTSESSION_VERSION= 0.03 GH_ACCOUNT+= openresty:encryptsession GH_PROJECT+= encrypted-session-nginx-module:encryptsession GH_TAGNAME+= v${NGINX_ENCRYPTSESSION_VERSION}:encryptsession CONFIGURE_ARGS+=--add-module=${WRKSRC_encryptsession} .endif .if ${PORT_OPTIONS:MGRIDFS} NGINX_GRIDFS_VERSION= 0.8 MONGO_C_DRIVER_VERSION= 0.3.1 GH_ACCOUNT+= mdirolf:gridfs mongodb:mongo_c GH_PROJECT+= nginx-gridfs:gridfs mongo-c-driver:mongo_c GH_TAGNAME+= v${NGINX_GRIDFS_VERSION}:gridfs v${MONGO_C_DRIVER_VERSION}:mongo_c CONFIGURE_ARGS+=--add-module=${WRKSRC_gridfs} .endif .if ${PORT_OPTIONS:MLET} NGINX_LET_VERSION= 0.0.4 GH_ACCOUNT+= arut:let GH_PROJECT+= nginx-let-module:let GH_TAGNAME+= v${NGINX_LET_VERSION}:let CONFIGURE_ARGS+=--add-module=${WRKSRC_let} .endif .if ${PORT_OPTIONS:MLUA} LIB_DEPENDS+= libluajit-5.1.so:lang/luajit CONFIGURE_ENV+= "LUAJIT_INC=${LOCALBASE}/include/luajit-2.0" CONFIGURE_ENV+= "LUAJIT_LIB=${LOCALBASE}/lib" NGINX_LUA_VERSION= 0.10.5 GH_ACCOUNT+= openresty:lua GH_PROJECT+= lua-nginx-module:lua GH_TAGNAME+= v${NGINX_LUA_VERSION}:lua .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_lua} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_lua} .endif .endif .if ${PORT_OPTIONS:MMEMC} NGINX_MEMC_VERSION= 0.16 GH_ACCOUNT+= openresty:memc GH_PROJECT+= memc-nginx-module:memc GH_TAGNAME+= v${NGINX_MEMC_VERSION}:memc CONFIGURE_ARGS+=--add-module=${WRKSRC_memc} .endif .if ${PORT_OPTIONS:MMODSECURITY} NGINX_MODSECURITY_VERSION= 2.9.1 LIB_DEPENDS+= libapr-1.so:devel/apr1 \ libcurl.so:ftp/curl \ libluajit-5.1.so:lang/luajit \ libpcre.so:devel/pcre \ libyajl.so:devel/yajl USE_APACHE= 22+ USE_GNOME+= libxml2 MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION:S/RC/rc/}/:modsecurity DISTFILES+= modsecurity-${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/nginx/modsecurity EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-nginx-modsecurity-configure .endif .if ${PORT_OPTIONS:MNAXSI} NGINX_NAXSI_VERSION= 0.54 GH_ACCOUNT+= nbs-system:naxsi GH_PROJECT+= naxsi:naxsi GH_TAGNAME+= ${NGINX_NAXSI_VERSION}:naxsi CONFIGURE_ARGS+=--add-module=${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_src .endif .if ${PORT_OPTIONS:MHTTP_REWRITE} || defined(USE_HTTP_REWRITE) LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-pcre .else PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre CONFIGURE_ARGS+=--without-http_rewrite_module \ --without-pcre .endif .if ${PORT_OPTIONS:MPASSENGER} PASSENGER_VERSION= 5.0.29 MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module .else CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-passenger-build-nginx.rb .if empty(PORT_OPTIONS:MDEBUG) CONFIGURE_ENV+= OPTIMIZE="yes" CFLAGS+= -DNDEBUG .endif .endif .if ${PORT_OPTIONS:MPOSTGRES} USES+= pgsql NGINX_POSTGRES_VERSION= 1.0rc7 GH_ACCOUNT+= FRiCKLE:postgres GH_PROJECT+= ngx_postgres:postgres GH_TAGNAME+= ${NGINX_POSTGRES_VERSION}:postgres CONFIGURE_ARGS+=--add-module=${WRKSRC_postgres} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config .endif .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.07 GH_ACCOUNT+= openresty:rdscsv GH_PROJECT+= rds-csv-nginx-module:rdscsv GH_TAGNAME+= v${NGINX_RDS_CSV_VERSION}:rdscsv CONFIGURE_ARGS+=--add-module=${WRKSRC_rdscsv} .endif .if ${PORT_OPTIONS:MRDS_JSON} NGINX_RDS_JSON_VERSION= 0.14 GH_ACCOUNT+= openresty:rdsjson GH_PROJECT+= rds-json-nginx-module:rdsjson GH_TAGNAME+= v${NGINX_RDS_JSON_VERSION}:rdsjson CONFIGURE_ARGS+=--add-module=${WRKSRC_rdsjson} .endif .if ${PORT_OPTIONS:MREDIS2} NGINX_REDIS2_VERSION= 0.12 GH_ACCOUNT+= openresty:redis2 GH_PROJECT+= redis2-nginx-module:redis2 GH_TAGNAME+= v${NGINX_REDIS2_VERSION}:redis2 CONFIGURE_ARGS+=--add-module=${WRKSRC_redis2} .endif .if ${PORT_OPTIONS:MRTMP} NGINX_RTMP_VERSION= 1.1.7 GH_ACCOUNT+= arut:rtmp GH_PROJECT+= nginx-rtmp-module:rtmp GH_TAGNAME+= v${NGINX_RTMP_VERSION}:rtmp CONFIGURE_ARGS+=--add-module=${WRKSRC_rtmp} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_rtmp_core_module.c .endif .if ${PORT_OPTIONS:MSET_MISC} NGINX_SET_MISC_VERSION= 6582fb4 GH_ACCOUNT+= openresty:setmisc GH_PROJECT+= set-misc-nginx-module:setmisc GH_TAGNAME+= ${NGINX_SET_MISC_VERSION}:setmisc .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_setmisc} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_setmisc} .endif .endif .if ${PORT_OPTIONS:MSFLOW} NGINX_SFLOW_VERSION= 0.9.7 MASTER_SITES+= http://nginx-sflow-module.googlecode.com/files/:sflow DISTFILES+= nginx-sflow-module-${NGINX_SFLOW_VERSION}.tar.gz:sflow CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c \ ${PATCHDIR}/extra-patch-ngx_http_sflow_config.h \ ${PATCHDIR}/extra-patch-ngx_http_sflow_module.c .endif .if ${PORT_OPTIONS:MSHIBBOLETH} GIT_SHIBBOLETH_VERSION= 4f1119b GH_ACCOUNT+= nginx-shib:shib GH_PROJECT+= nginx-http-shibboleth:shib GH_TAGNAME+= ${GIT_SHIBBOLETH_VERSION}:shib CONFIGURE_ARGS+=--add-module=${WRKSRC_shib} .endif .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.10 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache DISTFILES+= ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION} .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} NGINX_SMALL_LIGHT_VERSION= 0.6.15 LIB_DEPENDS+= libMagickCore-6.so:graphics/ImageMagick \ libMagickWand-6.so:graphics/ImageMagick \ libpcre.so:devel/pcre GH_ACCOUNT+= cubicdaiya:small_light GH_PROJECT+= ngx_small_light:small_light GH_TAGNAME+= v${NGINX_SMALL_LIGHT_VERSION}:small_light .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_small_light} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_small_light} .endif .endif .if ${PORT_OPTIONS:MSRCACHE} NGINX_SRCACHE_VERSION= 0.30 GH_ACCOUNT+= openresty:srcache GH_PROJECT+= srcache-nginx-module:srcache GH_TAGNAME+= v${NGINX_SRCACHE_VERSION}:srcache CONFIGURE_ARGS+=--add-module=${WRKSRC_srcache} .endif .if ${PORT_OPTIONS:MSTATSD} NGINX_STATSD_VERSION= b756a12 GH_ACCOUNT+= zebrafishlabs:statsd GH_PROJECT+= nginx-statsd:statsd GH_TAGNAME+= ${NGINX_STATSD_VERSION}:statsd CONFIGURE_ARGS+=--add-module=${WRKSRC_statsd} .endif .if ${PORT_OPTIONS:MUDPLOG} NGINX_UDPLOG_VERSION= 1.0.0 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:udplog DISTFILES+= nginx_udplog_module-${NGINX_UDPLOG_VERSION}.tar.gz:udplog CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_udplog_module.c .endif .if ${PORT_OPTIONS:MXRID_HEADER} GIT_XRID_VERSION= 0daa3cc GH_ACCOUNT+= gabor:xrid GH_PROJECT+= nginx-x-rid-header:xrid GH_TAGNAME+= ${GIT_XRID_VERSION}:xrid CONFIGURE_ARGS+=--add-module=${WRKSRC_xrid} .endif .if ${PORT_OPTIONS:MXSS} NGINX_XSS_VERSION= 0.04 GH_ACCOUNT+= openresty:xss GH_PROJECT+= xss-nginx-module:xss GH_TAGNAME+= v${NGINX_XSS_VERSION}:xss CONFIGURE_ARGS+=--add-module=${WRKSRC_xss} .endif .if ${PORT_OPTIONS:MHTTPV2} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-http_v2_module .endif .if ${PORT_OPTIONS:MNJS} GH_ACCOUNT+= nginx:njs GH_PROJECT+= njs:njs GH_TAGNAME+= f71f005:njs .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_njs}/nginx .else CONFIGURE_ARGS+=--add-module=${WRKSRC_njs}/nginx .endif .endif .if ${PORT_OPTIONS:MSTREAM} .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-stream=dynamic .else CONFIGURE_ARGS+=--with-stream .endif .if ${PORT_OPTIONS:MSTREAM_SSL} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-stream_ssl_module .endif .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--with-threads .endif .if ${PORT_OPTIONS:MWWW} PLIST_SUB+= WWWDATA="" .else PLIST_SUB+= WWWDATA="@comment " .endif .else CONFIGURE_ARGS+=--without-http PLIST_SUB+= WWWDATA="@comment " .endif # WITH_HTTP .if ${PORT_OPTIONS:MMAIL} .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-mail=dynamic .else CONFIGURE_ARGS+=--with-mail .endif .if empty(PORT_OPTIONS:MMAIL_IMAP) CONFIGURE_ARGS+=--without-mail_imap_module .endif .if empty(PORT_OPTIONS:MMAIL_POP3) CONFIGURE_ARGS+=--without-mail_pop3_module .endif .if empty(PORT_OPTIONS:MMAIL_SMTP) CONFIGURE_ARGS+=--without-mail_smtp_module .endif .if ${PORT_OPTIONS:MMAIL_SSL} NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-mail_ssl_module .endif .endif # WITH_MAIL .if ${PORT_OPTIONS:MHTTP_SSL} || defined(USE_HTTP_SSL) NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-http_ssl_module .endif .if ${PORT_OPTIONS:MARRAYVAR} NGINX_ARRAYVAR_VERSION= 0.03 GH_ACCOUNT+= openresty:arrayvar GH_PROJECT+= array-var-nginx-module:arrayvar GH_TAGNAME+= v${NGINX_ARRAYVAR_VERSION}:arrayvar CONFIGURE_ARGS+=--add-module=${WRKSRC_arrayvar} .endif .if ${PORT_OPTIONS:MBROTLI} NGINX_BROTLI_VERSION= ada972b LIB_DEPENDS+= libbrotlidec.so:devel/libbrotli \ libbrotlienc.so:devel/libbrotli GH_ACCOUNT+= google:brotli GH_PROJECT+= ngx_brotli:brotli GH_TAGNAME+= ${NGINX_BROTLI_VERSION}:brotli .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_brotli} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_brotli} .endif .endif .if ${PORT_OPTIONS:MFORMINPUT} NGINX_FORMINPUT_VERSION= 0.07 GH_ACCOUNT+= calio:forminput GH_PROJECT+= form-input-nginx-module:forminput GH_TAGNAME+= v${NGINX_FORMINPUT_VERSION}:forminput CONFIGURE_ARGS+=--add-module=${WRKSRC_forminput} .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv NGINX_ICONV_VERSION= 0.10 GH_ACCOUNT+= calio:iconv GH_PROJECT+= iconv-nginx-module:iconv GH_TAGNAME+= v${NGINX_ICONV_VERSION}:iconv CONFIGURE_ARGS+=--add-module=${WRKSRC_iconv} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config .endif PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} USERS?= ${WWWOWN} GROUPS?=${WWWGRP} .if defined(NGINX_OPENSSL) USE_OPENSSL= yes .if ${OSVERSION} < 1100000 WITH_OPENSSL_PORT=yes .endif .endif pre-everything:: @${ECHO_MSG} .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support" .endif .if ${PORT_OPTIONS:MPASSENGER} @${ECHO_MSG} "This port install Passenger module only" .endif @${ECHO_MSG} post-extract: .if ${PORT_OPTIONS:MGRIDFS} @${RMDIR} ${WRKSRC_gridfs}/mongo-c-driver/ @${MV} ${WRKSRC_mongo_c} ${WRKSRC_gridfs}/mongo-c-driver .endif post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!' \ ${WRKSRC}/conf/nginx.conf .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ '128s!NGX_OK!NGX_DECLINED!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/ngx_http_accesskey_module.c .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} @${REINPLACE_CMD} \ 's!%%GSSAPILIBS%%!${GSSAPILIBS}!' \ ${WRKSRC_auth_krb5}/config .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ 's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/config .endif # linker error acquire if --std=c99 defined, add "static" to inline function .if ${PORT_OPTIONS:MHTTP_ZIP} @${REINPLACE_CMD} \ 's!^inline!static inline!' \ ${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}/ngx_http_zip_parsers.* .endif .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_drizzle}/config .endif # Respect CFLAGS by remove needless --std=c99 flag .if ${PORT_OPTIONS:MGRIDFS} @${REINPLACE_CMD} \ 's!--std=c99!-DMONGO_HAVE_STDINT!' \ ${WRKSRC_gridfs}/config .endif .if ${PORT_OPTIONS:MPASSENGER} @${REINPLACE_CMD} \ '177,179s!true!false!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/basics.rb @${REINPLACE_CMD} \ 's!-I/usr/include/libev!!; \ s!-lev!!; \ s!-Iext/libev!!; \ s!-I/usr/include/libeio!!; \ s!-leio!!; \ s!-Iext/libeio!!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/common_library.rb .endif .if ${PORT_OPTIONS:MPOSTGRES} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_postgres}/config .endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}/ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MSTATSD} @${REINPLACE_CMD} \ 's!ngx_udp_connection_t!ngx_resolver_connection_t!g; \ s!uc->connection!uc->udp!g; \ s!e->udp_connection->connection!e->udp_connection->udp!g' \ ${WRKSRC_statsd}/ngx_http_statsd.c .endif .if ${PORT_OPTIONS:MUDPLOG} @${REINPLACE_CMD} \ 's!ngx_udp_connection_t!ngx_resolver_connection_t!g; \ s!uc->connection!uc->udp!g; \ s!e->udp_connection->connection!e->udp_connection->udp!g' \ ${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_VERSION}/ngx_http_udplog_module.c .endif .if ${PORT_OPTIONS:MICONV} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_iconv}/config .endif .if ${PORT_OPTIONS:MMODSECURITY} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/configure .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_nginx_tarantool}/config .endif pre-configure: .if ${PORT_OPTIONS:MMODSECURITY} ( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \ CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} ( cd ${WRKSRC_small_light} && ./setup ) .endif do-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} .if !empty(PORT_OPTIONS:MDSO) ${MKDIR} ${STAGEDIR}${MODULESDIR} .endif ${MKDIR} ${STAGEDIR}${NGINX_TMPDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${STAGEDIR}${PREFIX}/sbin .for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR} .endfor .for i in fastcgi_params mime.types scgi_params uwsgi_params ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR}/${i}-dist .endfor .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MWWW) ${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist .for i in index.html 50x.html ${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${PREFIX}/www/nginx-dist .endfor ${ECHO_CMD} "" >>${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING .endif .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/ .endif # Install dynamic modules .if !empty(PORT_OPTIONS:MDSO) (cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \ -exec ${INSTALL_PROGRAM} "{}" ${STAGEDIR}${MODULESDIR} \;) .endif .if ${PORT_OPTIONS:MNAXSI} ${INSTALL_DATA} \ ${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_config/naxsi_core.rules \ ${STAGEDIR}${ETCDIR} .endif post-install: .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${ECHO_CMD} ${SITE_ARCH_REL}/auto/nginx/nginx.so >> ${TMPPLIST} ${ECHO_CMD} ${SITE_ARCH_REL}/nginx.pm >> ${TMPPLIST} .endif ${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .if ${PORT_OPTIONS:MNAXSI} ${ECHO_CMD} etc/nginx/naxsi_core.rules >> ${TMPPLIST} .endif # Add dynamic modules to the plist .if !empty(PORT_OPTIONS:MDSO) (cd ${STAGEDIR}${PREFIX} && ${FIND} ${MODULESDIR:S|${PREFIX}/||} \ ! -type d >>${TMPPLIST}) # Update nginx.conf-dist with a list of staged dynamic modules (cd ${STAGEDIR} && \ ${FIND} ${MODULESDIR:S|^/||} -type f -name '*.so' \ -exec ${ECHO_CMD} "load_module /{};" \; \ >>${STAGEDIR}${ETCDIR}/nginx.conf-dist) .endif ${CAT} ${WRKSRC}/conf/nginx.conf \ >>${STAGEDIR}${ETCDIR}/nginx.conf-dist .include Index: head/www/sarg/Makefile =================================================================== --- head/www/sarg/Makefile (revision 418828) +++ head/www/sarg/Makefile (revision 418829) @@ -1,48 +1,49 @@ # Created by: mt@primats.org.ua # $FreeBSD$ PORTNAME= sarg PORTVERSION= 2.3.10 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= garga@FreeBSD.org COMMENT= Squid log analyzer and HTML report generator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= GD PHP NLS PCRE LDAP ICONV OPTIONS_DEFAULT=GD PHP PCRE LDAP ICONV OPTIONS_SUB= yes PHP_DESC= Install PHP for reporting generating USES= autoreconf gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --sysconfdir="${ETCDIR}" \ --enable-fontdir="${ETCDIR}/fonts" \ --enable-imagedir="${ETCDIR}/images" CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -lintl GD_CONFIGURE_WITH= gd GD_LIB_DEPENDS= libgd.so:graphics/gd PHP_CONFIGURE_ON= --enable-sargphp="${ETCDIR}" PHP_CONFIGURE_OFF= --disable-sargphp PCRE_CONFIGURE_WITH= pcre PCRE_LIB_DEPENDS= libpcre.so:devel/pcre LDAP_USE= USE_OPENLDAP=yes LDAP_CONFIGURE_WITH= ldap ICONV_USES= iconv ICONV_CONFIGURE_WITH= iconv ICONV_LDFLAGS= ${ICONV_LIB} post-patch: @${REINPLACE_CMD} -e '/test .*==/ s/==/=/' \ ${WRKSRC}/configure .include Index: head/www/tengine/Makefile =================================================================== --- head/www/tengine/Makefile (revision 418828) +++ head/www/tengine/Makefile (revision 418829) @@ -1,881 +1,881 @@ # Created by: Jim Ohlstein # $FreeBSD$ PORTNAME= tengine PORTVERSION= 2.0.3 DISTVERSIONPREFIX= ${PORTNAME}- -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= www MAINTAINER= ports@FreeBSD.org COMMENT= Robust and small WWW server forked from Nginx LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE WANT_GNOME= yes USE_GNOME= libxml2 libxslt USE_GITHUB= yes GH_ACCOUNT= alibaba LIB_DEPENDS+= libluajit-5.1.so:lang/luajit \ libeio.so:devel/libeio \ libev.so:devel/libev \ libgd.so:graphics/gd \ libGeoIP.so:net/GeoIP NO_OPTIONS_SORT= yes OPTIONS_DEFINE= \ DEBUG \ DEBUGLOG \ FILE_AIO \ IPV6 \ HTTP \ HTTP_CACHE \ HTTP_DAV \ HTTP_GZIP_STATIC \ HTTP_PERL \ HTTP_REALIP \ HTTP_REWRITE \ HTTP_SSL \ HTTP_STATUS \ MAIL \ MAIL_IMAP \ MAIL_POP3 \ MAIL_SMTP \ MAIL_SSL \ SPDY \ CPP_TEST \ TFS \ WWW \ CACHE_PURGE \ ECHO \ HEADERS_MORE \ HTTP_ACCEPT_LANGUAGE \ HTTP_ACCESSKEY \ HTTP_AUTH_DIGEST \ HTTP_AUTH_LDAP \ HTTP_AUTH_PAM \ HTTP_AUTH_REQ \ HTTP_DAV_EXT \ HTTP_EVAL \ HTTP_FANCYINDEX \ HTTP_MOGILEFS \ HTTP_NOTICE \ HTTP_PUSH \ HTTP_PUSH_STREAM \ HTTP_REDIS \ HTTP_RESPONSE \ HTTP_UPLOAD \ HTTP_UPLOAD_PROGRESS \ HTTP_UPSTREAM_FAIR \ HTTP_VIDEO_THUMBEXTRACTOR \ HTTP_ZIP \ ARRAYVAR \ DRIZZLE \ ENCRYPTSESSION \ FORMINPUT \ GRIDFS \ ICONV \ LET \ MEMC \ MODSECURITY \ POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ RTMP \ SET_MISC \ SFLOW \ SLOWFS_CACHE \ SRCACHE \ SUPERVISORD \ TCP_PROXY \ XRID_HEADER \ XSS OPTIONS_DEFAULT= HTTP HTTP_CACHE HTTP_REWRITE HTTP_STATUS WWW DEBUGLOG_DESC= Enable debug log (--with-debug) FILE_AIO_DESC= Enable file aio HTTP_DESC= Enable HTTP module HTTP_CACHE_DESC= Enable http_cache module HTTP_DAV_DESC= Enable http_webdav module HTTP_GZIP_STATIC_DESC= Enable http_gzip_static module HTTP_PERL_DESC= Enable http_perl module HTTP_REALIP_DESC= Enable http_realip module HTTP_REWRITE_DESC= Enable http_rewrite module HTTP_SSL_DESC= Enable http_ssl module HTTP_STATUS_DESC= Enable http_stub_status module MAIL_DESC= Enable IMAP4/POP3/SMTP proxy module MAIL_IMAP_DESC= Enable IMAP4 proxy module MAIL_POP3_DESC= Enable POP3 proxy module MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module SPDY_DESC= Enable SPDY v3 protocol support (SSL req.) CPP_TEST_DESC= Enable CPP Test module TFS_DESC= Enable TaoBao File System WWW_DESC= Enable html sample files CACHE_PURGE_DESC= 3rd party cache_purge module ECHO_DESC= 3rd party echo module HEADERS_MORE_DESC= 3rd party headers_more module HTTP_ACCEPT_LANGUAGE_DESC= 3rd party accept_language module HTTP_ACCESSKEY_DESC= 3rd party http_accesskey module HTTP_AUTH_DIGEST_DESC= 3rd party http_authdigest module HTTP_AUTH_LDAP_DESC= 3rd party http_auth_ldap module HTTP_AUTH_PAM_DESC= 3rd party http_auth_pam module HTTP_AUTH_REQ_DESC= 3rd party http_auth_request module HTTP_DAV_EXT_DESC= 3rd party webdav_ext module HTTP_EVAL_DESC= 3rd party eval module HTTP_FANCYINDEX_DESC= 3rd party http_fancyindex module HTTP_MOGILEFS_DESC= 3rd party mogilefs module HTTP_NOTICE_DESC= 3rd party notice module HTTP_PUSH_DESC= 3rd party push module HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_REDIS_DESC= 3rd party http_redis module HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_UPLOAD_DESC= 3rd party upload module HTTP_UPLOAD_PROGRESS_DESC= 3rd party uploadprogress module HTTP_UPSTREAM_FAIR_DESC= 3rd party upstream fair module HTTP_VIDEO_THUMBEXTRACTOR_DESC= 3rd party video_thumbextractor module HTTP_ZIP_DESC= 3rd party http_zip module ARRAYVAR_DESC= 3rd party array_var module DRIZZLE_DESC= 3rd party drizzlie module ENCRYPTSESSION_DESC= 3rd party encrypted_session module FORMINPUT_DESC= 3rd party form_input module GRIDFS_DESC= 3rd party gridfs module ICONV_DESC= 3rd party iconv module LET_DESC= 3rd party let module MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module POSTGRES_DESC= 3rd party postgresql module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module RTMP_DESC= 3rd party rtmp module SET_MISC_DESC= 3rd party set_misc module SFLOW_DESC= 3rd party sflow module SLOWFS_CACHE_DESC= 3rd party slowfs_cache module SRCACHE_DESC= 3rd party srcache module SUPERVISORD_DESC= 3rd party supervisord module TCP_PROXY_DESC= 3rd party tcp_proxy module XRID_HEADER_DESC= 3rd party x-rid header module XSS_DESC= 3rd party xss module .include NGINX_VARDIR?= /var NGINX_LOGDIR?= ${NGINX_VARDIR}/log NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/nginx-access.log NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log CONFLICTS?= nginx-devel-[0-9].* nginx-[0-9].* USE_RC_SUBR= nginx SUB_LIST+= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} \ NGINX_RUNDIR=${NGINX_RUNDIR} \ NGINX_TMPDIR=${NGINX_TMPDIR} HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${ETCDIR} \ --with-cc-opt="-I ${LOCALBASE}/include" \ --with-ld-opt="-L ${LOCALBASE}/lib" \ --conf-path=${ETCDIR}/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=${NGINX_RUNDIR}/nginx.pid \ --error-log-path=${NGINX_ERRORLOG} \ --user=${WWWOWN} --group=${WWWGRP} .if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL) IGNORE= requires at least HTTP or MAIL to \ be defined. Please do 'make config' again .endif .if ${PORT_OPTIONS:MDEBUG} CFLAGS+= -g STRIP= # Avoid stripping if building tengine with debug information .endif .if ${PORT_OPTIONS:MDEBUGLOG} CONFIGURE_ARGS+=--with-debug .endif .if ${PORT_OPTIONS:MFILE_AIO} CONFIGURE_ARGS+=--with-file-aio .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--with-ipv6 CATEGORIES+= ipv6 .endif .if ${PORT_OPTIONS:MHTTP} CONFIGURE_ARGS+=--dso-path=${ETCDIR}/modules \ --with-http_access_module=shared \ --with-http_addition_module=shared \ --with-http_autoindex_module=shared \ --with-http_browser_module=shared \ --with-http_charset_filter_module=shared \ --with-http_concat_module=shared \ --with-http_empty_gif_module=shared \ --with-http_fastcgi_module=shared \ --with-http_flv_module=shared \ --with-http_footer_filter_module=shared \ --with-http_geoip_module=shared \ --with-http_image_filter_module=shared \ --with-http_limit_conn_module=shared \ --with-http_limit_req_module=shared \ --with-http_lua_module=shared \ --with-http_map_module=shared \ --with-http_memcached_module=shared \ --with-http_mp4_module=shared \ --with-http_random_index_module=shared \ --with-http_referer_module=shared \ --with-http_scgi_module=shared \ --with-http_secure_link_module=shared \ --with-http_slice_module=shared \ --with-http_split_clients_module=shared \ --with-http_sub_module=shared \ --with-http_sysguard_module=shared \ --with-http_trim_filter_module=shared \ --with-http_upstream_ip_hash_module=shared \ --with-http_upstream_least_conn_module=shared \ --with-http_upstream_session_sticky_module=shared \ --with-http_user_agent_module=shared \ --with-http_userid_filter_module=shared \ --with-http_uwsgi_module=shared \ --with-http_xslt_module=shared \ --http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \ --http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \ --http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \ --http-log-path=${NGINX_ACCESSLOG} .if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE} GIT_ACCEPT_LANGUAGE_VERSION= 2f69842 GH_ACCOUNT+= giom:accept_language GH_PROJECT+= nginx_accept_language_module:accept_language GH_TAGNAME+= ${GIT_ACCEPT_LANGUAGE_VERSION}:accept_language CONFIGURE_ARGS+=--add-module=${WRKSRC_accept_language} .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} NGINX_ACCESSKEY_VERSION= 2.0.3 MASTER_SITES+= LOCAL/osa:accesskey DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_DIGEST} GIT_AUTH_DIGEST_VERSION= bd1c86a GH_ACCOUNT+= samizdatco:auth_digest GH_PROJECT+= nginx-http-auth-digest:auth_digest GH_TAGNAME+= ${GIT_AUTH_DIGEST_VERSION}:auth_digest CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_digest} .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_AUTH_LDAP} # WWW: https://github.com/kvspb/nginx-auth-ldap GIT_HTTP_AUTH_LDAP_VERSION= c4dc7c9153 MASTER_SITES+= LOCAL/rm:http_auth_ldap DISTFILES+= http_auth_ldap-${GIT_HTTP_AUTH_LDAP_VERSION}.tar.gz:http_auth_ldap CONFIGURE_ARGS+=--add-module=${WRKDIR}/http_auth_ldap-${GIT_HTTP_AUTH_LDAP_VERSION} USE_OPENLDAP= yes .endif .if ${PORT_OPTIONS:MHTTP_AUTH_PAM} NGINX_AUTH_PAM_VERSION= 1.2 MASTER_SITES+= http://web.iti.upv.es/~sto/nginx/:auth_pam DISTFILES+= ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION}.tar.gz:auth_pam CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_REQ} NGINX_AUTH_REQ_VERSION= 0.2 MASTER_SITES+= http://mdounin.ru/files/:auth_request DISTFILES+= ngx_http_auth_request_module-${NGINX_AUTH_REQ_VERSION}.tar.gz:auth_request CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_request_module-${NGINX_AUTH_REQ_VERSION} .endif .if empty(PORT_OPTIONS:MHTTP_CACHE) CONFIGURE_ARGS+=--without-http-cache .endif .if ${PORT_OPTIONS:MCACHE_PURGE} NGINX_CACHE_PURGE_VERSION= 2.1 MASTER_SITES+= http://labs.frickle.com/files/:cache_purge DISTFILES+= ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}.tar.gz:cache_purge CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION} .endif .if ${PORT_OPTIONS:MECHO} NGINX_ECHO_VERSION= 0.50 GH_ACCOUNT+= openresty:echo GH_PROJECT+= echo-nginx-module:echo GH_TAGNAME+= v${NGINX_ECHO_VERSION}:echo CONFIGURE_ARGS+=--add-module=${WRKSRC_echo} .endif .if ${PORT_OPTIONS:MHEADERS_MORE} NGINX_HEADERS_MORE_VERSION= 0.24 GH_ACCOUNT+= openresty:headers_more GH_PROJECT+= headers-more-nginx-module:headers_more GH_TAGNAME+= v${NGINX_HEADERS_MORE_VERSION}:headers_more CONFIGURE_ARGS+=--add-module=${WRKSRC_headers_more} .endif .if ${PORT_OPTIONS:MHTTP_DAV} CONFIGURE_ARGS+=--with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_DAV_EXT} LIB_DEPENDS+= libexpat.so:textproc/expat2 NGINX_DAV_EXT_VERSION= 0.0.2 GH_ACCOUNT+= arut:dav_ext GH_PROJECT+= nginx-dav-ext-module:dav_ext GH_TAGNAME+= v${NGINX_DAV_EXT_VERSION}:dav_ext CONFIGURE_ARGS+=--add-module=${WRKSRC_dav_ext} \ --with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_EVAL} NGINX_EVAL_VERSION= 1.0.3 GH_ACCOUNT+= vkholodkov:eval GH_PROJECT+= nginx-eval-module:eval GH_TAGNAME+= ${NGINX_EVAL_VERSION}:eval CONFIGURE_ARGS+=--add-module=${WRKSRC_eval} .endif .if ${PORT_OPTIONS:MHTTP_FANCYINDEX} NGINX_FANCYINDEX_VERSION= 0.3.1 MASTER_SITES+= LOCAL/osa:fancyindex DISTFILES+= ngx-fancyindex-${NGINX_FANCYINDEX_VERSION}.tar.gz:fancyindex CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx-fancyindex-${NGINX_FANCYINDEX_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_MOGILEFS} NGINX_MOGILEFS_VERSION= 1.0.4 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:mogilefs DISTFILES+= nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}.tar.gz:mogilefs CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_NOTICE} GIT_NOTICE_VERSION= 3c95966 GH_ACCOUNT+= kr:notice GH_PROJECT+= nginx-notice:notice GH_TAGNAME+= ${GIT_NOTICE_VERSION}:notice CONFIGURE_ARGS+=--add-module=${WRKSRC_notice} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c .endif .if ${PORT_OPTIONS:MHTTP_PERL} CATEGORIES+= perl5 CONFIGURE_ARGS+=--with-http_perl_module USES+= perl5 .endif .if ${PORT_OPTIONS:MHTTP_PUSH} NGINX_PUSH_VERSION= 0.692 MASTER_SITES+= http://pushmodule.slact.net/downloads/:push DISTFILES+= nginx_http_push_module-${NGINX_PUSH_VERSION}.tar.gz:push CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_http_push_module-${NGINX_PUSH_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_PUSH_STREAM} NGINX_PUSH_STREAM_VERSION= 0.3.5 GH_ACCOUNT+= wandenberg:pushstream GH_PROJECT+= nginx-push-stream-module:pushstream GH_TAGNAME+= ${NGINX_PUSH_STREAM_VERSION}:pushstream CONFIGURE_ARGS+=--add-module=${WRKSRC_pushstream} .endif .if ${PORT_OPTIONS:MHTTP_REALIP} CONFIGURE_ARGS+=--with-http_realip_module .endif .if ${PORT_OPTIONS:MHTTP_REDIS} NGINX_REDIS_VERSION= 0.3.7 MASTER_SITES+= LOCAL/osa:redis DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_RESPONSE} NGINX_RESPONSE_VERSION= 0.3 MASTER_SITES+= http://catap.ru/downloads/nginx/:response DISTFILES+= ngx_http_response-${NGINX_RESPONSE_VERSION}.tar.gz:response CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_STATUS} CONFIGURE_ARGS+=--with-http_stub_status_module .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD} NGINX_UPLOAD_VERSION= 2.2.0 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:upload DISTFILES+= nginx_upload_module-${NGINX_UPLOAD_VERSION}.tar.gz:upload CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upload_module-${NGINX_UPLOAD_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} NGINX_UPLOADPROGRESS_VERSION= 0.9.0 GH_ACCOUNT+= masterzen:uploadprogress GH_PROJECT+= nginx-upload-progress-module:uploadprogress GH_TAGNAME+= v${NGINX_UPLOADPROGRESS_VERSION}:uploadprogress CONFIGURE_ARGS+=--add-module=${WRKSRC_uploadprogress} .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR) || !empty(PORT_OPTIONS:MSUPERVISORD) NGINX_UPSTREAM_FAIR_VERSION= 20090923 MASTER_SITES+= LOCAL/osa:upstreamfair DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_VIDEO_THUMBEXTRACTOR} LIB_DEPENDS+= libavformat.so:multimedia/ffmpeg \ libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libMagickWand-6.so:graphics/ImageMagick USES+= jpeg NGINX_VIDEO_THUMBEXTRACTOR_VERSION= 0.2.0 GH_ACCOUNT+= wandenberg:videothumbextractor GH_PROJECT+= nginx-video-thumbextractor-module:videothumbextractor GH_TAGNAME+= ${NGINX_VIDEO_THUMBEXTRACTOR_VERSION}:videothumbextractor CONFIGURE_ARGS+=--add-module=${WRKSRC_videothumbextractor} \ --with-cc-opt="-I ${LOCALBASE}/include -I ${LOCALBASE}/include/ImageMagick" .endif .if ${PORT_OPTIONS:MHTTP_ZIP} NGINX_ZIP_VERSION= 1.1.6 MASTER_SITES+= http://mod-zip.googlecode.com/files/:zip DISTFILES+= mod_zip-${NGINX_ZIP_VERSION}.tar.gz:zip CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION} .endif .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzle.so:databases/libdrizzle NGINX_DRIZZLE_VERSION= 0.1.6 GH_ACCOUNT+= chaoslawful:drizzle GH_PROJECT+= drizzle-nginx-module:drizzle GH_TAGNAME+= v${NGINX_DRIZZLE_VERSION}:drizzle CONFIGURE_ARGS+=--add-module=${WRKSRC_drizzle} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-chaoslawful-drizzle-nginx-module-config .endif .if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MSET_MISC} WITH_HTTP_REWRITE= yes NGINX_DEVEL_KIT_VERSION= 0.2.19 GH_ACCOUNT+= simpl:devel_kit GH_PROJECT+= ngx_devel_kit:devel_kit GH_TAGNAME+= v${NGINX_DEVEL_KIT_VERSION}:devel_kit CONFIGURE_ARGS+=--add-module=${WRKSRC_devel_kit} .endif .if ${PORT_OPTIONS:MENCRYPTSESSION} NGINX_ENCRYPTSESSION_VERSION= 0.03 GH_ACCOUNT+= openresty:encryptsession GH_PROJECT+= encrypted-session-nginx-module:encryptsession GH_TAGNAME+= v${NGINX_ENCRYPTSESSION_VERSION}:encryptsession CONFIGURE_ARGS+=--add-module=${WRKSRC_encryptsession} .endif .if ${PORT_OPTIONS:MGRIDFS} NGINX_GRIDFS_VERSION= 0.8 MONGO_C_DRIVER_VERSION= 0.3.1 GH_ACCOUNT+= mdirolf:gridfs mongodb:mongo_c GH_PROJECT+= nginx-gridfs:gridfs mongo-c-driver:mongo_c GH_TAGNAME+= v${NGINX_GRIDFS_VERSION}:gridfs v${MONGO_C_DRIVER_VERSION}:mongo_c CONFIGURE_ARGS+=--add-module=${WRKSRC_gridfs} .endif .if ${PORT_OPTIONS:MLET} NGINX_LET_VERSION= 0.0.4 GH_ACCOUNT+= arut:let GH_PROJECT+= nginx-let-module:let GH_TAGNAME+= v${NGINX_LET_VERSION}:let CONFIGURE_ARGS+=--add-module=${WRKSRC_let} .endif .if ${PORT_OPTIONS:MMEMC} NGINX_MEMC_VERSION= 0.14 GH_ACCOUNT+= openresty:memc GH_PROJECT+= memc-nginx-module:memc GH_TAGNAME+= v${NGINX_MEMC_VERSION}:memc CONFIGURE_ARGS+=--add-module=${WRKSRC_memc} .endif .if ${PORT_OPTIONS:MMODSECURITY} NGINX_MODSECURITY_VERSION= 2.7.5 LIB_DEPENDS+= libpcre.so:devel/pcre \ libcurl.so:ftp/curl \ libapr-1.so:devel/apr1 USE_APACHE= 22+ MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION}/:modsecurity DISTFILES+= modsecurity-apache_${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-apache_${NGINX_MODSECURITY_VERSION}/nginx/modsecurity EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-nginx-modsecurity-config .endif .if ${PORT_OPTIONS:MHTTP_REWRITE} WITH_HTTP_REWRITE= yes .endif .if ${PORT_OPTIONS:MPOSTGRES} USES+= pgsql WITH_HTTP_REWRITE= yes NGINX_POSTGRES_VERSION= 0.9 MASTER_SITES+= http://labs.frickle.com/files/:postgres DISTFILES+= ngx_postgres-${NGINX_POSTGRES_VERSION}.tar.gz:postgres CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_postgres-${NGINX_POSTGRES_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config .endif .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.05 GH_ACCOUNT+= openresty:rdscsv GH_PROJECT+= rds-csv-nginx-module:rdscsv GH_TAGNAME+= v${NGINX_RDS_CSV_VERSION}:rdscsv CONFIGURE_ARGS+=--add-module=${WRKSRC_rdscsv} .endif .if ${PORT_OPTIONS:MRDS_JSON} NGINX_RDS_JSON_VERSION= 0.13 GH_ACCOUNT+= openresty:rdsjson GH_PROJECT+= rds-json-nginx-module:rdsjson GH_TAGNAME+= v${NGINX_RDS_JSON_VERSION}:rdsjson CONFIGURE_ARGS+=--add-module=${WRKSRC_rdsjson} .endif .if ${PORT_OPTIONS:MREDIS2} NGINX_REDIS2_VERSION= 0.10 GH_ACCOUNT+= openresty:redis2 GH_PROJECT+= redis2-nginx-module:redis2 GH_TAGNAME+= v${NGINX_REDIS2_VERSION}:redis2 CONFIGURE_ARGS+=--add-module=${WRKSRC_redis2} .endif .if ${PORT_OPTIONS:MRTMP} NGINX_RTMP_VERSION= 1.0.8 GH_ACCOUNT+= arut:rtmp GH_PROJECT+= nginx-rtmp-module:rtmp GH_TAGNAME+= v${NGINX_RTMP_VERSION}:rtmp CONFIGURE_ARGS+=--add-module=${WRKSRC_rtmp} .endif .if ${PORT_OPTIONS:MSET_MISC} NGINX_SET_MISC_VERSION= 0.23 GH_ACCOUNT+= openresty:setmisc GH_PROJECT+= set-misc-nginx-module:setmisc GH_TAGNAME+= v${NGINX_SET_MISC_VERSION}:setmisc CONFIGURE_ARGS+=--add-module=${WRKSRC_setmisc} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-set-misc-nginx-module-config .endif .if ${PORT_OPTIONS:MSFLOW} NGINX_SFLOW_VERSION= 0.9.7 MASTER_SITES+= http://nginx-sflow-module.googlecode.com/files/:sflow DISTFILES+= nginx-sflow-module-${NGINX_SFLOW_VERSION}.tar.gz:sflow CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c \ ${PATCHDIR}/extra-patch-ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.10 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache DISTFILES+= ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION} .endif .if ${PORT_OPTIONS:MSRCACHE} NGINX_SRCACHE_VERSION= 0.24 GH_ACCOUNT+= openresty:srcache GH_PROJECT+= srcache-nginx-module:srcache GH_TAGNAME+= v${NGINX_SRCACHE_VERSION}:srcache CONFIGURE_ARGS+=--add-module=${WRKSRC_srcache} .endif .if ${PORT_OPTIONS:MSUPERVISORD} NGINX_SUPERVISORD_VERSION= 1.4 MASTER_SITES+= http://labs.frickle.com/files/:supervisord DISTFILES+= ngx_supervisord-${NGINX_SUPERVISORD_VERSION}.tar.gz:supervisord CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_VERSION} .endif .if ${PORT_OPTIONS:MTCP_PROXY} NGINX_TCP_PROXY_VERSION= 0.26 GH_ACCOUNT+= yaoweibin:tcp_proxy GH_PROJECT+= nginx_tcp_proxy_module:tcp_proxy GH_TAGNAME+= v${NGINX_TCP_PROXY_VERSION}:tcp_proxy CONFIGURE_ARGS+=--add-module=${WRKSRC_tcp_proxy} .endif .if ${PORT_OPTIONS:MXRID_HEADER} GIT_XRID_VERSION= 0daa3cc GH_ACCOUNT+= gabor:xrid GH_PROJECT+= nginx-x-rid-header:xrid GH_TAGNAME+= master:xrid CONFIGURE_ARGS+=--add-module=${WRKSRC_xrid} .endif .if ${PORT_OPTIONS:MXSS} NGINX_XSS_VERSION= 0.04 GH_ACCOUNT+= openresty:xss GH_PROJECT+= xss-nginx-module:xss GH_TAGNAME+= v${NGINX_XSS_VERSION}:xss CONFIGURE_ARGS+=--add-module=${WRKSRC_xss} .endif .if ${PORT_OPTIONS:MSPDY} WITH_HTTP_SSL= yes CONFIGURE_ARGS+=--with-http_spdy_module .endif .if ${PORT_OPTIONS:MCPP_TEST} CONFIGURE_ARGS+=--with-cpp_test_module .endif .if ${PORT_OPTIONS:MTFS} LIB_DEPENDS+= libyajl.so:devel/yajl CONFIGURE_ARGS+=--with-http_tfs_module .endif .if ${PORT_OPTIONS:MWWW} PLIST_SUB+= WWWDATA="" .else PLIST_SUB+= WWWDATA="@comment " .endif .else CONFIGURE_ARGS+=--without-http PLIST_SUB+= WWWDATA="@comment " .endif # WITH_HTTP .if ${PORT_OPTIONS:MMAIL} CONFIGURE_ARGS+=--with-mail .if empty(PORT_OPTIONS:MMAIL_IMAP) CONFIGURE_ARGS+=--without-mail_imap_module .endif .if empty(PORT_OPTIONS:MMAIL_POP3) CONFIGURE_ARGS+=--without-mail_pop3_module .endif .if empty(PORT_OPTIONS:MMAIL_SMTP) CONFIGURE_ARGS+=--without-mail_smtp_module .endif .if ${PORT_OPTIONS:MMAIL_SSL} NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-mail_ssl_module .endif .endif # WITH_MAIL .if ${PORT_OPTIONS:MARRAYVAR} NGINX_ARRAYVAR_VERSION= 0.03 GH_ACCOUNT+= openresty:arrayvar GH_PROJECT+= array-var-nginx-module:arrayvar GH_TAGNAME+= v${NGINX_ARRAYVAR_VERSION}:arrayvar CONFIGURE_ARGS+=--add-module=${WRKSRC_arrayvar} .endif .if ${PORT_OPTIONS:MFORMINPUT} NGINX_FORMINPUT_VERSION= 0.07 GH_ACCOUNT+= calio:forminput GH_PROJECT+= form-input-nginx-module:forminput GH_TAGNAME+= v${NGINX_FORMINPUT_VERSION}:forminput CONFIGURE_ARGS+=--add-module=${WRKSRC_forminput} .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv NGINX_ICONV_VERSION= 0.10 GH_ACCOUNT+= calio:iconv GH_PROJECT+= iconv-nginx-module:iconv GH_TAGNAME+= v${NGINX_ICONV_VERSION}:iconv CONFIGURE_ARGS+=--add-module=${WRKSRC_iconv} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config .endif PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} USERS?= ${WWWOWN} GROUPS?=${WWWGRP} .if defined(WITH_HTTP_REWRITE) LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-pcre .else PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre CONFIGURE_ARGS+=--without-http_rewrite_module \ --without-pcre .endif .if defined(NGINX_OPENSSL) USE_OPENSSL= yes .if ${PORT_OPTIONS:MSPDY} .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000028 WITH_OPENSSL_PORT= yes .endif .endif .endif .if defined(WITH_HTTP_SSL) NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-http_ssl_module .endif .if ${PORT_OPTIONS:MHTTP_SSL} WITH_HTTP_SSL= yes .endif pre-everything:: .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support" .endif post-extract: .if ${PORT_OPTIONS:MGRIDFS} @${RMDIR} ${WRKSRC_gridfs}/mongo-c-driver/ @${MV} ${WRKSRC_mongo_c} ${WRKSRC_gridfs}/mongo-c-driver/ .endif post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!' \ ${WRKSRC}/conf/nginx.conf .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ 's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/config .endif # Linker error acquire if --std=c99 defined, add "static" to inline function .if ${PORT_OPTIONS:MHTTP_ZIP} @${REINPLACE_CMD} \ 's!^inline!static inline!' \ ${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}/ngx_http_zip_parsers.* .endif .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_drizzle}/config .endif # Respect CFLAGS by remove needless --std=c99 flag .if ${PORT_OPTIONS:MGRIDFS} @${REINPLACE_CMD} \ 's!--std=c99!-DMONGO_HAVE_STDINT!' \ ${WRKSRC_gridfs}/config .endif .if ${PORT_OPTIONS:MPOSTGRES} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/ngx_postgres-${NGINX_POSTGRES_VERSION}/config .endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}/ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MSPDY} .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} '584d' \ ${WRKSRC_drizzle}/src/ngx_http_drizzle_util.c .endif .endif .if ${PORT_OPTIONS:MSUPERVISORD} ( cd ${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} && \ ${PATCH} -p0 < \ ${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_VERSION}/patches/ngx_http_upstream_fair_module.patch ) ( cd ${WRKSRC} && \ ${PATCH} -p0 < \ ${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_VERSION}/patches/ngx_http_upstream_init_busy-0.8.17.patch ) .endif .if ${PORT_OPTIONS:MTCP_PROXY} ( cd ${WRKSRC} && \ ${PATCH} -p1 < \ ${WRKSRC_tcp_proxy}/tcp.patch ) .endif .if ${PORT_OPTIONS:MICONV} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_iconv}/config .endif .if ${PORT_OPTIONS:MMODSECURITY} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/modsecurity-apache_${NGINX_MODSECURITY_VERSION}/nginx/modsecurity/config .endif pre-configure: .if ${PORT_OPTIONS:MMODSECURITY} ( cd ${WRKDIR}/modsecurity-apache_${NGINX_MODSECURITY_VERSION} && \ CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module && \ ${MAKE} ) .endif do-build: @cd ${WRKSRC} && ${MAKE} do-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/modules ${MKDIR} ${STAGEDIR}${ETCDIR}/include ${MKDIR} ${STAGEDIR}${NGINX_TMPDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/objs/dso_tool ${STAGEDIR}${PREFIX}/sbin .for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR} .endfor .for i in *.so ${INSTALL_PROGRAM} ${WRKSRC}/objs/modules/${i} ${STAGEDIR}${ETCDIR}/modules .endfor .for i in *.h ${INSTALL_DATA} ${WRKSRC}/src/core/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/event/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/os/unix/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/http/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/http/modules/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/http/modules/lua/${i} ${STAGEDIR}${ETCDIR}/include .endfor ${INSTALL_DATA} ${WRKSRC}/objs/ngx_auto_headers.h ${WRKSRC}/objs/ngx_auto_config.h ${STAGEDIR}${ETCDIR}/include .for i in fastcgi_params mime.types nginx.conf scgi_params uwsgi_params ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR}/${i}-dist .endfor .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MWWW) ${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist .for i in index.html 50x.html ${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${PREFIX}/www/nginx-dist .endfor ${ECHO_CMD} "" >>${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING .endif .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/ .endif post-install: .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${ECHO_CMD} ${SITE_ARCH_REL}/auto/nginx/nginx.so >> ${TMPPLIST} ${ECHO_CMD} ${SITE_ARCH_REL}/nginx.pm >> ${TMPPLIST} .endif ${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .include Index: head/www/webalizer/Makefile =================================================================== --- head/www/webalizer/Makefile (revision 418828) +++ head/www/webalizer/Makefile (revision 418829) @@ -1,198 +1,198 @@ # $FreeBSD$ PORTNAME= webalizer PORTVERSION= 2.23.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES+= www MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/:main \ ftp://ftp.mrunix.net/pub/webalizer/geodb/:geodb \ ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/:main \ http://flags.blogpotato.de/zip/:flags PKGNAMESUFFIX?= ${WEBALIZER_SUFFIX}${PKGNAMESUFFIX2} DISTNAME= ${PORTNAME}-2.23-08-src DISTFILES= ${DISTNAME}.tgz:main MAINTAINER?= dinoex@FreeBSD.org COMMENT= Web server log file analysis program LICENSE= GPLv2 GNU_CONFIGURE= yes DOCSDIR?= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR?= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} GD_PORT?= graphics/gd CONFLICTS= geolizer-2* .if defined(BATCH) # no cosmetique spaces allowed WEBALIZER_LANG?=english .endif OPTIONS_DEFINE= GEOIP GEODB BDB1 BDB WEBALIZER_CONV \ FULL_CGI_REFS CLICKABLE_REFERER LARGE_URL \ DOCS EXAMPLES OPTIONS_DEFAULT?= NO_OPTIONS_SORT=yes GEODB_DESC=Enable Webalizers IP-Database support WEBALIZER_CONV_DESC=Japanese character code convert patch FULL_CGI_REFS_DESC=Show full cgi parameters in referers CLICKABLE_REFERER_DESC=Make referers clickable LARGE_URL_DESC=Enable URLs longer 512 bytes .include .if ${PORT_OPTIONS:MGEODB} || ${PORT_OPTIONS:MGEOIP} || make(makesum) || defined(FETCH_ALL) DISTFILES+= webalizer-flags.tgz:main .endif .if ${PORT_OPTIONS:MGEODB} || make(makesum) || defined(FETCH_ALL) DISTFILES+= webalizer-geodb-20150901.tgz:geodb .endif # slave ports override with languages specific gd .if !defined(LIB_DEPENDS) LIB_DEPENDS+= libgd.so:${GD_PORT} .endif .if ${PORT_OPTIONS:MGEOIP} LIB_DEPENDS+= libGeoIP.so:net/GeoIP .endif .if ${PORT_OPTIONS:MGEODB} .if empty(PORT_OPTIONS:MBDB1) WITH_BDB= yes .endif PLIST_SUB+= WITH_GEODB="" .else PLIST_SUB+= WITH_GEODB="@comment " .endif .if ${PORT_OPTIONS:MGEOIP} CONFLICTS+= ${PKGNAMEPREFIX}webalizer-2* CONFIGURE_ARGS+= --enable-geoip \ --with-geoip-lib=${LOCALBASE}/lib \ --with-geoip-inc=${LOCALBASE}/include .else CONFLICTS+= ${PKGNAMEPREFIX}webalizer-geoip-2* .endif .if ${PORT_OPTIONS:MGEODB} || ${PORT_OPTIONS:MGEOIP} PLIST_SUB+= WITH_GEOIP="" .else PLIST_SUB+= WITH_GEOIP="@comment " .endif .if defined(WITH_BDB_VER) || ${PORT_OPTIONS:MBDB} USE_BDB= yes INVALID_BDB_VER= 2 3 40 LDFLAGS+= -L${BDB_LIB_DIR} CFLAGS+= -I${BDB_INCLUDE_DIR} .else CFLAGS+= -DUSE_DB185 .endif CONFIGURE_ARGS+= --enable-dns \ --enable-bz2 \ --with-geodb=${PREFIX}/share/webalizer \ --sysconfdir=${PREFIX}/etc \ --with-gdlib=${LOCALBASE}/lib \ --with-gd=${LOCALBASE}/include LDFLAGS+= -L${PREFIX}/lib CFLAGS+= -Wall LMAN1= ${PKGNAMEPREFIX}webalizer.1 ${PKGNAMEPREFIX}wcmgr.1 DOC1= CHANGES Copyright INSTALL \ README README.FIRST DNS.README country-codes.txt EXAMPLES1= msfree.png sample.conf webalizer.png WRKSRC= ${WRKDIR}/${DISTNAME:S/-src$//} PLIST_SUB+= PKGNAMEPREFIX=${PKGNAMEPREFIX} SUPP_LANG= albanian arabic catalan chinese croatian czech danish dutch \ english estonian finnish french galician german greek \ hungarian icelandic indonesian italian japanese korean \ latvian lithuanian malay norwegian polish portuguese \ portuguese_brazil romanian romanian-iso-8859-2 russian \ serbian simplified_chinese slovak slovene spanish swedish \ thai turkish ukrainian .if defined(WEBALIZER_LANG) CONFIGURE_ARGS+= --with-language=${WEBALIZER_LANG} # The patch file is written by URASHIMA Akira # see http://tyche.pu-toyama.ac.jp/~a-urasim/webalizer/ .if ${WEBALIZER_LANG} == japanese EXTRA_PATCHES+= ${FILESDIR}/ja-webalizer.conf-dist.patch .endif .endif .if ${PORT_OPTIONS:MWEBALIZER_CONV} USES+= iconv # The patch file is written by URASHIMA Akira # see http://tyche.pu-toyama.ac.jp/~a-urasim/webalizer/ EXTRA_PATCHES+= ${FILESDIR}/webalizer-a-urasim_2.patch CONFIGURE_ARGS+= --enable-mininls CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} .endif .if ${PORT_OPTIONS:MFULL_CGI_REFS} CFLAGS+= -DUSE_FULL_CGI_REFS .endif .if ${PORT_OPTIONS:MCLICKABLE_REFERER} CFLAGS+= -DUSE_CLICKABLE_REFERER .endif pre-configure: ${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|" \ ${WRKSRC}/webalizer.1 ${REINPLACE_CMD} \ -e "s|webalizer.conf|${PKGNAMEPREFIX}webalizer.conf|" \ ${WRKSRC}/webalizer.c .if ${PORT_OPTIONS:MLARGE_URL} ${REINPLACE_CMD} \ -e "s|MAXURLH 512 |MAXURLH 2048|" \ ${WRKSRC}/webalizer.h .endif .if defined(WITH_BDB_VER) || ${PORT_OPTIONS:MBDB} ${REINPLACE_CMD} -e "s|-ldb|-l${BDB_LIB_NAME}|" \ ${WRKSRC}/configure .else ${REINPLACE_CMD} -e "s|-ldb||" \ ${WRKSRC}/configure .endif .if !defined(WEBALIZER_LANG) @${ECHO_MSG} "You can customize the language by typing" @${ECHO_MSG} " make WEBALIZER_LANG=" @${ECHO_MSG} "where is one of:" @${ECHO_MSG} ${SUPP_LANG} .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/webalizer \ ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}webalizer ${INSTALL_PROGRAM} ${WRKSRC}/wcmgr \ ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}wcmgr ${LN} -sf ${PKGNAMEPREFIX}webalizer \ ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}webazolver ${INSTALL_DATA} ${WRKSRC}/sample.conf \ ${STAGEDIR}${PREFIX}/etc/${PKGNAMEPREFIX}webalizer.conf-dist ; .for i in ${LMAN1} ${INSTALL_MAN} ${WRKSRC}/${i:S/^${PKGNAMEPREFIX}//} ${STAGEDIR}${PREFIX}/man/man1/${i} .endfor .if ${PORT_OPTIONS:MGEODB} || ${PORT_OPTIONS:MGEOIP} ${MKDIR} ${STAGEDIR}${PREFIX}/share/geolizer ${INSTALL_DATA} ${WRKDIR}/flags/* ${STAGEDIR}${PREFIX}/share/geolizer/ .endif .if ${PORT_OPTIONS:MGEODB} ${INSTALL_DATA} ${WRKDIR}/GeoDB.dat ${STAGEDIR}${PREFIX}/share/geolizer/ .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC1:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${EXAMPLES1:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}/ .endif .include Index: head/x11-toolkits/nucleo/Makefile =================================================================== --- head/x11-toolkits/nucleo/Makefile (revision 418828) +++ head/x11-toolkits/nucleo/Makefile (revision 418829) @@ -1,71 +1,71 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= nucleo PORTVERSION= 0.7.6 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= x11-toolkits MASTER_SITES= http://insitu.lri.fr/metisse/download/nucleo/ MAINTAINER= ports@FreeBSD.org COMMENT= Toolkit to explore video and human-computer interaction LICENSE= LGPL21 LIB_DEPENDS= libexif.so:graphics/libexif \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 USES= gmake jpeg libtool pathfix pkgconfig shebangfix tar:bzip2 USE_GL= glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-opencv USE_LDCONFIG= yes INSTALL_TARGET= install-strip SHEBANG_FILES= docs/MacOSX/nBundle.in CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= FFMPEG GD GNUTLS QT4 OPTIONS_RADIO= DNSSD OPTIONS_RADIO_DNSSD= AVAHI MDNSRESPONDER OPTIONS_SUB= yes DNSSD_DESC= Service discovery AVAHI_LIB_DEPENDS= libdns_sd.so:net/avahi-libdns AVAHI_CPPFLAGS= -I${LOCALBASE}/include/avahi-compat-libdns_sd FFMPEG_DESC= Build FFmpeg plugin FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FFMPEG_CONFIGURE_OFF= --without-ffmpeg GD_DESC= Build GD plugin GD_LIB_DEPENDS= libgd.so:graphics/gd QT4_DESC= Build Qt 4 plugin GD_CONFIGURE_OFF= --without-gd GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_OFF= --without-gnutls MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder QT4_USE= QT4=moc_build,corelib QT4_CONFIGURE_OFF= --without-qt QT4_MAKE_ARGS= QT4MOC="${MOC}" .include .if ! ${PORT_OPTIONS:MAVAHI} && ! ${PORT_OPTIONS:MMDNSRESPONDER} CONFIGURE_ARGS+= --without-dns-sd .endif .if ${PORT_OPTIONS:MQT4} QT_NONSTANDARD= yes .endif post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/nucleo .include