diff options
author | pat <pat@FreeBSD.org> | 2002-06-24 17:31:19 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-06-24 17:31:19 +0000 |
commit | f9a256ef3c6405832227a083c66bd02cb7964d55 (patch) | |
tree | 5d195e74c9272d376d9b0123d607f488433bbb96 /x11-wm | |
parent | c3efbc055921daff53067dac3bd6020d19b0cbc7 (diff) | |
download | FreeBSD-ports-f9a256ef3c6405832227a083c66bd02cb7964d55.zip FreeBSD-ports-f9a256ef3c6405832227a083c66bd02cb7964d55.tar.gz |
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')
-rw-r--r-- | x11-wm/bbkeys/Makefile | 10 | ||||
-rw-r--r-- | x11-wm/bbkeys/pkg-plist | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/x11-wm/bbkeys/Makefile b/x11-wm/bbkeys/Makefile index 72e6274..4e0018d 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 diff --git a/x11-wm/bbkeys/pkg-plist b/x11-wm/bbkeys/pkg-plist index 6152cb8..705d49a 100644 --- a/x11-wm/bbkeys/pkg-plist +++ b/x11-wm/bbkeys/pkg-plist @@ -8,4 +8,4 @@ share/bbtools/bbkeys.nobb %%PORTDOCS%%share/doc/bbkeys/AUTHORS %%PORTDOCS%%share/doc/bbkeys/ChangeLog %%PORTDOCS%%@dirrm share/doc/bbkeys -@dirrm share/bbtools +@unexec rmdir %D/share/bbtools 2>/dev/null || true |