diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql++1/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/databases/mysql++1/Makefile b/databases/mysql++1/Makefile index 5ca6b464b47a..688ebff3bf55 100644 --- a/databases/mysql++1/Makefile +++ b/databases/mysql++1/Makefile @@ -11,33 +11,35 @@ PKGNAMESUFFIX= 1-mysql${MYSQL_VER} MAINTAINER= sergey@network-asp.biz COMMENT= Complex C++ API for MySQL${MYSQL_VER} +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/LGPL + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-mysql=${LOCALBASE} \ --includedir=${PREFIX}/include/mysql++ \ --disable-examples INSTALL_TARGET= install-strip -USES= libtool +USES= libtool mysql USE_LDCONFIG= yes -USE_MYSQL= yes CONFLICTS= ${PORTNAME}*-2.* OPTIONS_DEFINE= DOCS EXAMPLES -post-install: +post-install-DOCS-on: @${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} + ${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} + +post-install-EXAMPLES-on: @${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 | \ + ${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.h ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/README ${STAGEDIR}${EXAMPLESDIR} + ${SED} -e "s|/usr/include/mysql++|${PREFIX}/include/mysql++|" < ${WRKSRC}/examples/Makefile.simple | \ ${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \ ${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" \ > ${STAGEDIR}${EXAMPLESDIR}/Makefile - @${RM} ${STAGEDIR}${EXAMPLESDIR}/Makefile.temp .include <bsd.port.mk> |