aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/bbkeys
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-10 18:51:20 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-10 18:51:20 +0000
commit3b1657a6cd2e04c9ffbee349839293c3021b400d (patch)
treefc68173804429f8074b7054788a8471984689a91 /x11-wm/bbkeys
parentf0a235f17fbd1aea59826f48da46160cc3e6ce65 (diff)
downloadports-3b1657a6cd2e04c9ffbee349839293c3021b400d.tar.gz
ports-3b1657a6cd2e04c9ffbee349839293c3021b400d.zip
Notes
Diffstat (limited to 'x11-wm/bbkeys')
-rw-r--r--x11-wm/bbkeys/Makefile23
-rw-r--r--x11-wm/bbkeys/distinfo4
-rw-r--r--x11-wm/bbkeys/pkg-plist11
3 files changed, 17 insertions, 21 deletions
diff --git a/x11-wm/bbkeys/Makefile b/x11-wm/bbkeys/Makefile
index dc38ff7f49f8..5fc1a66a1f6a 100644
--- a/x11-wm/bbkeys/Makefile
+++ b/x11-wm/bbkeys/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bbkeys
-PORTVERSION= 0.8.5
+PORTVERSION= 0.8.6
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,19 +15,26 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A keygrabber for the Blackbox window manager
USE_X_PREFIX= yes
+USE_PERL5= yes
GNU_CONFIGURE= yes
-USE_REINPLACE= yes
MAN1= bbkeys.1
MAN5= bbkeysrc.5 bbkeys.bb.5
+PORTDOCS= AUTHORS BUGS ChangeLog NEWS README
+PLIST_FILES= bin/bbkeys bin/bbkeysconf.pl \
+ share/bbtools/bbkeys.bb share/bbtools/bbkeys.nobb
-pre-patch:
+post-patch:
+ @${PERL} -pi -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
+
+post-install:
.if !defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e 's@doc/bbkeys@share/doc/bbkeys@g' \
- ${WRKSRC}/Makefile.in
-.else
- @${REINPLACE_CMD} -E 's|^docdir|#|; s|^doc_DATA|#|' \
- ${WRKSRC}/Makefile.in
+ @${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
.endif
+ @${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \
+ >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/x11-wm/bbkeys/distinfo b/x11-wm/bbkeys/distinfo
index ee2bf9b11cd6..caac27352cd6 100644
--- a/x11-wm/bbkeys/distinfo
+++ b/x11-wm/bbkeys/distinfo
@@ -1,2 +1,2 @@
-MD5 (bbkeys-0.8.5.tar.gz) = 15fbc82d1ea411a1ce7c6b2667ea8282
-SIZE (bbkeys-0.8.5.tar.gz) = 184795
+MD5 (bbkeys-0.8.6.tar.gz) = 6df58a99d136f21682b859b823d31b7d
+SIZE (bbkeys-0.8.6.tar.gz) = 185230
diff --git a/x11-wm/bbkeys/pkg-plist b/x11-wm/bbkeys/pkg-plist
deleted file mode 100644
index 705d49aaaa5a..000000000000
--- a/x11-wm/bbkeys/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-bin/bbkeys
-bin/bbkeysconf.pl
-share/bbtools/bbkeys.bb
-share/bbtools/bbkeys.nobb
-%%PORTDOCS%%share/doc/bbkeys/BUGS
-%%PORTDOCS%%share/doc/bbkeys/NEWS
-%%PORTDOCS%%share/doc/bbkeys/README
-%%PORTDOCS%%share/doc/bbkeys/AUTHORS
-%%PORTDOCS%%share/doc/bbkeys/ChangeLog
-%%PORTDOCS%%@dirrm share/doc/bbkeys
-@unexec rmdir %D/share/bbtools 2>/dev/null || true