Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 21:10:40 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341104 - head/ftp/tftp-hpa
Message-ID:  <201401252110.s0PLAePB040272@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Jan 25 21:10:40 2014
New Revision: 341104
URL: http://svnweb.freebsd.org/changeset/ports/341104
QAT: https://qat.redports.org/buildarchive/r341104/

Log:
  Add a DOCS options
  Convert USE_GMAKE to USES=gmake

Modified:
  head/ftp/tftp-hpa/Makefile

Modified: head/ftp/tftp-hpa/Makefile
==============================================================================
--- head/ftp/tftp-hpa/Makefile	Sat Jan 25 21:09:12 2014	(r341103)
+++ head/ftp/tftp-hpa/Makefile	Sat Jan 25 21:10:40 2014	(r341104)
@@ -7,11 +7,13 @@ MASTER_SITES=	${MASTER_SITE_KERNEL_ORG}
 MASTER_SITE_SUBDIR=	software/network/tftp/tftp-hpa
 
 MAINTAINER=	brooks@FreeBSD.org
-COMMENT=	An advanced tftp server
+COMMENT=	Advanced tftp server
+
+OPTIONS_DEFINE=	DOCS
 
 USE_XZ=		yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 USE_RC_SUBR=	tftpd
 
 DESTDIRNAME=	INSTALLROOT
@@ -34,12 +36,10 @@ post-patch:
 	    -e 's,openlog(,tzset();openlog(,g' \
 	    ${WRKSRC}/tftpd/tftpd.c
 
-.ifdef PORTDOCS
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docfile in ${PORTDOCS}
 	@${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401252110.s0PLAePB040272>