pkgsrc/wm/bmpanel2/Makefile
dholland 2f94850758 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.
2011-12-09 01:23:07 +00:00

36 lines
996 B
Makefile

# $NetBSD: Makefile,v 1.4 2011/12/09 01:23:07 dholland Exp $
#
DISTNAME= bmpanel2-2.1pre1
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://bmpanel2.googlecode.com/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/bmpanel2/
COMMENT= NETWM-compatible panel for X11
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config gzip
PY_PATCHPLIST= yes
REPLACE_PYTHON= extra/py/bmpanel2.py
SUBST_CLASSES+= prefix
SUBST_SED.prefix= -e "s,/usr/local,${PREFIX},g"
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"
.include "../../lang/python/extension.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"