[Bug 261891] [NEW PORT] graphics/epsonscan2: scanner engine supporting many Seiko/Epson scanners
Date: Fri, 18 Feb 2022 05:11:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261891 --- 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 can be left to the committer :) There are separate values for DISTFILES for each architecture. In this case... ...? MASTER_SITES= 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= ${PORTNAME:S/-non-free-plugin//}-bundle-${DISTVERSION} EXTRACT_SUFX= .tar.gz # is default value defined in bsd.port.mk DISTFILES_aarch64= ${DISTNAME}.armv7l.deb${EXTRACT_SUFX}:aarch64 DISTFILES_amd64= ${DISTNAME}.x86_64.rpm${EXTRACT_SUFX}:amd64 DISTFILES_i386= ${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 document. Just define the files to be installed in the PORTDOCS value, and adding them 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 :) -- You are receiving this mail because: You are the assignee for the bug.