From 96bc8048c3217bb231f2f30eadeb628134b557f5 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sat, 14 Nov 1998 09:43:39 +0000 Subject: 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. --- ftp/ncftp3/Makefile | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'ftp') 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 + +.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 - -.if ${PORTOBJFORMAT} == "elf" -LIBNCFTP= libncftp.so.2 -LIBSTRN=libStrn.so.1 -.else -LIBNCFTP= libncftp.so.2.0 -LIBSTRN=libStrn.so.1.0 -.endif +.include -- cgit v1.2.3