aboutsummaryrefslogtreecommitdiff
path: root/graphics/sane-airscan/Makefile
blob: 5f16ce9b8d08255b65ecf097a01290e973196301 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=		sane-airscan
DISTVERSION=		0.99.26
PORTREVISION=	1
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

USES=			gmake gnome jpeg pkgconfig
USE_GNOME=		libxml2
USE_GITHUB=		yes
GH_ACCOUNT=		alexpevzner

MAKE_ARGS=		CC=${CC} PKG_CONFIG=pkgconf

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

.include <bsd.port.mk>