aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/urlgfe/Makefile54
-rw-r--r--ftp/urlgfe/distinfo2
-rw-r--r--ftp/urlgfe/pkg-descr11
-rw-r--r--ftp/urlgfe/pkg-plist13
5 files changed, 81 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index 91dbc55f3728..81faabf8214f 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -81,6 +81,7 @@
SUBDIR += tnftp
SUBDIR += tnftpd
SUBDIR += twoftpd
+ SUBDIR += urlgfe
SUBDIR += vcheck
SUBDIR += vsftpd
SUBDIR += wget
diff --git a/ftp/urlgfe/Makefile b/ftp/urlgfe/Makefile
new file mode 100644
index 000000000000..f03a21e43af8
--- /dev/null
+++ b/ftp/urlgfe/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: urlgfe
+# Date created: 8 January 2004
+# Whom: Nosov Artem <chip-set@mail.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= urlgfe
+PORTVERSION= 0.7.1
+CATEGORIES= ftp www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= urlget
+
+MAINTAINER= chip-set@mail.ru
+COMMENT= A download manager
+
+LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl
+
+USE_GNOME= gtk20 lthack
+WANT_GNOME= yes
+USE_OPENSSL= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
+LDFLAGS+= -L${LOCALBASE}/lib
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgnomehier}!=""
+WITH_GNOME= yes
+PLIST_SUB+= GNOME:=""
+.else
+PLIST_SUB+= GNOME:="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|[$$]{prefix}/doc/urlgfe|${DOCSDIR}|g' \
+ ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's| $$||g ; s|urlgfe_icon|urlgfe-icon|g ; \
+ s|/usr/share/pixmaps/urlgfe/||g' ${WRKSRC}/${PORTNAME}.desktop
+ @${REINPLACE_CMD} -e 's| -g| ${CFLAGS}|g' \
+ ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|@MKINSTALLDIRS@|$$(top_srcdir)/@MKINSTALLDIRS@|g ; \
+ s|[$$][(]top_builddir[)]/[$$][(]MKINSTALLDIRS[)]|$$(top_srcdir)/mkinstalldirs|g' \
+ ${WRKSRC}/po/Makefile.in.in
+
+.if defined(WITH_GNOME)
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/gnome/apps/Internet/
+ @${INSTALL_DATA} ${WRKSRC}/pixmaps/${PORTNAME}-icon.png ${PREFIX}/share/gnome/pixmaps/
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/ftp/urlgfe/distinfo b/ftp/urlgfe/distinfo
new file mode 100644
index 000000000000..26db6b58f9c2
--- /dev/null
+++ b/ftp/urlgfe/distinfo
@@ -0,0 +1,2 @@
+MD5 (urlgfe-0.7.1.tar.gz) = f22fa4cfb58de04bd49fd2aad526fc1b
+SIZE (urlgfe-0.7.1.tar.gz) = 464100
diff --git a/ftp/urlgfe/pkg-descr b/ftp/urlgfe/pkg-descr
new file mode 100644
index 000000000000..003cc160ca28
--- /dev/null
+++ b/ftp/urlgfe/pkg-descr
@@ -0,0 +1,11 @@
+UrlGfe is a download manager.
+
+List of features:
+- user can classify URLs before downloading
+- every category has independent of configuration that can be inherited by
+ download
+- batch mode can generate URLs
+- supports import URLs from .html files
+- supports export URLs ( for wget -i )
+
+WWW: http://urlget.sourceforge.net/
diff --git a/ftp/urlgfe/pkg-plist b/ftp/urlgfe/pkg-plist
new file mode 100644
index 000000000000..212b3114719d
--- /dev/null
+++ b/ftp/urlgfe/pkg-plist
@@ -0,0 +1,13 @@
+bin/urlgfe
+%%DOCSDIR%%/ABOUT-NLS
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/INSTALL
+%%DOCSDIR%%/NEWS
+%%DOCSDIR%%/README
+%%DOCSDIR%%/TODO
+%%GNOME:%%share/gnome/apps/Internet/urlgfe.desktop
+%%GNOME:%%share/gnome/pixmaps/urlgfe-icon.png
+share/locale/zh_TW/LC_MESSAGES/urlgfe.mo
+@dirrm %%DOCSDIR%%