aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/ganyremote/Makefile
blob: c7649dacc6bd6b2213d5678390762e255278e252 (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
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$

PORTNAME=   ganyremote
PORTVERSION=    6.3.3
PORTREVISION=   1
CATEGORIES= deskutils comms gnome
MASTER_SITES=   SF/anyremote/${PORTNAME}/${PORTVERSION}

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

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

RUN_DEPENDS=    anyremote:comms/anyremote

USES=       gettext python:2.7 shebangfix
SHEBANG_FILES=  ganyremote
USE_GNOME=  pygtk2
GNU_CONFIGURE=  yes
NO_ARCH=    yes

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e \
        's|/usr/local|${LOCALBASE}| ; \
         /usepybluez = /s|True|False| ; \
         /initVerify()$$/d' ${WRKSRC}/${PORTNAME}
    @${REINPLACE_CMD} -e \
        '/DESTDIR/s|cp -r|cp -R| ; \
         /DESTDIR/s|COPYING||' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>