summaryrefslogtreecommitdiff
path: root/devel/compiz-bcop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/compiz-bcop/Makefile')
-rw-r--r--devel/compiz-bcop/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/devel/compiz-bcop/Makefile b/devel/compiz-bcop/Makefile
index e140d0f1a54..bed9a5529d5 100644
--- a/devel/compiz-bcop/Makefile
+++ b/devel/compiz-bcop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/05/12 12:40:32 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2008/05/14 16:40:20 drochner Exp $
#
DISTNAME= compiz-bcop-0.6.0
@@ -10,11 +10,18 @@ HOMEPAGE= http://www.compiz-fusion.org/
COMMENT= Option code generator for compiz
GNU_CONFIGURE= yes
-USE_TOOLS+= intltool pkg-config msgfmt
+USE_TOOLS+= intltool pkg-config msgfmt bash:run
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= bcop.pc.in
+DEPENDS+= getopt-[0-9]*:../../misc/getopt
+REPLACE_BASH+= src/bcop.in
-.include "../../wm/compiz/buildlink3.mk"
+SUBST_CLASSES+= getopt
+SUBST_STAGE.getopt= pre-configure
+SUBST_FILES.getopt= src/bcop.in
+SUBST_SED.getopt= "s|getopt|${LOCALBASE}/bin/getopt|"
+
+.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"