diff options
author | pat <pat@FreeBSD.org> | 2002-06-25 01:31:19 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-06-25 01:31:19 +0800 |
commit | f9a256ef3c6405832227a083c66bd02cb7964d55 (patch) | |
tree | 5d195e74c9272d376d9b0123d607f488433bbb96 /x11-wm/bbkeys/Makefile | |
parent | c3efbc055921daff53067dac3bd6020d19b0cbc7 (diff) | |
download | freebsd-ports-gnome-f9a256ef3c6405832227a083c66bd02cb7964d55.tar.gz freebsd-ports-gnome-f9a256ef3c6405832227a083c66bd02cb7964d55.tar.zst freebsd-ports-gnome-f9a256ef3c6405832227a083c66bd02cb7964d55.zip |
Fix dependencies, use REINPLACE_CMD, and remove shared directory if empty
without coughing up errors.
PR: ports/39773
Submitted by: maintainer
Diffstat (limited to 'x11-wm/bbkeys/Makefile')
-rw-r--r-- | x11-wm/bbkeys/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/x11-wm/bbkeys/Makefile b/x11-wm/bbkeys/Makefile index 72e627467cc0..4e0018dab251 100644 --- a/x11-wm/bbkeys/Makefile +++ b/x11-wm/bbkeys/Makefile @@ -13,21 +13,21 @@ MASTER_SITE_SUBDIR= ${PORTNAME} 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 GNU_CONFIGURE= yes -USE_QT_VER= 2 +USE_REINPLACE= yes MAN1= bbkeys.1 MAN5= bbkeysrc.5 bbkeys.bb.5 pre-patch: .if !defined(NOPORTDOCS) - @${PERL} -pi -e 's@doc/bbkeys@share/doc/bbkeys@g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's@doc/bbkeys@share/doc/bbkeys@g' \ + ${WRKSRC}/Makefile.in .else - @${PERL} -ni -e '/^(docdir|doc_DATA)/ && next; print' \ + @${REINPLACE_CMD} -E 's|^docdir|#|; s|^doc_DATA|#|' \ ${WRKSRC}/Makefile.in .endif |