aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-05-10 02:42:01 +0800
committerobrien <obrien@FreeBSD.org>1998-05-10 02:42:01 +0800
commitf11c392a5ff13ff67de18d7aba4c832eca7ea726 (patch)
tree359623222a6e1613ca285075d71d738b99192e8d /ftp
parent3fd9e3e15eb320224c399971dcf05c32fe801654 (diff)
downloadfreebsd-ports-gnome-f11c392a5ff13ff67de18d7aba4c832eca7ea726.tar.gz
freebsd-ports-gnome-f11c392a5ff13ff67de18d7aba4c832eca7ea726.tar.zst
freebsd-ports-gnome-f11c392a5ff13ff67de18d7aba4c832eca7ea726.zip
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