aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftp/ftpcopy/Makefile10
-rw-r--r--ftp/ftpcopy/distinfo2
-rw-r--r--ftp/ftpcopy/files/patch-aa21
3 files changed, 7 insertions, 26 deletions
diff --git a/ftp/ftpcopy/Makefile b/ftp/ftpcopy/Makefile
index e590650d6c60..66db418631ca 100644
--- a/ftp/ftpcopy/Makefile
+++ b/ftp/ftpcopy/Makefile
@@ -6,20 +6,22 @@
#
PORTNAME= ftpcopy
-PORTVERSION= 0.3.7
+PORTVERSION= 0.4.0
CATEGORIES= ftp
MASTER_SITES= http://www.ohse.de/uwe/ftpcopy/
MAINTAINER= sobomax@FreeBSD.org
+WRKSRC= ${WRKDIR}/web/${DISTNAME}
+
MAN1= ftpcopy.1 ftpcp.1 ftpls.1
do-install:
- ${MKDIR} ${PREFIX}/share/ftpcopy
- cd ${WRKSRC} && \
+ ${MKDIR} ${DATADIR}
+ cd ${WRKSRC}/compile && \
${INSTALL_PROGRAM} ftpcopy ftpls ${PREFIX}/bin && \
${INSTALL_SCRIPT} ftpcp ${PREFIX}/bin && \
${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 && \
- ${INSTALL_DATA} NEWS README ${PREFIX}/share/ftpcopy
+ ${INSTALL_DATA} NEWS README ${DATADIR}
.include <bsd.port.mk>
diff --git a/ftp/ftpcopy/distinfo b/ftp/ftpcopy/distinfo
index 5fe9e8a99baf..4d0fa771dd9c 100644
--- a/ftp/ftpcopy/distinfo
+++ b/ftp/ftpcopy/distinfo
@@ -1 +1 @@
-MD5 (ftpcopy-0.3.7.tar.gz) = afafe5ec4b7a2b1c08bb2f2cc4a4efdb
+MD5 (ftpcopy-0.4.0.tar.gz) = 3a4f64a99e02755db9760f18ac4a777e
diff --git a/ftp/ftpcopy/files/patch-aa b/ftp/ftpcopy/files/patch-aa
deleted file mode 100644
index fdba4632276e..000000000000
--- a/ftp/ftpcopy/files/patch-aa
+++ /dev/null
@@ -1,21 +0,0 @@
---- Makefile.orig Mon Jul 17 10:08:33 2000
-+++ Makefile Mon Jul 17 11:20:46 2000
-@@ -1,6 +1,6 @@
- VERSION=0.3.0
- PACKAGE=ftpcopy
--prefix=/usr/local
-+prefix=$(PREFIX)
-
- PACKAGE_VERSION=$(PACKAGE)-$(VERSION)
- HEADERS=ftpparse.h ftplib.h urlparse.h timeoutio.h \
-@@ -15,8 +15,8 @@
- INCLUDES=-I. -DPACKAGE_VERSION=\"$(PACKAGE)-$(VERSION)\" \
- -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
-
--TAR=tar
--CC=gcc
-+TAR?=tar
-+CC?=gcc
- L=./link.sh
- C=./compile.sh
- W=./compilew.sh