Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 06:28:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192642] [stage] update mail/mailagent to a non-interactive, regular port
Message-ID:  <bug-192642-13-5FNEXkldfr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192642-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192642-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192642

--- Comment #8 from John Marino <marino@FreeBSD.org> ---
(In reply to ykasap from comment #3)
> Actually %%PORTEXAMPLES%%%%EXAMPLESDIR%%/agent (symlink) is created
> in the staging directory during post-install, and removed by @unexec 
> in pkg-plist. Is it better to move it to pkg-install or somewhere?

I see now that you were actually talking about this:
post-install:
        @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/misc
        ${CP} -pR ${WRKSRC}/misc/* ${STAGEDIR}${EXAMPLESDIR}/misc
        @${LN} -fs ${PREFIX}/lib/mailagent/examples
${STAGEDIR}${EXAMPLESDIR}/agent

which is even more stupid because the pkg-plist exec commands are doing the
same thing.

1) remove the LN line (we already talked about what to do with agent examples)
2) change the CP line to something like:
  cd ${WRKSRC}/misc && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/misc

you aren't supposed to use CP commands

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192642-13-5FNEXkldfr>