aboutsummaryrefslogtreecommitdiff
path: root/deskutils/parcellite/Makefile
blob: c9831f4009206247eb4d41adcd79133b8c983c12 (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: Joey Mingrone <joey@mingrone.org>
# $FreeBSD$

PORTNAME=	parcellite
PORTVERSION=	1.0.1
PORTEPOCH=	1
CATEGORIES=	deskutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	jrm@ftfl.ca
COMMENT=	A lightweight GTK+ clipboard manager

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	gtk20

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

MAN1=	parcellite.1

post-patch:
	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g'\
		${WRKSRC}/src/keybinder.h

.include <bsd.port.mk>