Date: Wed, 25 Sep 2013 09:55:38 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328259 - head/deskutils/zorro Message-ID: <201309250955.r8P9tcp2070954@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Wed Sep 25 09:55:38 2013 New Revision: 328259 URL: http://svnweb.freebsd.org/changeset/ports/328259 Log: - Convert to USES+=tk - Convert to OPTIONSng - Stage-safe Modified: head/deskutils/zorro/Makefile (contents, props changed) Modified: head/deskutils/zorro/Makefile ============================================================================== --- head/deskutils/zorro/Makefile Wed Sep 25 09:32:09 2013 (r328258) +++ head/deskutils/zorro/Makefile Wed Sep 25 09:55:38 2013 (r328259) @@ -13,24 +13,29 @@ DISTNAME= ${PORTNAME}-1.1p8 MAINTAINER= ports@FreeBSD.org COMMENT= A simple to-do list manager -USE_TK_RUN= yes +USES+= tk:run NO_BUILD= yes PLIST_FILES= bin/zorro -PORTDOCS= DOTzorrorc +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/local/bin/wish|${WISH}|' \ ${WRKSRC}/zorro @${REINPLACE_CMD} -e 's|oof|of|' ${WRKSRC}/DOTzorrorc do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/zorro ${PREFIX}/bin/zorro -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/DOTzorrorc ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/zorro ${STAGEDIR}${PREFIX}/bin/zorro + +.if ${PORT_OPTIONS:MDOCS} +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/DOTzorrorc ${STAGEDIR}${DOCSDIR}/ @${ECHO_MSG} "" - @${ECHO_MSG} "Take a look at ${DOCSDIR}/DOTzorrorc" + @${ECHO_MSG} "Take a look at ${STAGEDIR}${DOCSDIR}/DOTzorrorc" @${ECHO_MSG} "" .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309250955.r8P9tcp2070954>