svn commit: r331636 - head/archivers/arc

Baptiste Daroussin bapt at FreeBSD.org
Sat Oct 26 20:39:20 UTC 2013


On Sun, Oct 27, 2013 at 12:51:14AM +0800, Sunpoet Po-Chuan Hsieh wrote:
> On Sat, Oct 26, 2013 at 4:56 AM, Xin LI <delphij at freebsd.org> wrote:
> 
> > Author: delphij
> > Date: Fri Oct 25 20:56:15 2013
> > New Revision: 331636
> > URL: http://svnweb.freebsd.org/changeset/ports/331636
> >
> > Log:
> >   Fix stagedir.
> >
> >   PR:           ports/183289
> >   Submitted by: Takefu <takefu airport fm>
> >
> > Modified:
> >   head/archivers/arc/Makefile
> >   head/archivers/arc/pkg-descr
> >
> > Modified: head/archivers/arc/Makefile
> >
> > ==============================================================================
> > --- head/archivers/arc/Makefile Fri Oct 25 20:38:03 2013        (r331635)
> > +++ head/archivers/arc/Makefile Fri Oct 25 20:56:15 2013        (r331636)
> > @@ -9,17 +9,20 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
> >  MAINTAINER=    delphij at FreeBSD.org
> >  COMMENT=       Create & extract files from DOS .ARC files
> >
> > -NO_STAGE=      yes
> > -PLIST_FILES=   bin/arc bin/marc
> > +LICENSE=       GPLv2
> > +
> > +PLIST_FILES=   bin/arc bin/marc man/man1/arc.1.gz
> >  PORTDOCS=      Arc521.doc
> > -MAN1=          arc.1
> > +
> > +.include <bsd.port.pre.mk>
> >
> >  do-install:
> > -       ${INSTALL_PROGRAM} ${WRKSRC}/arc ${WRKSRC}/marc ${PREFIX}/bin
> > -       ${INSTALL_MAN} ${WRKSRC}/arc.1 ${MANPREFIX}/man/man1
> > -.if !defined(NOPORTDOCS)
> > -       @${MKDIR} ${DOCSDIR}
> > -       ${INSTALL_DATA} ${WRKSRC}/Arc521.doc ${DOCSDIR}
> > +       ${INSTALL_PROGRAM} ${WRKSRC}/arc ${WRKSRC}/marc\
> > +               ${STAGEDIR}/${PREFIX}/bin
> > +       ${INSTALL_MAN} ${WRKSRC}/arc.1 ${STAGEDIR}/${PREFIX}/man/man1
> > +.if ${PORT_OPTIONS:MDOCS}
> > +       @${MKDIR} ${STAGEDIR}/${DOCSDIR}
> > +       ${INSTALL_DATA} ${WRKSRC}/Arc521.doc ${STAGEDIR}/${DOCSDIR}
> >  .endif
> >
> >  .include <bsd.port.mk>
> >
> 
> It should be <bsd.port.post.mk>

Actually bsd.port.pre.mk is useless here and the testing for the DOC option as
well as when staged the PORTDOCS won't be packed anyway.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20131026/fd118c21/attachment.sig>


More information about the svn-ports-all mailing list