1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/ftp/bbftp-server/Makefile
2024-06-10 13:28:02 +02:00

40 lines
1.0 KiB
Makefile

PORTNAME= bbftp-server
PORTVERSION= 3.2.1
PORTREVISION= 2
CATEGORIES= ftp
MASTER_SITES= http://software.in2p3.fr/bbftp/dist/ \
ftp://ftp.in2p3.fr/pub/bbftp/
MAINTAINER= ports@FreeBSD.org
COMMENT= Secure file transfer suite optimized for large files (server)
WWW= http://software.in2p3.fr/bbftp/
LICENSE= GPLv2+
USES= gmake ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
WRKSRC_SUBDIR= bbftpd
USE_RC_SUBR= bbftpd
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^#include/s,malloc,stdlib,' \
${WRKSRC}/bbftpd_cd.c ${WRKSRC}/bbftpd_statfs.c
@${REINPLACE_CMD} -e '/with_ssl\/lib\/libcrypto/s,\.a,.so,' \
${WRKSRC}/${CONFIGURE_SCRIPT}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bbftpd ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/../doc/bbftpd.1 \
${STAGEDIR}${PREFIX}/share/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/ports ${WRKSRC}/../doc/stats \
${WRKSRC}/../ChangeLog ${WRKSRC}/../README \
${WRKSRC}/../TODO ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>