summaryrefslogtreecommitdiff
path: root/deskutils/autocutsel/Makefile
blob: 7ebfc4e8883ffeb34a9d46183d5afb99708b67f3 (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
# Created by: john@jnielsen.net
# $FreeBSD$

PORTNAME=	autocutsel
PORTVERSION=	0.10.0
PORTREVISION=	1
CATEGORIES=	deskutils

MAINTAINER=	john@jnielsen.net
COMMENT=	Synchronizes the two copy/paste buffers used by X applications

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		autoreconf gmake libtool xorg
USE_XORG=	ice sm x11 xaw xext xmu xt
USE_GITHUB=	yes
GH_ACCOUNT=	sigmike

GNU_CONFIGURE=	yes

PLIST_FILES=	bin/autocutsel \
		bin/cutsel \
		man/man1/autocutsel.1.gz \
		man/man1/cutsel.1.gz

post-configure:
	@${REINPLACE_CMD} -e 's|-I\.|-I/usr/local/include|g' ${WRKSRC}/Makefile

post-install:
	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>