aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/tftp-hpa/Makefile
blob: c4b7b3288b170ac558ed8eb755ed0bc333f9e95e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Ports collection makefile for:    tftp-hpa
# Date created:             Tue Jan 14, 2003
# Whom:                 Brooks Davis <brooks@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   tftp-hpa
PORTVERSION=    0.42
CATEGORIES= ftp
MASTER_SITES=   ftp://ftp.kernel.org/pub/software/network/tftp/

MAINTAINER= brooks@FreeBSD.org
COMMENT=    An advanced tftp server

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes

PLIST_FILES=    bin/tftp \
        libexec/in.tftpd

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' \
        ${WRKSRC}/tftpd/tftpd.c

.include <bsd.port.mk>