summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-12-09 01:23:07 +0000
committerdholland <dholland@pkgsrc.org>2011-12-09 01:23:07 +0000
commit01e7093f471b0c9c907872d088145ece75ddb6e8 (patch)
treef8b7e3b9d86960641dc6e13fe33e22c17729520c /wm
parenteee87fb94b85f4986cd94aecf285286849fdc968 (diff)
downloadpkgsrc-01e7093f471b0c9c907872d088145ece75ddb6e8.tar.gz
This builds and installs a man page if it finds asciidoc. Since it's
just a man page and asciidoc is fairly harmless, and it's not entirely clear how to disable the test, run with it: add a build depend on asciidoc, plus USE_TOOLS+=gzip, and update the plist. PKGREVISION -> 2.
Diffstat (limited to 'wm')
-rw-r--r--wm/bmpanel2/Makefile8
-rw-r--r--wm/bmpanel2/PLIST3
2 files changed, 7 insertions, 4 deletions
diff --git a/wm/bmpanel2/Makefile b/wm/bmpanel2/Makefile
index d963985d7cb..ce6dafe445b 100644
--- a/wm/bmpanel2/Makefile
+++ b/wm/bmpanel2/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2011/12/09 00:15:36 dholland Exp $
+# $NetBSD: Makefile,v 1.4 2011/12/09 01:23:07 dholland Exp $
#
DISTNAME= bmpanel2-2.1pre1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://bmpanel2.googlecode.com/files/
@@ -14,7 +14,7 @@ LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
USE_CMAKE= yes
USE_LANGUAGES= c c++
-USE_TOOLS+= pkg-config
+USE_TOOLS+= pkg-config gzip
PY_PATCHPLIST= yes
REPLACE_PYTHON= extra/py/bmpanel2.py
@@ -25,6 +25,8 @@ SUBST_FILES.prefix= xdg.c
SUBST_STAGE.prefix= post-extract
SUBST_MESSAGE.prefix= Fixing path to themes.
+BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../lang/python/application.mk"
diff --git a/wm/bmpanel2/PLIST b/wm/bmpanel2/PLIST
index 81fde6b6119..7d1094e1266 100644
--- a/wm/bmpanel2/PLIST
+++ b/wm/bmpanel2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/06/18 15:30:59 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2011/12/09 01:23:07 dholland Exp $
bin/bmpanel2
bin/bmpanel2cfg
${PYSITELIB}/bmpanel2.py
@@ -329,3 +329,4 @@ share/bmpanel2/themes/xsocam/tb_tile_idle_img.png
share/bmpanel2/themes/xsocam/tb_tile_pressed_img.png
share/bmpanel2/themes/xsocam/theme
share/bmpanel2/themes/xsocam/tile_img.png
+share/man/man1/bmpanel2.1.gz