summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorrmind <rmind>2007-03-11 01:37:56 +0000
committerrmind <rmind>2007-03-11 01:37:56 +0000
commit6db71c0769211198bed1b1faae57726dab1cbc72 (patch)
tree3937accffa181662a04003a7db78fc9e7c76353f /benchmarks
parenta9097807205e372aa270ab204b538c8e959b4792 (diff)
downloadpkgsrc-6db71c0769211198bed1b1faae57726dab1cbc72.tar.gz
Fix building:
- Install manual.html as in default package's behaviour. - Remove do-install part as not nessecary.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/sysbench/PLIST4
-rw-r--r--benchmarks/sysbench/options.mk15
2 files changed, 3 insertions, 16 deletions
diff --git a/benchmarks/sysbench/PLIST b/benchmarks/sysbench/PLIST
index ee226512fca..74e62a9124e 100644
--- a/benchmarks/sysbench/PLIST
+++ b/benchmarks/sysbench/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2007/03/06 21:53:56 rmind Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/03/11 01:37:56 rmind Exp $
bin/sysbench
-${DOC}share/doc/sysbench/manual.html
+share/doc/sysbench/manual.html
@dirrm share/doc/sysbench
diff --git a/benchmarks/sysbench/options.mk b/benchmarks/sysbench/options.mk
index d86fbc869b9..7805e1f30a1 100644
--- a/benchmarks/sysbench/options.mk
+++ b/benchmarks/sysbench/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2007/03/06 21:53:56 rmind Exp $
+# $NetBSD: options.mk,v 1.3 2007/03/11 01:37:56 rmind Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sysbench
PKG_SUPPORTED_OPTIONS+= mysql pgsql doc
@@ -20,19 +20,6 @@ CONFIGURE_ARGS+= --without-pgsql
.endif
.if !empty(PKG_OPTIONS:Mdoc)
-PLIST_SUBST+= DOC=
. include "../../textproc/libxslt/buildlink3.mk"
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
-.else
-PLIST_SUBST+= DOC="@comment "
-.endif
-
-do-install:
-.if !empty(PKG_OPTIONS:Mdoc)
- ${PREFIX}/bin/xsltproc -o ${WRKSRC}/doc/manual.html \
- ${PREFIX}/share/xsl/docbook/xhtml/docbook.xsl \
- ${WRKSRC}/doc/manual.xml
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sysbench
- ${INSTALL_DATA} ${WRKSRC}/doc/manual.xml \
- ${PREFIX}/share/doc/sysbench
.endif