aboutsummaryrefslogtreecommitdiff
path: root/x11/slop/Makefile
blob: 1324e5548a971f78d082ee654708955a6cf3b263 (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
33
PORTNAME=	slop
PORTVERSION=	7.5
DISTVERSIONPREFIX=	v
PORTREVISION=	5
CATEGORIES=	x11

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+=	38886dd13ccb.patch:-p1 # https://github.com/naelstrof/slop/pull/150

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	Make a screen selection and print the selection coordinates to stdout

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/license.txt

BUILD_DEPENDS=	${LOCALBASE}/include/glm/glm.hpp:math/glm
LIB_DEPENDS=	libicuuc.so:devel/icu

USES=		cmake compiler:c++11-lang gl xorg
USE_GL=		gl glu glew
USE_LDCONFIG=	yes
USE_XORG=	ice sm x11 xext xrender

USE_GITHUB=	yes
GH_ACCOUNT=	naelstrof

PLIST_FILES=	bin/slop \
		include/slop.hpp \
		lib/libslopy.so \
		lib/libslopy.so.${PORTVERSION} \
		man/man1/slop.1.gz

.include <bsd.port.mk>