Date: Mon, 24 Jun 2002 12:20:59 +0200 From: Stijn Hoop <stijn@win.tue.nl> To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports@freebsd.org Subject: Re: ports/39773: [MAINTAINER UPDATE]: x11-wm/bbkeys Message-ID: <20020624102059.GB55530@pcwin002.win.tue.nl> In-Reply-To: <200206241010.g5OAA1M64891@freefall.freebsd.org> References: <200206241003.g5OA3cwh059259@pcwin002.win.tue.nl> <200206241010.g5OAA1M64891@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Whoops, I botched that one - it obviously doesn't work in the NOPORTDOCS=yes case (which I forgot to test). Here's a better patch. diff -urN --exclude=CVS /usr/ports/x11-wm/bbkeys/Makefile bbkeys/Makefile --- /usr/ports/x11-wm/bbkeys/Makefile Wed May 15 05:43:41 2002 +++ bbkeys/Makefile Mon Jun 24 12:17:46 2002 @@ -13,19 +13,23 @@ MAINTAINER= stijn@win.tue.nl -RUN_DEPENDS= bbconf:${PORTSDIR}/x11-wm/bbconf \ - blackbox:${PORTSDIR}/x11-wm/blackbox +RUN_DEPENDS= blackbox:${PORTSDIR}/x11-wm/blackbox USE_X_PREFIX= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes -USE_QT_VER= 2 MAN1= bbkeys.1 MAN5= bbkeysrc.5 bbkeys.bb.5 +.if !defined(NOPORTDOCS) +USE_PERL5= yes +.endif + pre-patch: .if !defined(NOPORTDOCS) - @${PERL} -pi -e 's@doc/bbkeys@share/doc/bbkeys@g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} 's@doc/bbkeys@share/doc/bbkeys@g' \ + ${WRKSRC}/Makefile.in .else @${PERL} -ni -e '/^(docdir|doc_DATA)/ && next; print' \ ${WRKSRC}/Makefile.in diff -urN --exclude=CVS /usr/ports/x11-wm/bbkeys/pkg-plist bbkeys/pkg-plist --- /usr/ports/x11-wm/bbkeys/pkg-plist Wed May 15 05:43:41 2002 +++ bbkeys/pkg-plist Thu Jun 13 14:31:39 2002 @@ -8,4 +8,4 @@ %%PORTDOCS%%share/doc/bbkeys/AUTHORS %%PORTDOCS%%share/doc/bbkeys/ChangeLog %%PORTDOCS%%@dirrm share/doc/bbkeys -@dirrm share/bbtools +@unexec rmdir %D/share/bbtools >/dev/null 2>&1 || true To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020624102059.GB55530>