aboutsummaryrefslogtreecommitdiff
path: root/ftp/ncftp/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-04-19 11:42:54 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-04-19 11:42:54 +0000
commit6427a0487521b48d7971d29dcedd62814e21d618 (patch)
tree950a3cf46c61a2fe6f6b6f37fd8632993bc50aec /ftp/ncftp/Makefile
parent8ca72281dc73381549e862067a3390757fa411ed (diff)
downloadports-6427a0487521b48d7971d29dcedd62814e21d618.tar.gz
ports-6427a0487521b48d7971d29dcedd62814e21d618.zip
Notes
Diffstat (limited to 'ftp/ncftp/Makefile')
-rw-r--r--ftp/ncftp/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/ftp/ncftp/Makefile b/ftp/ncftp/Makefile
index 1766676e5911..774dacdc0827 100644
--- a/ftp/ncftp/Makefile
+++ b/ftp/ncftp/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>