Support STAGEDIR.
Approved by: portmgr@
This commit is contained in:
parent
f07e29a507
commit
7c644cf042
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354188
@ -20,23 +20,22 @@ USE_LDCONFIG= yes
|
||||
|
||||
CONFLICTS= ${PORTNAME}*-2.*
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}/userman/html ${DOCSDIR}/refman/html
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/userman/html/* ${DOCSDIR}/userman/html
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/refman/html/* ${DOCSDIR}/refman/html
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/*.h ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/Makefile.simple ${EXAMPLESDIR}/Makefile.temp
|
||||
@${SED} -e "s|/usr/include/mysql++|${PREFIX}/include/mysql++|" < ${EXAMPLESDIR}/Makefile.temp | \
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/userman/html ${STAGEDIR}${DOCSDIR}/refman/html
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/userman/html/* ${STAGEDIR}${DOCSDIR}/userman/html
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/refman/html/* ${STAGEDIR}${DOCSDIR}/refman/html
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/*.h ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/README ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/Makefile.simple ${STAGEDIR}${EXAMPLESDIR}/Makefile.temp
|
||||
@${SED} -e "s|/usr/include/mysql++|${PREFIX}/include/mysql++|" < ${STAGEDIR}${EXAMPLESDIR}/Makefile.temp | \
|
||||
${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \
|
||||
${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" \
|
||||
> ${EXAMPLESDIR}/Makefile
|
||||
@${RM} -f ${EXAMPLESDIR}/Makefile.temp
|
||||
> ${STAGEDIR}${EXAMPLESDIR}/Makefile
|
||||
@${RM} -f ${STAGEDIR}${EXAMPLESDIR}/Makefile.temp
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -12,6 +12,7 @@ include/mysql++/field_names.h
|
||||
include/mysql++/field_types.h
|
||||
include/mysql++/fields.h
|
||||
include/mysql++/manip.h
|
||||
include/mysql++/myset.h
|
||||
include/mysql++/mysql++.h
|
||||
include/mysql++/mysql++.hh
|
||||
include/mysql++/null.h
|
||||
@ -20,7 +21,6 @@ include/mysql++/query.h
|
||||
include/mysql++/resiter.h
|
||||
include/mysql++/result.h
|
||||
include/mysql++/row.h
|
||||
include/mysql++/myset.h
|
||||
include/mysql++/sql_query.h
|
||||
include/mysql++/sql_string.h
|
||||
include/mysql++/sqlplus.hh
|
||||
|
Loading…
Reference in New Issue
Block a user