View | Details | Raw Unified | Return to bug 130471
Collapse All | Expand All

(-)databases/mysql++/Makefile (-26 / +19 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	mysql++
8
PORTNAME=	mysql++
9
PORTVERSION=	2.1.1
9
PORTVERSION=	2.3.2
10
CATEGORIES=	databases devel
10
CATEGORIES=	databases devel
11
MASTER_SITES=	http://tangentsoft.net/mysql++/releases/
11
MASTER_SITES=	http://tangentsoft.net/mysql++/releases/
12
PKGNAMESUFFIX=	-mysql${MYSQL_VER}
12
PKGNAMESUFFIX=	-mysql${MYSQL_VER}
Lines 14-55 Link Here
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Complex C++ API for MySQL${MYSQL_VER}
15
COMMENT=	Complex C++ API for MySQL${MYSQL_VER}
16
16
17
USE_MYSQL=	yes
18
USE_AUTOTOOLS=	libtool:15
19
CONFIGURE_ARGS=	--with-mysql=${LOCALBASE} --disable-examples
20
USE_LDCONFIG=	yes
21
22
USE_GMAKE=      yes
23
24
CONFLICTS=	${PORTNAME}*-1.*
17
CONFLICTS=	${PORTNAME}*-1.*
25
18
26
NOT_FOR_ARCHS=	amd64 sparc64
19
NOT_FOR_ARCHS=	amd64 sparc64
27
NOT_FOR_ARCHS_REASON_amd64=	Fails to compile
20
NOT_FOR_ARCHS_REASON_amd64=	Fails to compile
28
NOT_FOR_ARCHS_REASON_sparc64=	Fails to compile
21
NOT_FOR_ARCHS_REASON_sparc64=	Fails to compile
29
22
30
.if !defined(NOPORTDOCS)
23
USE_MYSQL=	yes
24
USE_GMAKE=      yes
25
USE_AUTOTOOLS=	libtool:15
26
CONFIGURE_ARGS=	--with-mysql=${LOCALBASE}
27
USE_LDCONFIG=	yes
28
29
PLIST_SUB=	VERSION=${PORTVERSION}
30
31
PORTDOCS=	*
31
PORTDOCS=	*
32
.endif
32
PORTEXAMPLES=	*
33
34
PORTSCOUT=	limit:^2\.
33
35
34
post-install:
36
post-install:
35
	@${RM} -f ${PREFIX}/lib/libmysqlpp.so.3
36
	@${LN} -s ${PREFIX}/lib/libmysqlpp.so ${PREFIX}/lib/libmysqlpp.so.3
37
.if !defined(NOPORTDOCS)
37
.if !defined(NOPORTDOCS)
38
	@${MKDIR} ${DOCSDIR}/userman/html ${DOCSDIR}/refman/html
38
	@${MKDIR} ${DOCSDIR}/html
39
	@${INSTALL_DATA} ${WRKSRC}/doc/userman/html/* ${DOCSDIR}/userman/html
39
	@(cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${DOCSDIR}/html)
40
	@${INSTALL_DATA} ${WRKSRC}/doc/refman/html/* ${DOCSDIR}/refman/html
40
	@${MKDIR} ${DOCSDIR}/pdf
41
	@${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
41
	@(cd ${WRKSRC}/doc/pdf && ${COPYTREE_SHARE} . ${DOCSDIR}/pdf)
42
.endif
43
.if !defined(NOPORTEXAMPLES)
42
	@${MKDIR} ${EXAMPLESDIR}
44
	@${MKDIR} ${EXAMPLESDIR}
43
	@${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${EXAMPLESDIR}
45
	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
44
	@${INSTALL_DATA} ${WRKSRC}/examples/*.h ${EXAMPLESDIR}
45
	@${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
46
	@${INSTALL_DATA} ${WRKSRC}/examples/Makefile.simple ${EXAMPLESDIR}/Makefile.temp
47
	@${SED} -e "s|-I../lib|-I${PREFIX}/include/mysql++|" < ${EXAMPLESDIR}/Makefile.temp | \
48
		${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \
49
		${SED} -e "s|CXX=g++||" | \
50
		${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" \
51
		> ${EXAMPLESDIR}/Makefile
52
	@${RM} -f ${EXAMPLESDIR}/Makefile.temp
53
.endif
46
.endif
54
47
55
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)databases/mysql++/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (mysql++-2.1.1.tar.gz) = 3a42b3422b37c65f88be9162a969d164
1
MD5 (mysql++-2.3.2.tar.gz) = e3b839b17872f1e0f2ddbf7cf407b395
2
SHA256 (mysql++-2.1.1.tar.gz) = fcd05ac5b4ef0b7b196636907f0ab14860a4b889bd3b3e4f2acc919e2bb05a53
2
SHA256 (mysql++-2.3.2.tar.gz) = 3544b964964bc8981118119e82e4883dc9d1de8a72861a19e6687719ed3efce9
3
SIZE (mysql++-2.1.1.tar.gz) = 1855521
3
SIZE (mysql++-2.3.2.tar.gz) = 1627115
(-)databases/mysql++/files/patch-Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- Makefile.in.orig	Wed Apr  5 07:44:49 2006
2
+++ Makefile.in	Thu Apr 27 23:34:16 2006
3
@@ -20,7 +20,7 @@
4
 
5
 ### Targets: ###
6
 
7
-all: lib examples
8
+all: lib
9
 
10
 install: all
11
 	(cd lib && $(MAKE) install)
(-)databases/mysql++/pkg-plist (-28 / +5 lines)
Lines 1-11 Link Here
1
include/mysql++/autoflag.h
1
include/mysql++/coldata.h
2
include/mysql++/coldata.h
3
include/mysql++/common.h
2
include/mysql++/connection.h
4
include/mysql++/connection.h
3
include/mysql++/const_string.h
5
include/mysql++/const_string.h
4
include/mysql++/convert.h
6
include/mysql++/convert.h
5
include/mysql++/custom-macros.h
7
include/mysql++/custom-macros.h
6
include/mysql++/custom.h
8
include/mysql++/custom.h
7
include/mysql++/datetime.h
9
include/mysql++/datetime.h
8
include/mysql++/defs.h
9
include/mysql++/exceptions.h
10
include/mysql++/exceptions.h
10
include/mysql++/field_names.h
11
include/mysql++/field_names.h
11
include/mysql++/field_types.h
12
include/mysql++/field_types.h
Lines 16-22 Link Here
16
include/mysql++/mysql++.h
17
include/mysql++/mysql++.h
17
include/mysql++/noexceptions.h
18
include/mysql++/noexceptions.h
18
include/mysql++/null.h
19
include/mysql++/null.h
19
include/mysql++/platform.h
20
include/mysql++/qparms.h
20
include/mysql++/qparms.h
21
include/mysql++/query.h
21
include/mysql++/query.h
22
include/mysql++/querydef.h
22
include/mysql++/querydef.h
Lines 31-60 Link Here
31
include/mysql++/transaction.h
31
include/mysql++/transaction.h
32
include/mysql++/type_info.h
32
include/mysql++/type_info.h
33
include/mysql++/vallist.h
33
include/mysql++/vallist.h
34
@dirrm include/mysql++
35
lib/libmysqlpp.so
34
lib/libmysqlpp.so
36
lib/libmysqlpp.so.3
35
lib/libmysqlpp.so.2
37
%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile
36
lib/libmysqlpp.so.%%VERSION%%
38
%%PORTDOCS%%%%EXAMPLESDIR%%/README
37
@dirrm include/mysql++
39
%%PORTDOCS%%%%EXAMPLESDIR%%/cgi_image.cpp
40
%%PORTDOCS%%%%EXAMPLESDIR%%/custom1.cpp
41
%%PORTDOCS%%%%EXAMPLESDIR%%/custom2.cpp
42
%%PORTDOCS%%%%EXAMPLESDIR%%/custom3.cpp
43
%%PORTDOCS%%%%EXAMPLESDIR%%/custom4.cpp
44
%%PORTDOCS%%%%EXAMPLESDIR%%/custom5.cpp
45
%%PORTDOCS%%%%EXAMPLESDIR%%/custom6.cpp
46
%%PORTDOCS%%%%EXAMPLESDIR%%/dbinfo.cpp
47
%%PORTDOCS%%%%EXAMPLESDIR%%/fieldinf1.cpp
48
%%PORTDOCS%%%%EXAMPLESDIR%%/load_file.cpp
49
%%PORTDOCS%%%%EXAMPLESDIR%%/multiquery.cpp
50
%%PORTDOCS%%%%EXAMPLESDIR%%/resetdb.cpp
51
%%PORTDOCS%%%%EXAMPLESDIR%%/simple1.cpp
52
%%PORTDOCS%%%%EXAMPLESDIR%%/simple2.cpp
53
%%PORTDOCS%%%%EXAMPLESDIR%%/simple3.cpp
54
%%PORTDOCS%%%%EXAMPLESDIR%%/stock.h
55
%%PORTDOCS%%%%EXAMPLESDIR%%/updel.cpp
56
%%PORTDOCS%%%%EXAMPLESDIR%%/usequery.cpp
57
%%PORTDOCS%%%%EXAMPLESDIR%%/util.cpp
58
%%PORTDOCS%%%%EXAMPLESDIR%%/util.h
59
%%PORTDOCS%%%%EXAMPLESDIR%%/xaction.cpp
60
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%

Return to bug 130471