aboutsummaryrefslogtreecommitdiff
path: root/databases/adodb
diff options
context:
space:
mode:
Diffstat (limited to 'databases/adodb')
-rw-r--r--databases/adodb/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/databases/adodb/Makefile b/databases/adodb/Makefile
index bb4a285e03cc..13a12718e7b7 100644
--- a/databases/adodb/Makefile
+++ b/databases/adodb/Makefile
@@ -25,7 +25,6 @@ ADODB_SUBDIRS= contrib datadict drivers lang pear perf session xsl
OPTIONS_DEFINE= TESTS DOCS
TESTS_DESC= Install tests
-NO_STAGE= yes
.include <bsd.port.options.mk>
SUB_FILES+= pkg-message
@@ -40,30 +39,29 @@ post-patch:
@cd ${WRKSRC}; ${RM} -f cute_icons_for_site/Thumbs.db
do-install:
- @${MKDIR} ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
@cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type d \
- -exec ${MKDIR} ${DATADIR}/{} \;
+ -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \;
@cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f \( -name '*.php' -or -name '*.dtd' -or -name '*.zip' \) \
- -exec ${INSTALL_DATA} ${WRKSRC}/{} ${DATADIR}/{} \;
+ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \;
@cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type f \
- -exec ${INSTALL_DATA} ${WRKSRC}/{} ${DATADIR}/{} \;
+ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \;
.if ${PORT_OPTIONS:MTESTS}
- @${MKDIR} ${DATADIR}/tests
+ @${MKDIR} ${STAGEDIR}${DATADIR}/tests
@cd ${WRKSRC}; ${FIND} tests -type f \
- -exec ${INSTALL_DATA} ${WRKSRC}/{} ${DATADIR}/{} \;
+ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \;
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR} ${DOCSDIR}/cute_icons_for_site
+ @${MKDIR} ${DOCSDIR} ${STAGEDIR}${DOCSDIR}/cute_icons_for_site
@cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f -name '*.txt' \
- -exec ${INSTALL_MAN} ${WRKSRC}/{} ${DOCSDIR}/{} \;
+ -exec ${INSTALL_MAN} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR}/{} \;
@cd ${WRKSRC}/docs; ${FIND} . -type f \
- -exec ${INSTALL_MAN} ${WRKSRC}/docs/{} ${DOCSDIR}/{} \;
+ -exec ${INSTALL_MAN} ${WRKSRC}/docs/{} ${STAGEDIR}${DOCSDIR}/{} \;
@cd ${WRKSRC}; ${FIND} cute_icons_for_site -type f \
- -exec ${INSTALL_MAN} ${WRKSRC}/{} ${DOCSDIR}/{} \;
+ -exec ${INSTALL_MAN} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR}/{} \;
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>