Date: Wed, 2 Jul 2014 08:25:07 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360156 - head/www/tinytinyhttpd Message-ID: <201407020825.s628P78R022653@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Wed Jul 2 08:25:06 2014 New Revision: 360156 URL: http://svnweb.freebsd.org/changeset/ports/360156 QAT: https://qat.redports.org/buildarchive/r360156/ Log: 1: Stagify. 2: use options helper. Approved by: portmgr@ (blanket approval) Modified: head/www/tinytinyhttpd/Makefile Modified: head/www/tinytinyhttpd/Makefile ============================================================================== --- head/www/tinytinyhttpd/Makefile Wed Jul 2 08:16:28 2014 (r360155) +++ head/www/tinytinyhttpd/Makefile Wed Jul 2 08:25:06 2014 (r360156) @@ -15,16 +15,18 @@ HAS_CONFIGURE= yes PLIST_FILES= bin/tthttpd SUB_FILES= example.conf PORTDOCS= README example.conf ChangeLog +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tthttpd ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/tthttpd ${STAGEDIR}${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/example.conf ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/example.conf ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407020825.s628P78R022653>