mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
a7593a91c8
PR: 138030 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com> (maintainer)
47 lines
919 B
Makefile
47 lines
919 B
Makefile
# New ports collection makefile for: grsync
|
|
# Date created: 24 August 2007
|
|
# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= grsync
|
|
PORTVERSION= 0.9.1
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://www.opbyte.it/release/ \
|
|
GENTOO/distfiles \
|
|
LOCAL/chinsan
|
|
|
|
MAINTAINER= ganael.laplanche@martymac.com
|
|
COMMENT= GTK frontend for rsync
|
|
|
|
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
|
|
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
MAN1= grsync.1 grsync-batch.1
|
|
|
|
post-patch:
|
|
.if defined(WITHOUT_NLS)
|
|
@${REINPLACE_CMD} 's/^ALL_LINGUAS=.*/ALL_LINGUAS=""/' \
|
|
${WRKSRC}/configure
|
|
.endif
|
|
|
|
pre-install:
|
|
@${CHMOD} u+x ${WRKSRC}/install-sh
|
|
|
|
.include <bsd.port.mk>
|