diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2004-04-19 11:42:54 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-04-19 11:42:54 +0000 |
commit | 6427a0487521b48d7971d29dcedd62814e21d618 (patch) | |
tree | 950a3cf46c61a2fe6f6b6f37fd8632993bc50aec /ftp/ncftp | |
parent | 8ca72281dc73381549e862067a3390757fa411ed (diff) | |
download | ports-6427a0487521b48d7971d29dcedd62814e21d618.tar.gz ports-6427a0487521b48d7971d29dcedd62814e21d618.zip |
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.
Notes
Notes:
svn path=/head/; revision=107573
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 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> diff --git a/ftp/ncftp/pkg-plist b/ftp/ncftp/pkg-plist deleted file mode 100644 index 6a1d82889115..000000000000 --- a/ftp/ncftp/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -@comment $FreeBSD$ -bin/ncftp |