Makefile 1.03 KB
Newer Older
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 36 37 38 39 40 41 42 43
# New ports collection makefile for:	tftpd-hpa (emulab version)
# Date created:		4 February 2003
# Whom:			mike@cs.utah.edu
#
# $FreeBSD$
#

PORTNAME=	tftp-hpa
PORTVERSION=	0.48
#CATEGORIES=	net
CATEGORIES=	misc
MASTER_SITES=	http://www.emulab.net/distributions/
PKGNAMEPREFIX=	emulab-
DISTNAME=	${PORTNAME}-${PORTVERSION}

MAINTAINER=	mike@cs.utah.edu
COMMENT=	"The tftpd-hpa TFTP distribution as configured for Emulab"

PATCH_STRIP=	-p1

GNU_CONFIGURE=	YES
USE_GMAKE=	YES

CONFIGURE_ARGS+=--without-tcpwrappers

NO_STAGE=	yes

# for now only install the daemon
INSTALL_WRKSRC=	${WRKSRC}/tftpd

# make sure we don't run configure (with no args) out of the Makefile
# due to our patching configure.in
post-patch:
	touch ${WRKSRC}/aconfig.h.in ${WRKSRC}/configure

post-install:
	@${ECHO} ""
	@${ECHO} "      ${PREFIX}/etc/rc.d/tftpd-hpa.sh startup file has been installed."
	@${ECHO} "      Configure startup flags with \"tfpd_flags\" in /etc/rc.conf."
	@${ECHO} "      Don't forget to disable tftpd in /etc/inetd.conf!"
	@${ECHO} ""

.include <bsd.port.mk>