ports/104176: Update port: textproc/ctpp to 1.8.0
KATO Tsuguru
tkato432 at yahoo.com
Sun Oct 8 17:10:34 UTC 2006
>Number: 104176
>Category: ports
>Synopsis: Update port: textproc/ctpp to 1.8.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 08 17:10:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p22 i386
>Organization:
>Environment:
>Description:
- Update to version 1.8.0
Remove file:
files/patch-Makefile.in
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/textproc/ctpp/Makefile textproc/ctpp/Makefile
--- /usr/ports/textproc/ctpp/Makefile Wed Sep 6 02:55:52 2006
+++ textproc/ctpp/Makefile Sun Oct 8 00:48:28 2006
@@ -6,31 +6,30 @@
#
PORTNAME= ctpp
-PORTVERSION= 1.7.5
+PORTVERSION= 1.8.0
CATEGORIES= textproc devel
MASTER_SITES= http://www.reki.ru/products/ctpp/download/
MAINTAINER= ports at FreeBSD.org
COMMENT= C++ library to use templates in C/C++ projects
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
+BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
-.if defined(WITH_CTPP_PERF_TUNING)
-CONFIGURE_ARGS+= --enable-optimization
-.endif
-
-.if defined(WITH_CTPP_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-.endif
+do-configure:
+ @cd ${WRKSRC} && ${LOCALBASE}/bin/cmake ${WRKSRC}
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libctpp-st.a ${PREFIX}/lib/libctpp.a
+ ${INSTALL_DATA} ${WRKSRC}/libctpp.so.1.8.0 ${PREFIX}/lib/libctpp.so
+ @${MKDIR} ${PREFIX}/include/ctpp
+ cd ${WRKSRC}/include && ${FIND} . | \
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include/ctpp
.if !defined(NOPORTDOCS)
-INSTALL_TARGET= install install-doc
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}/doc && ${FIND} . | \
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
-
-post-patch:
- @${RM} -f ${WRKSRC}/obj/*.o
.include <bsd.port.mk>
diff -urN /usr/ports/textproc/ctpp/distinfo textproc/ctpp/distinfo
--- /usr/ports/textproc/ctpp/distinfo Tue Jan 24 13:41:33 2006
+++ textproc/ctpp/distinfo Sun Oct 8 00:29:47 2006
@@ -1,3 +1,3 @@
-MD5 (ctpp-1.7.5.tar.gz) = 3d82e2cf6a4d90e7920f6aa6ba90c963
-SHA256 (ctpp-1.7.5.tar.gz) = c9fbadf29041eaf0dc7388cbb978649a4c6360cf53fd2f6e45a870856eba986b
-SIZE (ctpp-1.7.5.tar.gz) = 269277
+MD5 (ctpp-1.8.0.tar.gz) = 7f3647d44086ee8e6624179365aea9a0
+SHA256 (ctpp-1.8.0.tar.gz) = 573ebeab767173e3d204f7a9c211b6f909b45041a9539f41a5861a81ad36e1c7
+SIZE (ctpp-1.8.0.tar.gz) = 142189
diff -urN /usr/ports/textproc/ctpp/files/patch-Makefile.in textproc/ctpp/files/patch-Makefile.in
--- /usr/ports/textproc/ctpp/files/patch-Makefile.in Mon Apr 10 16:27:26 2006
+++ textproc/ctpp/files/patch-Makefile.in Thu Jan 1 09:00:00 1970
@@ -1,29 +0,0 @@
---- Makefile.in.orig Wed Feb 9 10:50:31 2005
-+++ Makefile.in Sat Mar 25 17:56:33 2006
-@@ -74,9 +74,11 @@
- fi; \
- fi; \
- done;
-+
-+install-doc::
- @echo -------------------------------------- Installing documentation ----------
-- if test ! -d "$(PREFIX)/doc"; then \
-- $(INSTALL) -d -m 0755 $(PREFIX)/doc; \
-+ if test ! -d "$(PREFIX)/share/doc"; then \
-+ $(INSTALL) -d -m 0755 $(PREFIX)/share/doc; \
- fi; \
- ELEM_LIST=`ls -R -1 $(BUILDROOT)/doc | sed 's!:$$!!';` ; \
- CURR_DIR=''; \
-@@ -85,10 +87,10 @@
- EXCL_PATH=`echo $(BUILDROOT)/doc | sed 's!\.!\\\\.!g'`; \
- INST_PATH=`eval "echo $$ELEMENT | sed 's!^$$EXCL_PATH!!g'"`; \
- CURR_DIR=$$ELEMENT; \
-- $(INSTALL) -d -m 0755 $(PREFIX)/doc/$$INST_PATH; \
-+ $(INSTALL) -d -m 0755 $(PREFIX)/share/doc/ctpp/$$INST_PATH; \
- else \
- if test -f "$$CURR_DIR/$$ELEMENT"; then \
-- $(INSTALL) -m 0644 $$CURR_DIR/$$ELEMENT $(PREFIX)/doc/$$INST_PATH/$$ELEMENT; \
-+ $(INSTALL) -m 0644 $$CURR_DIR/$$ELEMENT $(PREFIX)/share/doc/ctpp/$$INST_PATH/$$ELEMENT; \
- fi; \
- fi; \
- done;
diff -urN /usr/ports/textproc/ctpp/pkg-plist textproc/ctpp/pkg-plist
--- /usr/ports/textproc/ctpp/pkg-plist Mon Apr 10 16:27:26 2006
+++ textproc/ctpp/pkg-plist Sun Oct 8 00:47:12 2006
@@ -1,3 +1,5 @@
+include/ctpp/ctpp/Hash.hpp
+include/ctpp/ctpp/Types.h
include/ctpp/ctpp/ctpp.hpp
include/ctpp/ctpp/ctpp_c.h
include/ctpp/ctpp/param_data.hpp
@@ -13,13 +15,16 @@
include/ctpp/functions/urlescape.hpp
include/ctpp/functions/value_in_set.hpp
include/ctpp/util/d2str.hpp
-lib/libctpp.so
lib/libctpp.a
+lib/libctpp.so
%%PORTDOCS%%%%DOCSDIR%%/en/ctpp.chm
+%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.css
+%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhc
+%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhk
+%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhp
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_compile.html
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_context_vars.html
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_cover.html
-%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.css
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_def.html
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_algorithm.html
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_api.html
@@ -36,9 +41,6 @@
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_re.html
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_sprintf.html
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_urlescape.html
-%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhc
-%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhk
-%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhp
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_intro.html
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_license.html
%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_operators.html
@@ -51,10 +53,13 @@
%%PORTDOCS%%%%DOCSDIR%%/en/html/index.html
%%PORTDOCS%%%%DOCSDIR%%/en/html/index_left.html
%%PORTDOCS%%%%DOCSDIR%%/ru/ctpp.chm
+%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.css
+%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhc
+%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhk
+%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhp
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_compile.html
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_context_vars.html
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_cover.html
-%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.css
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_def.html
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_algorithm.html
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_api.html
@@ -71,9 +76,6 @@
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_re.html
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_sprintf.html
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_urlescape.html
-%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhc
-%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhk
-%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhp
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_intro.html
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_license.html
%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_operators.html
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list