1999-12-30 21:27:05 -05:00
|
|
|
# New ports collection makefile for: sftp
|
|
|
|
# Date created: 30 December 1999
|
|
|
|
# Whom: Cy Shubert <Cy.Shubert@uumail.gov.bc.ca>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-12 01:31:29 -04:00
|
|
|
PORTNAME= sftp
|
2000-09-02 10:09:42 -04:00
|
|
|
PORTVERSION= 0.9.6
|
2001-02-25 23:43:24 -05:00
|
|
|
PORTREVISION= 1
|
1999-12-30 21:27:05 -05:00
|
|
|
CATEGORIES= ftp security
|
|
|
|
MASTER_SITES= ftp://ftp.xbill.org/pub/sftp/
|
|
|
|
|
|
|
|
MAINTAINER= Cy.Schubert@uumail.gov.bc.ca
|
|
|
|
|
2000-05-01 06:34:33 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 400014
|
1999-12-30 21:27:05 -05:00
|
|
|
RUN_DEPENDS= ssh:${PORTSDIR}/security/openssh
|
2000-05-01 06:34:33 -04:00
|
|
|
.endif
|
1999-12-30 21:27:05 -05:00
|
|
|
|
|
|
|
RESTRICTED= "Calls external cryptographic routines."
|
|
|
|
|
2000-04-22 05:57:37 -04:00
|
|
|
GNU_CONFIGURE= yes
|
1999-12-30 21:27:05 -05:00
|
|
|
|
2000-01-24 01:21:47 -05:00
|
|
|
MAN1= secftp.1
|
|
|
|
|
2000-02-08 10:06:08 -05:00
|
|
|
PLIST= ${WRKDIR}/.PLIST
|
1999-12-30 21:27:05 -05:00
|
|
|
|
|
|
|
do-install:
|
2000-01-24 01:21:47 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sftp ${PREFIX}/bin/secftp
|
|
|
|
${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/rsftp
|
2001-02-25 23:43:24 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sftpserv ${PREFIX}/bin/sftpserv
|
2000-01-24 01:21:47 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/sftp.1 ${PREFIX}/man/man1/secftp.1
|
2000-10-07 20:58:54 -04:00
|
|
|
${CP} ${PKGDIR}/pkg-plist.in ${PLIST}.unsorted
|
2000-01-24 01:21:47 -05:00
|
|
|
@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; \
|
2000-02-08 10:06:08 -05:00
|
|
|
${ECHO} bin/sftp >> ${PLIST}.unsorted; \
|
|
|
|
${ECHO} man/man1/sftp.1.gz >> ${PLIST}.unsorted; \
|
2000-01-24 01:21:47 -05:00
|
|
|
else \
|
|
|
|
${ECHO} "Other sftp found, not linking sftp to secftp"; \
|
|
|
|
fi
|
2000-02-08 10:06:08 -05:00
|
|
|
@sort -u ${PLIST}.unsorted > ${PLIST}
|
1999-12-30 21:27:05 -05:00
|
|
|
|
2000-05-01 06:34:33 -04:00
|
|
|
.include <bsd.port.post.mk>
|