aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql++1
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-12-15 18:41:41 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-12-15 18:41:41 +0000
commit98773b7d97f02fe6c74130e3618635e2eb0118ee (patch)
tree912210b4a3c6700b628297a2f5d9bc5645ea0f54 /databases/mysql++1
parent2312d363a4cbcd787c8d8e95138aa26110b0fdd9 (diff)
downloadports-98773b7d97f02fe6c74130e3618635e2eb0118ee.tar.gz
ports-98773b7d97f02fe6c74130e3618635e2eb0118ee.zip
Notes
Diffstat (limited to 'databases/mysql++1')
-rw-r--r--databases/mysql++1/Makefile20
-rw-r--r--databases/mysql++1/distinfo1
2 files changed, 13 insertions, 8 deletions
diff --git a/databases/mysql++1/Makefile b/databases/mysql++1/Makefile
index 1e617481742b..0ab3758e1799 100644
--- a/databases/mysql++1/Makefile
+++ b/databases/mysql++1/Makefile
@@ -9,25 +9,28 @@ PORTNAME= mysql++
PORTVERSION= 1.7.40
CATEGORIES= databases devel
MASTER_SITES= http://tangentsoft.net/mysql++/releases/
+PKGNAMESUFFIX= -mysql${MYSQL_VER}
MAINTAINER= sergey@network-asp.biz
-COMMENT= Complex C++ API for MySQL
+COMMENT= Complex C++ API for MySQL${MYSQL_VER}
USE_MYSQL= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --includedir=${PREFIX}/include/mysql++
-CONFIGURE_ARGS+= --disable-examples
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --includedir=${PREFIX}/include/mysql++ \
+ --disable-examples
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
+CONFLICTS= ${PORTNAME}*-2.*
+NO_LATEST_LINK= yes
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500039
USE_GCC= 3.4
.endif
-PKGNAMESUFFIX= -mysql${MYSQL_VER}
-COMMENT+= ${MYSQL_VER}
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/userman/html ${DOCSDIR}/refman/html
@@ -40,8 +43,9 @@ post-install:
@${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 | \
- ${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \
- ${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" > ${EXAMPLESDIR}/Makefile
+ ${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
.endif
diff --git a/databases/mysql++1/distinfo b/databases/mysql++1/distinfo
index c32b70a5fe56..bfc65ea0f3da 100644
--- a/databases/mysql++1/distinfo
+++ b/databases/mysql++1/distinfo
@@ -1,2 +1,3 @@
MD5 (mysql++-1.7.40.tar.gz) = 163893856a9e5dbacffcb5ca6ad47c37
+SHA256 (mysql++-1.7.40.tar.gz) = 41cc6fb2fa62ecea8d0601a7312ab386dbfd3d27f6d2160fa8ac942c3bea24b9
SIZE (mysql++-1.7.40.tar.gz) = 1819351