aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2007-08-25 20:33:31 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2007-08-25 20:33:31 +0000
commitccae5a0641f26be4211a80bc3528fa17a1c720ad (patch)
tree6f729eae448e2dcad70577163e0368b0628a9297
parentf9dc424914aa7e28364b4b73cbf183784e063d63 (diff)
downloadports-ccae5a0641f26be4211a80bc3528fa17a1c720ad.tar.gz
ports-ccae5a0641f26be4211a80bc3528fa17a1c720ad.zip
Notes
-rw-r--r--net/Makefile1
-rw-r--r--net/grsync/Makefile36
-rw-r--r--net/grsync/distinfo3
-rw-r--r--net/grsync/files/patch-gmsgfmt20
-rw-r--r--net/grsync/pkg-descr9
-rw-r--r--net/grsync/pkg-plist14
6 files changed, 83 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 5bb86a73c899..383c29f0caf8 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -173,6 +173,7 @@
SUBDIR += gotthard
SUBDIR += gq
SUBDIR += grdesktop
+ SUBDIR += grsync
SUBDIR += gsk
SUBDIR += gspoof
SUBDIR += gstreamer-plugins-libmms
diff --git a/net/grsync/Makefile b/net/grsync/Makefile
new file mode 100644
index 000000000000..58f05c0df812
--- /dev/null
+++ b/net/grsync/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: grsync
+# Date created: 24 August 2007
+# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= grsync
+PORTVERSION= 0.6
+CATEGORIES= net
+MASTER_SITES= http://www.opbyte.it/release/ \
+ ${MASTER_SITE_LOCAL}
+
+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
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+MAN1= grsync.1 grsync-batch.1
+
+.include <bsd.port.mk>
diff --git a/net/grsync/distinfo b/net/grsync/distinfo
new file mode 100644
index 000000000000..a5eb911a435e
--- /dev/null
+++ b/net/grsync/distinfo
@@ -0,0 +1,3 @@
+MD5 (grsync-0.6.tar.gz) = 1d5fa63fe80e4af893b7594ff55c6003
+SHA256 (grsync-0.6.tar.gz) = 7919602773c04c13b790713f1db04883138f7179b18b44068a3443f0ffac1c43
+SIZE (grsync-0.6.tar.gz) = 204566
diff --git a/net/grsync/files/patch-gmsgfmt b/net/grsync/files/patch-gmsgfmt
new file mode 100644
index 000000000000..c02f347cf20d
--- /dev/null
+++ b/net/grsync/files/patch-gmsgfmt
@@ -0,0 +1,20 @@
+--- po/Makefile.in.in.orig 2007-07-18 22:25:46.000000000 +0800
++++ po/Makefile.in.in 2007-08-26 04:01:44.000000000 +0800
+@@ -34,7 +34,7 @@
+ datarootdir = @datarootdir@
+ libdir = @libdir@
+ DATADIRNAME = @DATADIRNAME@
+-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
++itlocaledir = $(prefix)/share/locale
+ subdir = po
+ install_sh = @install_sh@
+ # Automake >= 1.8 provides @mkdir_p@.
+@@ -44,7 +44,7 @@
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+
+-GMSGFMT = @GMSGFMT@
++GMSGFMT = @INTLTOOL_MSGFMT@
+ MSGFMT = @MSGFMT@
+ XGETTEXT = @XGETTEXT@
+ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
diff --git a/net/grsync/pkg-descr b/net/grsync/pkg-descr
new file mode 100644
index 000000000000..5f40c8d18642
--- /dev/null
+++ b/net/grsync/pkg-descr
@@ -0,0 +1,9 @@
+Grsync is a GUI (Graphical User Interface) for rsync, the commandline
+directory synchronization tool. It makes use of the GTK libraries and is
+released under the GPL license, so it is opensource. It doesn't support all
+of rsync features, but can be effectively used to synchronize local
+directories and supports remote targets in a limited way (read: manual). For
+example some people use grsync to synchronize their music collection with
+removable devices or to backup personal files to a networked drive.
+
+WWW: http://www.opbyte.it/grsync
diff --git a/net/grsync/pkg-plist b/net/grsync/pkg-plist
new file mode 100644
index 000000000000..3a5e169eb9a0
--- /dev/null
+++ b/net/grsync/pkg-plist
@@ -0,0 +1,14 @@
+bin/grsync
+bin/grsync-batch
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/grsync.mo
+%%NLS%%share/locale/it_IT/LC_MESSAGES/grsync.mo
+%%NLS%%share/locale/nb_NO/LC_MESSAGES/grsync.mo
+%%NLS%%share/locale/nl_NL/LC_MESSAGES/grsync.mo
+%%NLS%%share/locale/ru_RU/LC_MESSAGES/grsync.mo
+%%NLS%%share/locale/sv_SE/LC_MESSAGES/grsync.mo
+%%NLS%%share/locale/tr_TR/LC_MESSAGES/grsync.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/grsync.mo
+share/applications/grsync.desktop
+share/pixmaps/grsync.png
+%%NLS%%@dirrmtry share/locale/nl_NL/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/nl_NL