diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-10 13:25:59 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-10 13:25:59 +0000 |
commit | cd6b1f82f497ef12d747ec9b8bcd04948a5a8203 (patch) | |
tree | 3bbec9f7f8de63a5da7ad9d83ba06be78762f428 /databases/adodb | |
parent | - REPOCOPY: chinese/scim-chinese -> chinese/scim-pinyin (diff) |
- Change find(1) options that is not supported before FreeBSD 5.3
PR: ports/78636
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=130797
Diffstat (limited to 'databases/adodb')
-rw-r--r-- | databases/adodb/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/adodb/Makefile b/databases/adodb/Makefile index c53e00108a82..90867003f7a2 100644 --- a/databases/adodb/Makefile +++ b/databases/adodb/Makefile @@ -7,6 +7,7 @@ PORTNAME= adodb PORTVERSION= 4.61 +PORTREVISION= 1 CATEGORIES= databases www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= adodb @@ -42,7 +43,7 @@ do-install: @${MKDIR} ${PREFIX}/${ADODB_DIR} @cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type d \ -exec ${MKDIR} ${PREFIX}/${ADODB_DIR}/{} \; - @cd ${WRKSRC}; ${FIND} . -depth 1 -type f \( -name '*.php' -or -name '*.dtd' -or -name '*.zip' \) \ + @cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f \( -name '*.php' -or -name '*.dtd' -or -name '*.zip' \) \ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${PREFIX}/${ADODB_DIR}/{} \; @cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type f \ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${PREFIX}/${ADODB_DIR}/{} \; @@ -56,7 +57,7 @@ do-install: post-install: .if !defined (NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${DOCSDIR}/cute_icons_for_site - @cd ${WRKSRC}; ${FIND} . -depth 1 -type f -name '*.txt' \ + @cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f -name '*.txt' \ -exec ${INSTALL_MAN} ${WRKSRC}/{} ${DOCSDIR}/{} \; @cd ${WRKSRC}/docs; ${FIND} . -type f \ -exec ${INSTALL_MAN} ${WRKSRC}/docs/{} ${DOCSDIR}/{} \; |