From be331154fe85e3a1710f881fb3fb6ba1a92d8aca Mon Sep 17 00:00:00 2001 From: dholland Date: Fri, 9 Dec 2011 01:23:07 +0000 Subject: 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. --- wm/bmpanel2/Makefile | 8 +++++--- wm/bmpanel2/PLIST | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'wm') 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 -- cgit v1.2.3