svn commit: r321675 - in head/net-mgmt/netdisco: . files

William Grzybowski william88 at gmail.com
Mon Jun 24 11:52:03 UTC 2013


On Mon, Jun 24, 2013 at 8:43 AM, Alexey Dokuchaev <danfe at freebsd.org> wrote:
> On Mon, Jun 24, 2013 at 11:19:03AM +0000, William Grzybowski wrote:
>> New Revision: 321675
>> URL: http://svnweb.freebsd.org/changeset/ports/321675
>>
>> +OPTIONS_DEFINE=      DOCS GRAPHVIZ MIBS
>> +OPTIONS_DEFAULT=DOCS GRAPHVIZ MIBS
>
> DOCS option (and a few more) is already on by default, there's no need to
> relist it here.
>
>> -DOCS=                doc/*.pod doc/*.html INSTALL README* UPGRADE
>> +DOCFILES=    ChangeLog doc/*.pod INSTALL README* UPGRADE
>
> It would probably makes sense to do smth. like this:
>
> DOCFILES=       ChangeLog doc/*.pod INSTALL README* UPGRADE
> PORTDOCS=       *
>
> post-install:
> .if ${PORT_OPTIONS:MDOCS}
>         ${MKDIR} ${DOCSDIR}
>         (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR})
> .endif
>
> And remove entries from pkg-plist.
>
>>       @${CAT} ${PKGMESSAGE}
>
> It's benefitial to surround cat(1) here with @${ECHO_MSG}'s to ensure that
> pkg-message is printed with consistent padding (port vs. package install).
>
> ./danfe

Thank you!

--
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil


More information about the svn-ports-all mailing list