From owner-freebsd-ports-bugs@freebsd.org Sat May 18 09:09:27 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F83D15AD07D for ; Sat, 18 May 2019 09:09:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 368D970735 for ; Sat, 18 May 2019 09:09:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EBD3415AD07C; Sat, 18 May 2019 09:09:26 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C914A15AD07B for ; Sat, 18 May 2019 09:09:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 639D570733 for ; Sat, 18 May 2019 09:09:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A1E556B6B for ; Sat, 18 May 2019 09:09:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4I99P8K053164 for ; Sat, 18 May 2019 09:09:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4I99Ps9053163 for ports-bugs@FreeBSD.org; Sat, 18 May 2019 09:09:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 227368] New port: graphics/phpsane: web-based frontend for SANE written in HTML/PHP so you can scan with your web-browser Date: Sat, 18 May 2019 09:09:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tobik@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2019 09:09:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227368 Tobias Kortkamp changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-patch, needs-qa Status|New |Open --- Comment #2 from Tobias Kortkamp --- Hello, is this still relevant? I'm a little concerned that the last release of phpSANE was in 2013. Does it work correctly with PHP 7.x? XMASTER_SITES=3D SF/${PORTNAME}/${PORTSANE}/${PORTVERSION} The distfile does not fetch. What is ${PORTSANE} ? XIMAGICK_RUN_DEPENDS=3D convert:graphics/ImageMagick-nox11 graphics/ImageMagick-nox11 no longer exists. You must pick either of graphics/ImageMagick{6,7}-nox11. XNO_ARCH=3D yes XNO_BUILD=3D yes XNO_WRKSUBDIR=3D yes X XPLIST_SUB+=3D PHPSANE_GROUP=3D${PHPSANE_GROUP} \ X PHPSANE_TMPDIR=3D${PHPSANE_TMPDIR} \ X PHPSANE_OUTPUTDIR=3D${PHPSANE_OUTPUTDIR} \ X PHPSANE_SCANNERSDIR=3D${PHPSANE_SCANNERSDIR} \ These need to be before OPTIONS_DEFINE. Also replace the +=3D with just =3D. X cd ${WRKSRC} ; \ X ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${WWWDIR}/{}" \; X cd ${WRKSRC} ; \ X ${FIND} * ! -type d ! -name Thumbs.db ! -name '*.zip' \ X ! -name '*.orig' -exec ${INSTALL_DATA} "{}" \ X "${STAGEDIR}${WWWDIR}/{}" \; Please use ${COPYTREE_SHARE} instead. X ${MKDIR} "${STAGEDIR}${PHPSANE_TMPDIR}" X ${MKDIR} "${STAGEDIR}${PHPSANE_OUTPUTDIR}" X ${MKDIR} "${STAGEDIR}${PHPSANE_SCANNERSDIR}" No need for the " X+$PNMTOJPEG =3D "/usr/local/bin/pnmtojpeg"; //netpbm pnm to jpeg conversion binary X+$PNMTOTIFF =3D "/usr/local/bin/pnmtotiff"; //netpbm pnm to tiff conversion binary X+$PNMTOBMP =3D "/usr/local/bin/ppmtobmp"; //netpbm ppm to bmp conversion binary X+$PNMTOPNG =3D "/usr/local/bin/pnmtopng"; //netpbm pnm to png conversion binary X+$CONVERT =3D "/usr/local/bin/convert"; //ImageMagick convert binary X+$IDENTIFY =3D "/usr/local/bin/identify"; //ImageMagick binary used to t= est for PDF support X if(!`ls $GOCR`) $do_format_txt =3D false; //disable OCR when not available /usr/local is user settable via LOCALBASE, so hardcoding it like this is probably wrong. Maybe add an additional post-patch: @${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},' ${WRKSRC}/incl/config.php or do it completely with REINPLACE_CMD instead. --=20 You are receiving this mail because: You are the assignee for the bug.=