Date: Thu, 17 Jan 2013 07:17:24 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310540 - head/shells/bash-completion Message-ID: <201301170717.r0H7HOgp044128@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Thu Jan 17 07:17:24 2013 New Revision: 310540 URL: http://svnweb.freebsd.org/changeset/ports/310540 Log: Add support for WITH_BASH_DEVEL=yes to depend on shells/bash-devel. Also, use MDOCS. Modified: head/shells/bash-completion/Makefile Modified: head/shells/bash-completion/Makefile ============================================================================== --- head/shells/bash-completion/Makefile Thu Jan 17 04:34:55 2013 (r310539) +++ head/shells/bash-completion/Makefile Thu Jan 17 07:17:24 2013 (r310540) @@ -12,7 +12,11 @@ MASTER_SITES= http://bash-completion.ali MAINTAINER= adamw@FreeBSD.org COMMENT= Programmable completion library for Bash +.if defined(WITH_BASH_DEVEL) +RUN_DEPENDS=bash:${PORTSDIR}/shells/bash-devel +.else RUN_DEPENDS=bash:${PORTSDIR}/shells/bash +.endif CONFLICTS= bash-completion-classic-[0-9]* @@ -25,6 +29,8 @@ SUB_FILES= pkg-message SUB_LIST+= RUNFILE=${DATADIR}/bash_completion.sh PORTDOCS= * +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g; \ s|/etc/bash_completion|${PREFIX}&|g; \ @@ -42,7 +48,7 @@ post-patch: ${WRKSRC}/completions/* post-install: -.if !defined(WITHOUT_DOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} . for i in README doc/bash_completion.txt doc/bashrc doc/inputrc ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301170717.r0H7HOgp044128>