Changeset View
Changeset View
Standalone View
Standalone View
graphics/sane-airscan/Makefile
- This file was added.
PORTNAME= sane-airscan | |||||
DISTVERSION= 0.99.26 | |||||
CATEGORIES= graphics | |||||
MAINTAINER= henry.hu.sh@gmail.com | |||||
COMMENT= SANE backend for AirScan (eSCL) and WSD document scanners | |||||
LICENSE= GPLv2 | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE | |||||
LIB_DEPENDS= libavahi-client.so:net/avahi-app \ | |||||
libpng.so:graphics/png \ | |||||
libgnutls.so:security/gnutls | |||||
BUILD_DEPENDS= sane-backends>0:graphics/sane-backends | |||||
tcberner: ^ why are the backends only needed during build (not saying it's wrong, just looks suspicious) | |||||
Done Inline ActionsIt uses headers from sane ./airscan.h:14:10: fatal error: 'sane/sane.h' file not found #include <sane/sane.h> diizzy: It uses headers from sane
```
./airscan.h:14:10: fatal error: 'sane/sane.h' file not found… | |||||
USES= gmake gnome jpeg pkgconfig | |||||
USE_GNOME= libxml2 | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= alexpevzner | |||||
MAKE_ARGS= CC=${CC} PKG_CONFIG=pkgconf | |||||
Not Done Inline ActionsMAKE_ENV would fit more to hold these values. arrowd: `MAKE_ENV` would fit more to hold these values. | |||||
Done Inline ActionsDoesn't get picked up by upstreams Makefile resulting in a build failure diizzy: Doesn't get picked up by upstreams Makefile resulting in a build failure | |||||
MANPAGES= sane-airscan.5 airscan-discover.1 | |||||
post-install: | |||||
@${MV} ${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf \ | |||||
${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf.sample | |||||
${RLN} ${STAGEDIR}${PREFIX}/lib/sane/libsane-airscan.so.1 \ | |||||
${STAGEDIR}${PREFIX}/lib/sane/libsane-airscan.so | |||||
Not Done Inline ActionsWhy create this symlink? I guess, this is the reason why portlint and stage-qa emit warnings for this file. arrowd: Why create this symlink? I guess, this is the reason why `portlint` and `stage-qa` emit… | |||||
Done Inline ActionsI added that because several other repos does this (for compatibility reasons as far as I could tell), removing it doesn't change the error message diizzy: I added that because several other repos does this (for compatibility reasons as far as I could… | |||||
.include <bsd.port.mk> |
^ why are the backends only needed during build (not saying it's wrong, just looks suspicious)