aboutsummaryrefslogtreecommitdiff
path: root/deskutils/xpad3/Makefile
blob: ef6109127b961b23b11f17de2ddd38a1ad2a008a (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
35
36
37
38
39
40
# Created by: Guillaume Paquet <amyfoub@gmail.com>
# $FreeBSD$

PORTNAME=	xpad
PORTVERSION=	3.1
PORTREVISION=	8
CATEGORIES=	deskutils
MASTER_SITES=	http://launchpad.net/xpad/stable/${PORTVERSION}/+download/
PKGNAMESUFFIX=	3

MAINTAINER=	jgh@FreeBSD.org
COMMENT=	Virtual note-pad system for your X11 desktop

LICENSE=	GPLv3

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

CONFLICTS_INSTALL=	xpad-[0-9]*

USE_XORG=	x11 sm
USE_GNOME=	gtk20 intltool
USES=	pkgconfig gmake tar:bzip2
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes

NLS_USES=		gettext
NLS_CPPFLAGS=		${CXXFLAGS} -I${LOCALBASE}/include
NLS_LDFLAGS=		-L${LOCALBASE}/lib
NLS_CONFIGURE_ENABLE=	nls

.include <bsd.port.options.mk>

post-patch:
.if ! ${PORT_OPTIONS:MNLS}
	@${REINPLACE_CMD} -e 's|SUBDIRS = autopackage doc src images po|SUBDIRS = autopackage doc src images|' \
		${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>