summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-05-09 18:42:01 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-05-09 18:42:01 +0000
commitb2ce31c70a5a3e7a29d13b98cb6d5267bffd4afe (patch)
tree41acab45bcd2a58c7eede814a34617d9f028d59b /ftp
parentUpgrade to 3.0 beta version 10 (diff)
make PREFIX clean
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ncftp3/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/ftp/ncftp3/Makefile b/ftp/ncftp3/Makefile
index 308377533a3b..a3c94eaffd54 100644
--- a/ftp/ncftp3/Makefile
+++ b/ftp/ncftp3/Makefile
@@ -4,7 +4,7 @@
# Date created: 4 Nov 1994
# Whom: ache
#
-# $Id: Makefile,v 1.44 1998/02/16 13:16:43 asami Exp $
+# $Id: Makefile,v 1.45 1998/05/09 18:28:50 obrien Exp $
#
DISTNAME= ncftp-3.0beta10-src
@@ -20,6 +20,11 @@ MAN1= ncftp3.1 ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1
MAN3= Strn.3
NO_LATEST_LINK= yes
+post-patch:
+ @${MV} ${WRKSRC}/ncftp/pref.h ${WRKSRC}/ncftp/pref.h.in
+ @${SED} -e 's:/etc/ncftp.firewall:${PREFIX}/etc/ncftp.firewall:' \
+ ${WRKSRC}/ncftp/pref.h.in > ${WRKSRC}/ncftp/pref.h
+
pre-build:
cd ${WRKSRC}/Strn ; make so
cd ${WRKSRC}/libncftp ; make so