aboutsummaryrefslogtreecommitdiffstats
path: root/net/grsync/Makefile
blob: 18dfbf1a0e1bba87553f6840d6c2ac414713d6eb (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
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$

PORTNAME=   grsync
PORTVERSION=    1.2.5
CATEGORIES= net ipv6
MASTER_SITES=   http://www.opbyte.it/release/ \
        LOCAL/martymac

MAINTAINER= martymac@FreeBSD.org
COMMENT=    GTK frontend for rsync

LICENSE=    GPLv2

RUN_DEPENDS=    rsync:${PORTSDIR}/net/rsync \
        bash:${PORTSDIR}/shells/bash

USE_GNOME=  gtk20
USES=       desktop-file-utils gmake shared-mime-info pkgconfig shebangfix
SHEBANG_FILES=  src/grsync-batch
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --disable-unity

INSTALLS_ICONS= yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT=    NLS
OPTIONS_SUB=    yes
NLS_USES=   gettext

.include <bsd.port.options.mk>

post-patch:
.if empty(PORT_OPTIONS:MNLS)
    @${REINPLACE_CMD} 's/^ALL_LINGUAS=.*/ALL_LINGUAS=""/' \
        ${WRKSRC}/configure
.endif

.include <bsd.port.mk>