aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/clipit/Makefile
blob: 9e36faf9c08693d881a7300cced25552c795a0f6 (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
# $FreeBSD$

PORTNAME=   clipit
PORTVERSION=    1.4.2
PORTREVISION=   1
CATEGORIES= deskutils
MASTER_SITES=   SF/gtkclipit/Version%201

MAINTAINER= jrm@ftfl.ca
COMMENT=    Lightweight GTK+ clipboard manager forked from parcellite

GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
USES=       gmake pkgconfig
USE_GNOME=  gtk20

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

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

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

.include <bsd.port.mk>