diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-06-18 07:18:15 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-06-18 07:18:15 +0000 |
commit | 4009d2ebc3fe1e48b92eb9f37ca9cc4917a51e40 (patch) | |
tree | 7ac47b468e9100459ed5004933b948fb1a695988 /databases | |
parent | 928e147ce742a9a9b492a604e702fbe45af7447e (diff) | |
download | ports-4009d2ebc3fe1e48b92eb9f37ca9cc4917a51e40.tar.gz ports-4009d2ebc3fe1e48b92eb9f37ca9cc4917a51e40.zip |
- use DOCSDIR
- respect NOPORTDOCS
- bump PORTREVISION
Submitted by: QA Tindy run
Approved by: maintianer timeout
Notes
Notes:
svn path=/head/; revision=215047
Diffstat (limited to 'databases')
-rw-r--r-- | databases/tcl-Mysql/Makefile | 8 | ||||
-rw-r--r-- | databases/tcl-Mysql/pkg-plist | 8 |
2 files changed, 9 insertions, 7 deletions
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 <bsd.port.mk> 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%% |