Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2019 09:09:25 +0000
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
Message-ID:  <bug-227368-7788-H1Lye0dOX1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227368-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227368-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227368

Tobias Kortkamp <tobik@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-patch, needs-qa
             Status|New                         |Open

--- Comment #2 from Tobias Kortkamp <tobik@freebsd.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227368-7788-H1Lye0dOX1>