1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/ftp/tftp-hpa/Makefile
2024-06-10 13:28:03 +02:00

43 lines
894 B
Makefile

PORTNAME= tftp-hpa
PORTVERSION= 5.2
PORTREVISION= 3
CATEGORIES= ftp
MASTER_SITES= KERNEL_ORG/software/network/tftp/tftp-hpa
MAINTAINER= ports@FreeBSD.org
COMMENT= Advanced TFTP server
LICENSE= BSD4CLAUSE
USES= gmake tar:xz
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
USE_RC_SUBR= tftpd
OPTIONS_DEFINE= DOCS
DESTDIRNAME= INSTALLROOT
PLIST_FILES= bin/tftp \
libexec/in.tftpd \
share/man/man1/tftp.1.gz \
share/man/man8/in.tftpd.8.gz \
share/man/man8/tftpd.8.gz
PORTDOCS= CHANGES \
README \
README.security
post-patch:
@${REINPLACE_CMD} -e 's,SBINDIR,LIBEXECDIR,; s,sbindir,libexecdir,' \
${WRKSRC}/MCONFIG.in
@${REINPLACE_CMD} -e 's,SBINDIR,LIBEXECDIR,g' \
${WRKSRC}/tftpd/Makefile
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>