svn commit: r341104 - head/ftp/tftp-hpa

Baptiste Daroussin bapt at FreeBSD.org
Sat Jan 25 21:10:41 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list