aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2000-04-22 09:56:44 +0000
committerMichael Haro <mharo@FreeBSD.org>2000-04-22 09:56:44 +0000
commitaa542d7f7f1f7a23e7890611b68bcc80f967603c (patch)
tree1d349d4705e46e3887d41ba924425540e46d95f7 /ftp
parent926211f5744ede198e85a711b3c71194a41fa59f (diff)
downloadports-aa542d7f7f1f7a23e7890611b68bcc80f967603c.tar.gz
ports-aa542d7f7f1f7a23e7890611b68bcc80f967603c.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ncftp3/Makefile35
1 files changed, 14 insertions, 21 deletions
diff --git a/ftp/ncftp3/Makefile b/ftp/ncftp3/Makefile
index 621514d1b589..beb48c00d558 100644
--- a/ftp/ncftp3/Makefile
+++ b/ftp/ncftp3/Makefile
@@ -20,15 +20,8 @@ CONFIGURE_ARGS= --with-ncurses
MAN1= ncftp3.1 ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1
MAN3= Strn.3
-.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
+LIBNCFTP= libncftp.so.2
+LIBSTRN= libStrn.so.1
post-patch:
@${MV} ${WRKSRC}/ncftp/pref.h ${WRKSRC}/ncftp/pref.h.in
@@ -40,19 +33,19 @@ pre-build:
cd ${WRKSRC}/libncftp ; make so
do-install:
- @$(INSTALL_PROGRAM) $(WRKSRC)/bin/ncftp $(PREFIX)/bin/ncftp3
- @cd ${WRKSRC}/bin ; $(INSTALL_PROGRAM) \
+ @${INSTALL_PROGRAM} ${WRKSRC}/bin/ncftp ${PREFIX}/bin/ncftp3
+ @cd ${WRKSRC}/bin ; ${INSTALL_PROGRAM} \
ncftpbatch ncftpget ncftpls ncftpput ncftpbookmarks \
- $(PREFIX)/bin
- @$(INSTALL_DATA) $(WRKSRC)/Strn/libStrn.so.1 $(PREFIX)/lib/$(LIBSTRN)
- @cd $(PREFIX)/lib && ${LN} -sf $(LIBSTRN) libStrn.so
- @$(INSTALL_DATA) $(WRKSRC)/libncftp/libncftp.so.2 $(PREFIX)/lib/$(LIBNCFTP)
- @cd $(PREFIX)/lib && ${LN} -sf $(LIBNCFTP) libncftp.so
+ ${PREFIX}/bin
+ @${INSTALL_DATA} ${WRKSRC}/Strn/libStrn.so.1 ${PREFIX}/lib/${LIBSTRN}
+ @cd ${PREFIX}/lib && ${LN} -sf ${LIBSTRN} libStrn.so
+ @${INSTALL_DATA} ${WRKSRC}/libncftp/libncftp.so.2 ${PREFIX}/lib/${LIBNCFTP}
+ @cd ${PREFIX}/lib && ${LN} -sf ${LIBNCFTP} libncftp.so
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
- @$(INSTALL_MAN) $(WRKSRC)/doc/man/ncftp.1 $(PREFIX)/man/man1/ncftp3.1
- @cd ${WRKSRC}/doc/man ; $(INSTALL_MAN) \
+ @${INSTALL_MAN} ${WRKSRC}/doc/man/ncftp.1 ${PREFIX}/man/man1/ncftp3.1
+ @cd ${WRKSRC}/doc/man ; ${INSTALL_MAN} \
ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1 \
- $(PREFIX)/man/man1
- @$(INSTALL_MAN) $(WRKSRC)/Strn/Strn.3 $(PREFIX)/man/man3
+ ${PREFIX}/man/man1
+ @${INSTALL_MAN} ${WRKSRC}/Strn/Strn.3 ${PREFIX}/man/man3
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>