2007-08-25 22:33:31 +02:00
|
|
|
# New ports collection makefile for: grsync
|
|
|
|
# Date created: 24 August 2007
|
|
|
|
# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= grsync
|
2009-10-14 12:35:00 +02:00
|
|
|
PORTVERSION= 0.9.2
|
2007-09-02 22:06:51 +02:00
|
|
|
CATEGORIES= net ipv6
|
2007-08-25 22:33:31 +02:00
|
|
|
MASTER_SITES= http://www.opbyte.it/release/ \
|
2007-09-01 15:19:33 +02:00
|
|
|
GENTOO/distfiles \
|
|
|
|
LOCAL/chinsan
|
2007-08-25 22:33:31 +02:00
|
|
|
|
|
|
|
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}"
|
2008-12-18 15:06:44 +01:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
2007-08-25 22:33:31 +02:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN1= grsync.1 grsync-batch.1
|
|
|
|
|
2008-12-18 15:06:44 +01:00
|
|
|
post-patch:
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
@${REINPLACE_CMD} 's/^ALL_LINGUAS=.*/ALL_LINGUAS=""/' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
.endif
|
|
|
|
|
2009-08-22 21:04:24 +02:00
|
|
|
pre-install:
|
|
|
|
@${CHMOD} u+x ${WRKSRC}/install-sh
|
|
|
|
|
2007-08-25 22:33:31 +02:00
|
|
|
.include <bsd.port.mk>
|