aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/ganyremote/Makefile
blob: 50c01865cdd2bfe029b4ffe6993a90329837465b (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
41
42
43
44
45
# New ports collection makefile for:    ganyremote
# Date created:             08 November 2008
# Whom:                 Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#

PORTNAME=   ganyremote
PORTVERSION=    5.10
PORTREVISION=   1
CATEGORIES= deskutils comms gnome
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= anyremote

MAINTAINER= avl@FreeBSD.org
COMMENT=    GNOME frontend for anyRemote

RUN_DEPENDS=    anyremote:${PORTSDIR}/comms/anyremote

GNU_CONFIGURE=  yes
USE_PYTHON= yes
USE_GNOME=  pygtk2
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

PORTDOCS=   AUTHORS COPYING README ChangeLog

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|usepybluez = True|usepybluez = False|' \
        -e '/initVerify()$$/d' ${WRKSRC}/${PORTNAME}
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e '/doc\/${PORTNAME}/d' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.post.mk>