Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Nov 2013 09:34:00 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Ganael LAPLANCHE <martymac@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r332820 - head/archivers/par2cmdline
Message-ID:  <8CC47BFA1B6ED1DA41489582@atuin.in.mat.cc>
In-Reply-To: <201311050813.rA58Dx1d073265@svn.freebsd.org>
References:  <201311050813.rA58Dx1d073265@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 5 novembre 2013 08:13:59 +0000 Ganael LAPLANCHE
<martymac@FreeBSD.org> wrote:
|  post-install:
|  .if ${PORT_OPTIONS:MDOCS}
| -	@${MKDIR} ${DOCSDIR}
| -	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}/
| +	@${MKDIR} ${STAGEDIR}${DOCSDIR}
| +	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|  .endif

You can also remove the .if ... .endif, as only files in the plist are
installed after staging. And I think you should use INSTALL_DATA, as it's
clearly not a man page :-)

-- 
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8CC47BFA1B6ED1DA41489582>