summaryrefslogtreecommitdiff
path: root/x11/xclickroot/Makefile
blob: b5f66850d03ecc1810b454ff022c9ebba9ac6876 (plain)
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

PORTNAME=	xclickroot
DISTVERSIONPREFIX=	v
DISTVERSION=	1.2
CATEGORIES=	x11

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	Run a command every time a given mouse button is pressed on the root window

LICENSE=	PD
LICENSE_FILE=	${WRKSRC}/README

USES=		localbase:ldflags xorg
USE_GITHUB=	yes
GH_ACCOUNT=	phillbush
USE_XORG=	x11

MAKE_ARGS=	CC="${CC}" \
		CFLAGS="${CFLAGS}" \
		CPPFLAGS="${CPPFLAGS}" \
		LDFLAGS="${LDFLAGS} -lX11" \
		LIBS="${LIBS}" \
		PREFIX="${PREFIX}"

PLIST_FILES=	bin/${PORTNAME} \
		share/man/man1/${PORTNAME}.1.gz

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>