From 4009d2ebc3fe1e48b92eb9f37ca9cc4917a51e40 Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Wed, 18 Jun 2008 07:18:15 +0000 Subject: - use DOCSDIR - respect NOPORTDOCS - bump PORTREVISION Submitted by: QA Tindy run Approved by: maintianer timeout --- databases/tcl-Mysql/Makefile | 8 +++++--- databases/tcl-Mysql/pkg-plist | 8 ++++---- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'databases') diff --git a/databases/tcl-Mysql/Makefile b/databases/tcl-Mysql/Makefile index 1c5293c18ae5..a5f47db4c938 100644 --- a/databases/tcl-Mysql/Makefile +++ b/databases/tcl-Mysql/Makefile @@ -7,7 +7,7 @@ PORTNAME= ${TCL_NODOT}-sql PORTVERSION= 20000114 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= databases tcl MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tcl-sql @@ -29,6 +29,8 @@ MAKE_ARGS+= SHLIB_NAME=${LIB_NAME} ${PLIST_SUB} REINPLACE_ARGS= -i "" MAKEFILE= ${FILESDIR}/Makefile.bsd +DOCSDIR?= ${PREFIX}/share/doc/tcl-MySQL + post-patch: @${REINPLACE_CMD} -e 's,^int ,static int ,' ${WRKSRC}/sql.cc @@ -41,9 +43,9 @@ do-install: {load ${SQL_DIR}/${LIB_NAME} sql}" \ > ${SQL_DIR}/pkgIndex.tcl .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/tcl-MySQL/ + ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${WRKSRC}/docs/*.txt \ - ${PREFIX}/share/doc/tcl-MySQL/ + ${DOCSDIR} .endif .include diff --git a/databases/tcl-Mysql/pkg-plist b/databases/tcl-Mysql/pkg-plist index d9ce0f8cc845..68f129498ffb 100644 --- a/databases/tcl-Mysql/pkg-plist +++ b/databases/tcl-Mysql/pkg-plist @@ -1,7 +1,7 @@ lib/%%TCL_VERSION%%/sql1.0/%%LIB_NAME%% lib/%%TCL_VERSION%%/sql1.0/pkgIndex.tcl @dirrm lib/%%TCL_VERSION%%/sql1.0 -share/doc/tcl-MySQL/api.html -share/doc/tcl-MySQL/sample.full.txt -share/doc/tcl-MySQL/sample.simple.txt -@dirrm share/doc/tcl-MySQL +%%PORTDOCS%%%%DOCSDIR%%/api.html +%%PORTDOCS%%%%DOCSDIR%%/sample.full.txt +%%PORTDOCS%%%%DOCSDIR%%/sample.simple.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3