diff options
author | obrien <obrien@FreeBSD.org> | 2004-04-19 11:42:54 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-04-19 11:42:54 +0000 |
commit | 974063c5991f451b5e78e079ce4ba41406e164a5 (patch) | |
tree | 2c13a9305cc6da3bcb0c2f72ddc119ac64516acd /ftp/ncftp | |
parent | 53dbe8ce3c39014aa14fa59237c78ba056e4610a (diff) | |
download | FreeBSD-ports-974063c5991f451b5e78e079ce4ba41406e164a5.zip FreeBSD-ports-974063c5991f451b5e78e079ce4ba41406e164a5.tar.gz |
Make 'pkg_add -r ncftp' now refer to ncftp3. The ncftp3 binary is now
installed as `bin/ncftp'. This behavior can be changed by building with
INSTALL_AS_NCFTP3 for ncftp3; and INSTALL_AS_NCFTP for ncftp & ncftp2.
Diffstat (limited to 'ftp/ncftp')
-rw-r--r-- | ftp/ncftp/Makefile | 13 | ||||
-rw-r--r-- | ftp/ncftp/pkg-plist | 2 |
2 files changed, 12 insertions, 3 deletions
diff --git a/ftp/ncftp/Makefile b/ftp/ncftp/Makefile index 1766676..774dacd 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> diff --git a/ftp/ncftp/pkg-plist b/ftp/ncftp/pkg-plist deleted file mode 100644 index 6a1d828..0000000 --- a/ftp/ncftp/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -@comment $FreeBSD$ -bin/ncftp |