summaryrefslogtreecommitdiff
path: root/ftp/ncftp
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
parent- Use /var/spool/leafnode as the default spooldir (diff)
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/Makefile13
-rw-r--r--ftp/ncftp/pkg-plist2
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