From ed14904773f28e9a5765b0dbb5d3a6fcd6742d99 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 18 Feb 2009 01:10:17 +0000 Subject: - Install README and TUTORIAL as portdocs PR: 128098 Submitted by: hip0 Approved by: maintainer timeout --- benchmarks/super-smack/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'benchmarks/super-smack') diff --git a/benchmarks/super-smack/Makefile b/benchmarks/super-smack/Makefile index dc2ef20e6f46..5617f98b6bfe 100644 --- a/benchmarks/super-smack/Makefile +++ b/benchmarks/super-smack/Makefile @@ -7,6 +7,7 @@ PORTNAME= super-smack PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= benchmarks databases MASTER_SITES= http://vegan.net/tony/supersmack/ @@ -16,6 +17,8 @@ COMMENT= A benchmarking, stress testing, and load generation tool for Databases GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-smacks-dir=${DATADIR} +PORTDOCS= README TUTORIAL + OPTIONS= MYSQL "Enable MySQL support" on \ POSTGRESQL "Enable PostgreSQL support" off @@ -31,4 +34,12 @@ USE_PGSQL= yes CONFIGURE_ARGS+= --with-pgsql .endif +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + .include -- cgit