summaryrefslogtreecommitdiff
path: root/x11/xclip/Makefile
blob: f4c5a0359efdcf4e0ff5ab81c1377ccc5dcfeae9 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	xclip
PORTVERSION=	0.13
CATEGORIES=	x11

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Interface to X selections ("the clipboard") from the command line

LICENSE=	GPLv2

USE_GITHUB=	yes
GH_ACCOUNT=	astrand

USES=		autoreconf gmake iconv
USE_XORG=	x11 xmu

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

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

post-patch:
	${REINPLACE_CMD} 's,mktemp,mktemp -t xclip,' ${WRKSRC}/xclip-copyfile

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

.include <bsd.port.mk>