aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ncftp3
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-14 17:43:39 +0800
committerasami <asami@FreeBSD.org>1998-11-14 17:43:39 +0800
commit521807d38becba50804a00710cfa1b51c759a4f4 (patch)
tree26cfeb8a991d32014f9a30277d2ade973f1a937f /ftp/ncftp3
parentf4c70db8f8fed4684d8013755f0d23c5da34733e (diff)
downloadfreebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz
freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.zst
freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.zip
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk.
Diffstat (limited to 'ftp/ncftp3')
-rw-r--r--ftp/ncftp3/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/ftp/ncftp3/Makefile b/ftp/ncftp3/Makefile
index 12278a6e6dad..52d053001d00 100644
--- a/ftp/ncftp3/Makefile
+++ b/ftp/ncftp3/Makefile
@@ -4,7 +4,7 @@
# Date created: 4 Nov 1994
# Whom: ache
#
-# $Id: Makefile,v 1.59 1998/09/28 09:31:59 asami Exp $
+# $Id: Makefile,v 1.60 1998/11/11 20:58:49 obrien Exp $
#
DISTNAME= ncftp-3.0beta15-src
@@ -21,6 +21,16 @@ MAN1= ncftp3.1 ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1
MAN3= Strn.3
NO_LATEST_LINK= yes
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+LIBNCFTP= libncftp.so.2
+LIBSTRN=libStrn.so.1
+.else
+LIBNCFTP= libncftp.so.2.0
+LIBSTRN=libStrn.so.1.0
+.endif
+
post-patch:
@${MV} ${WRKSRC}/ncftp/pref.h ${WRKSRC}/ncftp/pref.h.in
@${SED} -e 's:/etc/ncftp.firewall:${PREFIX}/etc/ncftp.firewall:' \
@@ -46,12 +56,4 @@ do-install:
$(PREFIX)/man/man1
@$(INSTALL_MAN) $(WRKSRC)/Strn/Strn.3 $(PREFIX)/man/man3
-.include <bsd.port.mk>
-
-.if ${PORTOBJFORMAT} == "elf"
-LIBNCFTP= libncftp.so.2
-LIBSTRN=libStrn.so.1
-.else
-LIBNCFTP= libncftp.so.2.0
-LIBSTRN=libStrn.so.1.0
-.endif
+.include <bsd.port.post.mk>