aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ncftp1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/ncftp1/Makefile')
-rw-r--r--ftp/ncftp1/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/ftp/ncftp1/Makefile b/ftp/ncftp1/Makefile
index 1766676e591..774dacdc082 100644
--- a/ftp/ncftp1/Makefile
+++ b/ftp/ncftp1/Makefile
@@ -15,10 +15,21 @@ DISTNAME= ncftp-${PORTVERSION}
MAINTAINER= obrien@FreeBSD.org
COMMENT= FTP replacement with advanced user interface
+.if defined(INSTALL_AS_NCFTP)
+LATEST_LINK= ncftp
+.else
+LATEST_LINK= ncftp1
+.endif
+PLIST_FILES= bin/${LATEST_LINK}
MAN1= ncftp.1
+pre-fetch:
+ @${ECHO} ""
+ @${ECHO} "Use INSTALL_AS_NCFTP=yes to install ncftp1 as ${PREFIX}/bin/ncftp"
+ @${ECHO} ""
+
do-install:
- cd ${WRKSRC}; ${INSTALL_PROGRAM} ncftp ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/ncftp ${PREFIX}/bin/${LATEST_LINK}
cd ${WRKSRC}; ${INSTALL_MAN} ncftp.1 ${PREFIX}/man/man1
.include <bsd.port.mk>