Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2022 05:11:21 +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-YMileydYUI@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 #30 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to J.R. Oldroyd from comment #29)

for graphics/epsonscan2-non-free-plugin:
PORTREVISION is not yet required.
For maintainers like us, most of the work related to bumping PORTREVISION c=
an
be left to the committer :)

There are separate values for DISTFILES for each architecture.
In this case... ...?

MASTER_SITES=3D https:// download2.ebz.epson.net/
epsonscan2/common/deb/arm/:aarch64 \
    https:// download2.ebz.epson.net/ epsonscan2/common/rpm/x64/:amd64 \
    https:// download2.ebz.epson.net/ epsonscan2/common/rpm/x86/:i386
DISTNAME=3D ${PORTNAME:S/-non-free-plugin//}-bundle-${DISTVERSION}
EXTRACT_SUFX=3D .tar.gz # is default value defined in bsd.port.mk
DISTFILES_aarch64=3D ${DISTNAME}.armv7l.deb${EXTRACT_SUFX}:aarch64
DISTFILES_amd64=3D ${DISTNAME}.x86_64.rpm${EXTRACT_SUFX}:amd64
DISTFILES_i386=3D ${DISTNAME}.i686.rpm${EXTRACT_SUFX}:i386

DISTFILES_* must match ${ARCH}.
The :fooarch suffix in MASTER_SITES and DISTFILES_* is my own named suffix.
There is no specific name given for it.
If this is adopted, it may be better to set WRKSRC to some other value.

DOCSDIR in PLIST_SUB is present by default.
I think it is better to use the following post-install to install the docum=
ent.
Just define the files to be installed in the PORTDOCS value, and adding the=
m to
the plist is automatic.
It seems that bsd.options.mk automatically adds PORTDOCS for PLIST_SUB.
post-install:
        ${MKDIR} ${STAGEDIR}${DOCSDIR}
        cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

If you like something, please refer to it :)

--=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-YMileydYUI>