aboutsummaryrefslogtreecommitdiff
path: root/sysutils/scanbuttond/Makefile
blob: 8e773c233eac15fdd18db6bfbabafbeeea3b0dde (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
31
32
# New ports collection makefile for:	scanbuttond
# Date created:		31 March 2006
# Whom:			Daniel Thiele
#
# $FreeBSD$
#

PORTNAME=	scanbuttond
PORTVERSION=	0.2.3
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	dthiele@gmx.net
COMMENT=	A daemon to monitor and configure modern scanner's buttons

LIB_DEPENDS=	usb-0.1.8:${PORTSDIR}/devel/libusb

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG=	yes

SUB_FILES+=	pkg-message

pre-configure:
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
		${REINPLACE_CMD} -e 's|-ldl||g'
post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>