aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2000-04-22 17:56:44 +0800
committermharo <mharo@FreeBSD.org>2000-04-22 17:56:44 +0800
commit3301179c82ef920017f370e08a3cbece1a6e180f (patch)
tree7d8c18325443420a9bb22f648676ff3d8faa3a90
parentb104e3b8911ae89f0f73f40175fe5c5e0f71572a (diff)
downloadfreebsd-ports-graphics-3301179c82ef920017f370e08a3cbece1a6e180f.tar.gz
freebsd-ports-graphics-3301179c82ef920017f370e08a3cbece1a6e180f.tar.zst
freebsd-ports-graphics-3301179c82ef920017f370e08a3cbece1a6e180f.zip
remove a.out support
portlint -bt
-rw-r--r--ftp/ncftp3/Makefile35
1 files changed, 14 insertions, 21 deletions
diff --git a/ftp/ncftp3/Makefile b/ftp/ncftp3/Makefile
index 621514d1b58..beb48c00d55 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>