aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xpad-current/Makefile
blob: 5d6f2999773ecf99be130ff1c495dca172225180 (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
# Created by: Jaosn Helfman <jgh@FreeBSD.org>
# $FreeBSD$

PORTNAME=   xpad
PORTVERSION=    4.1
PORTREVISION=   3
CATEGORIES= deskutils
MASTER_SITES=   http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
PKGNAMESUFFIX=  -current

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

LICENSE=    GPLv3

CONFLICTS_INSTALL=  xpad-[0-9]*
FETCH_ARGS= -p
USE_BZIP2=  yes
USE_XORG=   x11 sm
USE_GNOME=  gtk20 gnomehier intltool
USE_PKGCONFIG=  build
INSTALLS_ICONS= yes
CPPFLAGS+=  ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
GNU_CONFIGURE=  yes
USE_GMAKE=  yes

#code currently doesn't properly handle --disable-nls (in next upstream milestone)
USE_GETTEXT=    yes

MAN1=       xpad.1

post-patch:
    @${REINPLACE_CMD} -e 's|glib/glist.h|glib.h|g' \
        ${WRKSRC}/src/xpad-undo.c

.include <bsd.port.mk>