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

(-)textproc/ctpp/Makefile (-15 / +14 lines)
Lines 6-36 Link Here
6
#
6
#
7
7
8
PORTNAME=	ctpp
8
PORTNAME=	ctpp
9
PORTVERSION=	1.7.5
9
PORTVERSION=	1.8.0
10
CATEGORIES=	textproc devel
10
CATEGORIES=	textproc devel
11
MASTER_SITES=	http://www.reki.ru/products/ctpp/download/
11
MASTER_SITES=	http://www.reki.ru/products/ctpp/download/
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	C++ library to use templates in C/C++ projects
14
COMMENT=	C++ library to use templates in C/C++ projects
15
15
16
GNU_CONFIGURE=	yes
16
BUILD_DEPENDS=	cmake:${PORTSDIR}/devel/cmake
17
USE_GMAKE=	yes
18
17
19
INSTALLS_SHLIB=	yes
18
USE_LDCONFIG=	yes
20
19
21
.if defined(WITH_CTPP_PERF_TUNING)
20
do-configure:
22
CONFIGURE_ARGS+=	--enable-optimization
21
	@cd ${WRKSRC} && ${LOCALBASE}/bin/cmake ${WRKSRC}
23
.endif
24
25
.if defined(WITH_CTPP_DEBUG)
26
CONFIGURE_ARGS+=	--enable-debug
27
.endif
28
22
23
do-install:
24
	${INSTALL_DATA} ${WRKSRC}/libctpp-st.a ${PREFIX}/lib/libctpp.a
25
	${INSTALL_DATA} ${WRKSRC}/libctpp.so.1.8.0 ${PREFIX}/lib/libctpp.so
26
	@${MKDIR} ${PREFIX}/include/ctpp
27
	cd ${WRKSRC}/include && ${FIND} . | \
28
		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include/ctpp
29
.if !defined(NOPORTDOCS)
29
.if !defined(NOPORTDOCS)
30
INSTALL_TARGET=	install install-doc
30
	@${MKDIR} ${DOCSDIR}
31
	cd ${WRKSRC}/doc && ${FIND} . | \
32
		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
31
.endif
33
.endif
32
33
post-patch:
34
	@${RM} -f ${WRKSRC}/obj/*.o
35
34
36
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)textproc/ctpp/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ctpp-1.7.5.tar.gz) = 3d82e2cf6a4d90e7920f6aa6ba90c963
1
MD5 (ctpp-1.8.0.tar.gz) = 7f3647d44086ee8e6624179365aea9a0
2
SHA256 (ctpp-1.7.5.tar.gz) = c9fbadf29041eaf0dc7388cbb978649a4c6360cf53fd2f6e45a870856eba986b
2
SHA256 (ctpp-1.8.0.tar.gz) = 573ebeab767173e3d204f7a9c211b6f909b45041a9539f41a5861a81ad36e1c7
3
SIZE (ctpp-1.7.5.tar.gz) = 269277
3
SIZE (ctpp-1.8.0.tar.gz) = 142189
(-)textproc/ctpp/files/patch-Makefile.in (-29 lines)
Lines 1-29 Link Here
1
--- Makefile.in.orig	Wed Feb  9 10:50:31 2005
2
+++ Makefile.in	Sat Mar 25 17:56:33 2006
3
@@ -74,9 +74,11 @@
4
 			fi; \
5
 		fi; \
6
 	done;
7
+
8
+install-doc::
9
 	@echo -------------------------------------- Installing documentation ----------
10
-	if test ! -d "$(PREFIX)/doc"; then \
11
-		$(INSTALL) -d -m 0755 $(PREFIX)/doc; \
12
+	if test ! -d "$(PREFIX)/share/doc"; then \
13
+		$(INSTALL) -d -m 0755 $(PREFIX)/share/doc; \
14
 	fi; \
15
 	ELEM_LIST=`ls -R -1 $(BUILDROOT)/doc | sed 's!:$$!!';` ; \
16
 	CURR_DIR=''; \
17
@@ -85,10 +87,10 @@
18
 			EXCL_PATH=`echo $(BUILDROOT)/doc | sed 's!\.!\\\\.!g'`; \
19
 			INST_PATH=`eval "echo $$ELEMENT | sed 's!^$$EXCL_PATH!!g'"`; \
20
 			CURR_DIR=$$ELEMENT; \
21
-			$(INSTALL) -d -m 0755 $(PREFIX)/doc/$$INST_PATH; \
22
+			$(INSTALL) -d -m 0755 $(PREFIX)/share/doc/ctpp/$$INST_PATH; \
23
 		else \
24
 			if test -f "$$CURR_DIR/$$ELEMENT"; then \
25
-				$(INSTALL) -m 0644 $$CURR_DIR/$$ELEMENT $(PREFIX)/doc/$$INST_PATH/$$ELEMENT; \
26
+				$(INSTALL) -m 0644 $$CURR_DIR/$$ELEMENT $(PREFIX)/share/doc/ctpp/$$INST_PATH/$$ELEMENT; \
27
 			fi; \
28
 		fi; \
29
 	done;
(-)textproc/ctpp/pkg-plist (-9 / +11 lines)
Lines 1-3 Link Here
1
include/ctpp/ctpp/Hash.hpp
2
include/ctpp/ctpp/Types.h
1
include/ctpp/ctpp/ctpp.hpp
3
include/ctpp/ctpp/ctpp.hpp
2
include/ctpp/ctpp/ctpp_c.h
4
include/ctpp/ctpp/ctpp_c.h
3
include/ctpp/ctpp/param_data.hpp
5
include/ctpp/ctpp/param_data.hpp
Lines 13-25 Link Here
13
include/ctpp/functions/urlescape.hpp
15
include/ctpp/functions/urlescape.hpp
14
include/ctpp/functions/value_in_set.hpp
16
include/ctpp/functions/value_in_set.hpp
15
include/ctpp/util/d2str.hpp
17
include/ctpp/util/d2str.hpp
16
lib/libctpp.so
17
lib/libctpp.a
18
lib/libctpp.a
19
lib/libctpp.so
18
%%PORTDOCS%%%%DOCSDIR%%/en/ctpp.chm
20
%%PORTDOCS%%%%DOCSDIR%%/en/ctpp.chm
21
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.css
22
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhc
23
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhk
24
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhp
19
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_compile.html
25
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_compile.html
20
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_context_vars.html
26
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_context_vars.html
21
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_cover.html
27
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_cover.html
22
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.css
23
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_def.html
28
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_def.html
24
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_algorithm.html
29
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_algorithm.html
25
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_api.html
30
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_api.html
Lines 36-44 Link Here
36
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_re.html
41
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_re.html
37
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_sprintf.html
42
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_sprintf.html
38
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_urlescape.html
43
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_urlescape.html
39
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhc
40
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhk
41
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhp
42
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_intro.html
44
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_intro.html
43
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_license.html
45
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_license.html
44
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_operators.html
46
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_operators.html
Lines 51-60 Link Here
51
%%PORTDOCS%%%%DOCSDIR%%/en/html/index.html
53
%%PORTDOCS%%%%DOCSDIR%%/en/html/index.html
52
%%PORTDOCS%%%%DOCSDIR%%/en/html/index_left.html
54
%%PORTDOCS%%%%DOCSDIR%%/en/html/index_left.html
53
%%PORTDOCS%%%%DOCSDIR%%/ru/ctpp.chm
55
%%PORTDOCS%%%%DOCSDIR%%/ru/ctpp.chm
56
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.css
57
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhc
58
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhk
59
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhp
54
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_compile.html
60
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_compile.html
55
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_context_vars.html
61
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_context_vars.html
56
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_cover.html
62
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_cover.html
57
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.css
58
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_def.html
63
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_def.html
59
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_algorithm.html
64
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_algorithm.html
60
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_api.html
65
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_api.html
Lines 71-79 Link Here
71
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_re.html
76
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_re.html
72
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_sprintf.html
77
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_sprintf.html
73
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_urlescape.html
78
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_urlescape.html
74
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhc
75
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhk
76
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhp
77
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_intro.html
79
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_intro.html
78
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_license.html
80
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_license.html
79
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_operators.html
81
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_operators.html

Return to bug 104176