aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql++1/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-07-21 05:06:59 +0000
committerWill Andrews <will@FreeBSD.org>2000-07-21 05:06:59 +0000
commit9e46214234af64cef453dd0cb06ca5f27a1fa5e3 (patch)
tree1444a13a95c049de946298e55ac70cc40676031a /databases/mysql++1/Makefile
parent26cbbf47c8d739d0a6e9c8f6d6418229555fdddc (diff)
Notes
Diffstat (limited to 'databases/mysql++1/Makefile')
-rw-r--r--databases/mysql++1/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/databases/mysql++1/Makefile b/databases/mysql++1/Makefile
new file mode 100644
index 000000000000..6d880bccc7d0
--- /dev/null
+++ b/databases/mysql++1/Makefile
@@ -0,0 +1,40 @@
+# ports collection makefile for: MySQL++
+# Date created: 20th July 2000
+# Whom: Miklos Niedermayer <mico@bsd.hu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mysql++
+PORTVERSION= 1.7
+CATEGORIES= databases devel
+MASTER_SITES= http://gd.tuwien.ac.at/db/mysql/mysql++/ \
+ http://www.mysql.com/Downloads/mysql++/
+
+MAINTAINER= mico@bsd.hu
+
+LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql322-client
+
+HAS_CONFIGURE= yes
+CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -D_FIX_FOR_BSD_ "
+INSTALLS_SHLIB= yes
+
+pre-configure:
+ ${RM} ${WRKSRC}/examples/Makefile.in
+ ${ECHO} "all:" >${WRKSRC}/examples/Makefile.in
+ ${ECHO} "install:" >>${WRKSRC}/examples/Makefile.in
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/sqlplusint/.libs/libsqlplus.so.1 ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/sqlplusint/.libs/libsqlplus.a ${PREFIX}/lib
+ (cd ${PREFIX}/lib && ${RM} -f libsqlplus.so && ${LN} -s libsqlplus.so.1 libsqlplus.so)
+ ranlib ${PREFIX}/lib/libsqlplus.a
+ ${MKDIR} ${PREFIX}/share/examples/mysql++
+ ${MKDIR} ${PREFIX}/share/doc/mysql++
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.cc ${PREFIX}/share/examples/mysql++
+ ${INSTALL_DATA} ${WRKSRC}/doc/man-text/* ${PREFIX}/share/doc/mysql++
+ ${MKDIR} ${PREFIX}/include/mysql
+ ${INSTALL_DATA} ${WRKSRC}/sqlplusint/mysql++ ${WRKSRC}/sqlplusint/*.hh ${PREFIX}/include/mysql
+ ${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples
+
+.include <bsd.port.mk>