From owner-svn-ports-head@FreeBSD.ORG Fri Nov 15 10:29:38 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34A314C5; Fri, 15 Nov 2013 10:29:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1C4442EAE; Fri, 15 Nov 2013 10:29:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAFATb1Y059581; Fri, 15 Nov 2013 10:29:37 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAFATboj059580; Fri, 15 Nov 2013 10:29:37 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201311151029.rAFATboj059580@svn.freebsd.org> From: Emanuel Haupt Date: Fri, 15 Nov 2013 10:29:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333842 - head/security/l0phtcrack X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2013 10:29:38 -0000 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 + 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