summaryrefslogtreecommitdiff
path: root/wm/bmpanel2/Makefile
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
commitbe331154fe85e3a1710f881fb3fb6ba1a92d8aca (patch)
treef8b7e3b9d86960641dc6e13fe33e22c17729520c /wm/bmpanel2/Makefile
parent8cdda70c7378dbd6f3f07eecafe3235ed9161240 (diff)
downloadpkgsrc-be331154fe85e3a1710f881fb3fb6ba1a92d8aca.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/bmpanel2/Makefile')
-rw-r--r--wm/bmpanel2/Makefile8
1 files changed, 5 insertions, 3 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"