freebsd-ports/ftp/tftp-hpa/Makefile
Brooks Davis 228b555d17 Upgrade to version 5.2.
linux.org moved new tftp-hpa versions into a new directory to chase that.[1]

PR:		ports/170865
Submitted by:	Andrey <wallavv@gmail.com>
2012-08-23 12:17:19 +00:00

51 lines
1.1 KiB
Makefile

# Ports collection makefile for: tftp-hpa
# Date created: Tue Jan 14, 2003
# Whom: Brooks Davis <brooks@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= tftp-hpa
PORTVERSION= 5.2
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_KERNEL_ORG}
MASTER_SITE_SUBDIR= software/network/tftp/tftp-hpa
MAINTAINER= brooks@FreeBSD.org
COMMENT= An advanced tftp server
USE_XZ= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_RC_SUBR= tftpd
PLIST_FILES= bin/tftp \
libexec/in.tftpd
.ifndef (NOPORTDOCS)
PORTDOCS= CHANGES \
README \
README.security
.endif
MAN1= tftp.1
MAN8= in.tftpd.8
MLINKS= in.tftpd.8 tftpd.8
post-patch:
@${REINPLACE_CMD} -e 's,SBINDIR,LIBEXECDIR,; s,sbindir,libexecdir,' \
${WRKSRC}/MCONFIG.in
@${REINPLACE_CMD} -e 's,SBINDIR,LIBEXECDIR,g' \
${WRKSRC}/tftpd/Makefile
@${REINPLACE_CMD} -e 's,LOG_DAEMON,LOG_FTP,g' \
-e 's,openlog(,tzset();openlog(,g' \
${WRKSRC}/tftpd/tftpd.c
.ifdef PORTDOCS
post-install:
@${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>