summaryrefslogtreecommitdiff
path: root/deskutils/clipit/Makefile
blob: 4ad05a4c830b644a2a365da3a9af2ba080db8130 (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=	clipit
PORTVERSION=	1.4.2
PORTREVISION=	2
CATEGORIES=	deskutils
MASTER_SITES=	SF/gtkclipit/Version%201

MAINTAINER=	jrm@FreeBSD.org
COMMENT=	Lightweight GTK+ clipboard manager forked from parcellite

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
USES=		gettext gmake gnome pkgconfig
USE_GNOME=	gtk20 intltool

OPTIONS_DEFINE=	NLS XDOTOOL
XDOTOOL_DESC=	Automatic paste functionality
OPTIONS_SUB=	yes

NLS_CONFIGURE_ON=	localedir=${LOCALBASE}/share/locale
NLS_CONFIGURE_OFF=	--disable-nls
XDOTOOL_RUN_DEPENDS+=	xdotool:x11/xdotool

post-patch:
	@${REINPLACE_CMD} -e 's|^itlocaledir =.*|itlocaledir = $$(datarootdir)/locale|' \
	${WRKSRC}/po/Makefile.in.in

.include <bsd.port.mk>