Date: Fri, 15 Nov 2013 10:29:37 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333842 - head/security/l0phtcrack Message-ID: <201311151029.rAFATboj059580@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Nov 15 10:29:37 2013 New Revision: 333842 URL: http://svnweb.freebsd.org/changeset/ports/333842 Log: Support staging and optionsng. Modified: head/security/l0phtcrack/Makefile Modified: head/security/l0phtcrack/Makefile ============================================================================== --- head/security/l0phtcrack/Makefile Fri Nov 15 10:25:54 2013 (r333841) +++ head/security/l0phtcrack/Makefile Fri Nov 15 10:29:37 2013 (r333842) @@ -21,7 +21,10 @@ USE_PERL5= build USE_ZIP= yes USE_DOS2UNIX= yes -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + post-extract: ${RM} ${WRKDIR}/*exe ${REINPLACE_CMD} -i '' -e 's|ommited|omitted|' ${WRKDIR}/util.c @@ -31,7 +34,7 @@ do-build: pre-install: ${ECHO_CMD} bin/lc_CLI > ${PLIST} -.if !defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} for i in `${FIND} ${WRKDIR} -name '*txt'`; \ do ${ECHO_CMD} ${DOCDIR}/`${BASENAME} $${i}` >> ${PLIST}; \ done @@ -39,10 +42,10 @@ pre-install: .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/lc_CLI ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/${DOCDIR} - cd ${WRKSRC} && ${PAX} -r -w *txt ${PREFIX}/${DOCDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/lc_CLI ${STAGEDIR}${PREFIX}/bin +.if ! ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${PREFIX}/${DOCDIR} + cd ${WRKSRC} && ${PAX} -r -w *txt ${STAGEDIR}${PREFIX}/${DOCDIR} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311151029.rAFATboj059580>