From fef85562e6cb3881ac9b78cb40f32f99786dfd74 Mon Sep 17 00:00:00 2001 From: taoka Date: Tue, 8 Feb 2000 15:06:08 +0000 Subject: Update to 0.7 PR: 16504 Submitted by: maintainer --- ftp/sftp/Makefile | 12 +++++++----- ftp/sftp/distinfo | 2 +- ftp/sftp/pkg-plist.in | 3 +++ 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 ftp/sftp/pkg-plist.in (limited to 'ftp/sftp') diff --git a/ftp/sftp/Makefile b/ftp/sftp/Makefile index 337f94b20971..44f406051296 100644 --- a/ftp/sftp/Makefile +++ b/ftp/sftp/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: sftp -# Version required: 0.6 +# Version required: 0.7 # Date created: 30 December 1999 # Whom: Cy Shubert # # $FreeBSD$ # -DISTNAME= sftp-0.6 +DISTNAME= sftp-0.7 CATEGORIES= ftp security MASTER_SITES= ftp://ftp.xbill.org/pub/sftp/ @@ -23,21 +23,23 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} \ MAN1= secftp.1 -PLIST= ${WRKDIR}/PLIST +PLIST= ${WRKDIR}/.PLIST do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sftp ${PREFIX}/bin/secftp ${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/rsftp ${INSTALL_PROGRAM} ${WRKSRC}/sftpserv ${PREFIX}/libexec/sftpserv ${INSTALL_MAN} ${WRKSRC}/sftp.1 ${PREFIX}/man/man1/secftp.1 - @${CP} ${PKGDIR}/PLIST ${PLIST} + ${CP} ${PKGDIR}/PLIST.in ${PLIST}.unsorted @if [ ! -f ${PREFIX}/bin/sftp ]; then \ ${ECHO} "No other sftp found, linking sftp to secftp"; \ ${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/sftp; \ ${LN} -s ${PREFIX}/man/man1/secftp.1.gz ${PREFIX}/man/man1/sftp.1.gz; \ - @${ECHO} bin/sftp >> ${PLIST}; \ + ${ECHO} bin/sftp >> ${PLIST}.unsorted; \ + ${ECHO} man/man1/sftp.1.gz >> ${PLIST}.unsorted; \ else \ ${ECHO} "Other sftp found, not linking sftp to secftp"; \ fi + @sort -u ${PLIST}.unsorted > ${PLIST} .include diff --git a/ftp/sftp/distinfo b/ftp/sftp/distinfo index e8abb7f0ea7b..388311b51514 100644 --- a/ftp/sftp/distinfo +++ b/ftp/sftp/distinfo @@ -1 +1 @@ -MD5 (sftp-0.6.tar.gz) = 0412d22e066223890f99e8aeafc8160c +MD5 (sftp-0.7.tar.gz) = 9f9b5d28ff32b2e8c2d443cf5e6a227a diff --git a/ftp/sftp/pkg-plist.in b/ftp/sftp/pkg-plist.in new file mode 100644 index 000000000000..1db47bb8ee21 --- /dev/null +++ b/ftp/sftp/pkg-plist.in @@ -0,0 +1,3 @@ +bin/secftp +bin/rsftp +libexec/sftpserv -- cgit