Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2022 22:58:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261891] [NEW PORT] graphics/epsonscan2: scanner engine supporting many Seiko/Epson scanners
Message-ID:  <bug-261891-7788-md2K3jAEoR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261891-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261891-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=3D261891

--- Comment #26 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to J.R. Oldroyd from comment #24)

for graphics/epsonscan2-non-free-plugin:

I think it's better to use epsonscan2-bundle instead of
epsonscan2-non-free-plugin for the PORTNAME to avoid problems later.

When using linux compatibility, use USES=3Dlinux instead of *_DEPENDS=3D.
When other required libraries that are defined in /usr/ports/Mk/Uses/linux.=
mk
are used, use USE_LINUX=3D. However, this is not the case for linux_libusb.

${ARCH} and some variables are defined after .include <bsd.port.options.mk>=
 or
.include <bsd.port.pre.mk>.
For example:
PORTNAME=3D epsonscan2...
.include <bsd.port.options.mk>
.if ${ARCH} =3D=3D amd64
FOR_AMD64_FOOBAR=3D foo
.endif
.include <bsd.port.mk>

For the post-extract target, in the case of porting
epson-inkjet-printer-escpr2, I copied the commands for the do-extract targe=
t in
/usr/ports/Mk/bsd.port.mk.
I don't think it's necessary to delete files scattered around WRKDIR here,
unless there are duplicate names.
For the do-install target, I also copied the one in
/usr/ports/Mk/Uses/linux.mk.
I think it's easier to see what will happen that way.

If poudriere, etc. are stopped by a license that is not automatically accep=
ted,
put the following in /usr/local/etc/poudriere.d/make.conf and it will go
through everything :)

LICENSES_ACCEPTED=3D ${LICENSE}

--=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-261891-7788-md2K3jAEoR>