aboutsummaryrefslogtreecommitdiff
path: root/x11/xclip/Makefile
blob: 37c154683106632ea04ede99a66d5f5c77547a95 (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
34
35
36
37
38
39
40
41
PORTNAME=	xclip
DISTVERSION=	0.13-82
DISTVERSIONSUFFIX=	-gb372f73
PORTREVISION=	1
CATEGORIES=	x11

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Interface to X selections ("the clipboard") from the command line
WWW=		https://github.com/astrand/xclip

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		autoreconf gmake iconv xorg
USE_GITHUB=	yes
GH_ACCOUNT=	astrand
USE_XORG=	x11 xmu

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	ac_cv_header_X11_Intrinsic_h=yes \
		ac_cv_header_X11_Xmu_Atoms_h=yes \
		ac_cv_lib_Xmu_XmuClientWindow=yes

PLIST_FILES=	bin/xclip \
		bin/xclip-copyfile \
		bin/xclip-cutfile \
		bin/xclip-pastefile \
		share/man/man1/xclip-copyfile.1.gz \
		share/man/man1/xclip.1.gz

PORTDOCS=	README
OPTIONS_DEFINE=	DOCS

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

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

.include <bsd.port.mk>