summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/xrmftp/DESCR10
-rw-r--r--net/xrmftp/Makefile22
-rw-r--r--net/xrmftp/PLIST2
-rw-r--r--net/xrmftp/distinfo5
-rw-r--r--net/xrmftp/patches/patch-aa34
5 files changed, 73 insertions, 0 deletions
diff --git a/net/xrmftp/DESCR b/net/xrmftp/DESCR
new file mode 100644
index 00000000000..1803f9aae90
--- /dev/null
+++ b/net/xrmftp/DESCR
@@ -0,0 +1,10 @@
+Xrmftp is FTP client for UNIX with graphical interface. Its main features
+in my opinion are:
+ * During transfer you can detach from X-server and continue transfer.
+ This feature is useful for people who don't have permanent access to
+ X-terminal.
+ * Upload and download with directory structure.
+ * You can resume transfer if file was truncated.
+ * Listings of visited directories are cached.
+ * You can 'walk around' directory tree and put files you want to download
+ into buffer and then download them all together.
diff --git a/net/xrmftp/Makefile b/net/xrmftp/Makefile
new file mode 100644
index 00000000000..d61ff649772
--- /dev/null
+++ b/net/xrmftp/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/21 11:07:04 rh Exp $
+
+DISTNAME= xrmftp-1.2.4
+CATEGORIES= net
+MASTER_SITES= http://www.mat.uni.torun.pl/~rafmet/xrmftp/
+EXTRACT_SUFX= .src.tgz
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://www.mat.uni.torun.pl/~rafmet/xrmftp/
+COMMENT= FTP client for X Window System
+
+USE_X11BASE= yes
+WRKSRC= ${WRKDIR}/xrmftp-1.2.4.src
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xrmftp ${PREFIX}/bin
+
+.include "../../graphics/jpeg/buildlink.mk"
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../x11/xforms/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/xrmftp/PLIST b/net/xrmftp/PLIST
new file mode 100644
index 00000000000..223a229fe65
--- /dev/null
+++ b/net/xrmftp/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/21 11:07:04 rh Exp $
+bin/xrmftp
diff --git a/net/xrmftp/distinfo b/net/xrmftp/distinfo
new file mode 100644
index 00000000000..cf3b6513138
--- /dev/null
+++ b/net/xrmftp/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/21 11:07:04 rh Exp $
+
+SHA1 (xrmftp-1.2.4.src.tgz) = 7d6276fdb6f0582a6d31ab12ef058c418532ffc4
+Size (xrmftp-1.2.4.src.tgz) = 37171 bytes
+SHA1 (patch-aa) = a89c99e75c45d5a1aabacc6e81f47dadeff4cece
diff --git a/net/xrmftp/patches/patch-aa b/net/xrmftp/patches/patch-aa
new file mode 100644
index 00000000000..25a6e41f1d3
--- /dev/null
+++ b/net/xrmftp/patches/patch-aa
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/04/21 11:07:04 rh Exp $
+
+--- Makefile.orig Wed Nov 18 08:25:43 1998
++++ Makefile
+@@ -1,20 +1,19 @@
+-CC=gcc
+-XFORMSLIBPATH=/usr/X11R6/lib # path to xforms library
+-XFORMSINCPATH=/usr/X11R6/include # path to xforms header file <forms.h>
+-XLIBSPATH=/usr/X11R6/lib # path to standard X libraries
+-XINCPATH=/usr/X11R6/include # path to standard X header files
+-LIBS= -lm -lX11 -lforms # libraries
++XFORMSLIBPATH=${X11PREFIX}/lib # path to xforms library
++XFORMSINCPATH=${X11PREFIX}/include/X11 # path to xforms header file <forms.h>
++XLIBSPATH=${X11BASE}/lib # path to standard X libraries
++XINCPATH=${X11BASE}/include # path to standard X header files
++LIBS= -lm -lX11 -lforms -ljpeg -lXpm # libraries
+ #EXTRALIBS=-lnsl -lsocket # additional libraries needed by some unices
+ SRC=xftp.c fd_xftp.c
+ OBJ=$(SRC:.c=.o)
+ EXE=xrmftp
+-CFLAGS=-I/usr/include -I${XFORMSINCPATH} -I${XINCPATH}
+-LDFLAGS=-L/usr/lib -L${XLIBSPATH} ${LIBS} ${EXTRALIBS} -L${XFORMSLIBPATH} -O3
++CFLAGS+=-I/usr/include -I${XFORMSINCPATH} -I${XINCPATH}
++LDFLAGS+=-L/usr/lib -L${XLIBSPATH} ${LIBS} ${EXTRALIBS} -L${XFORMSLIBPATH}
+
+ #------------------------------------------------------------------------------
+
+-${EXE}: ${OBJ}
+- ${CC} ${LDFLAGS} -o ${EXE} ${OBJ}
++all: ${OBJ}
++ ${CC} ${OBJ} ${LDFLAGS} -o ${EXE}
+
+ ${OBJ}: ${SRC}
+