svn commit: r318897 - head/sysutils/automounter

Alexey Dokuchaev danfe at FreeBSD.org
Fri May 24 03:35:38 UTC 2013


On Thu, May 23, 2013 at 07:00:21PM +0000, Niclas Zeising wrote:
> New Revision: 318897
> URL: http://svnweb.freebsd.org/changeset/ports/318897
> 
> @@ -28,6 +26,8 @@ do-install:
>  		@cd ${WRKSRC}; ./install.sh -prefix=${PREFIX}
>  
>  post-install:
> +		@${JOT} -s- -b- 39
>  		@${CAT} ${PKGMESSAGE}
> +		@${JOT} -s- -b- 39

Please don't do this.  If you want to use decorations, include them directly
inside PKGMESSAGE file, and do not pad with empty lines at the top/bottom:
such padding is done by package manager when installing package.  In order
to make installation consistent between port vs. package, we usually write:

  post-install:
	@${ECHO_MSG}
	@${CAT} ${PKGMESSAGE}
	@${ECHO_MSG}

Some of us prefer shorter form:

  post-install:
	@${ECHO_MSG} ; ${CAT} ${PKGMESSAGE} ; ${ECHO_MSG}

./danfe


More information about the svn-ports-all mailing list