diff options
Diffstat (limited to 'ftp/ncftp3/Makefile')
-rw-r--r-- | ftp/ncftp3/Makefile | 22 |
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> |