diff options
author | clsung <clsung@FreeBSD.org> | 2006-11-06 09:58:00 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-11-06 09:58:00 +0800 |
commit | e305e74836491462684ebfa5030dc398c045f212 (patch) | |
tree | 9ec0ad3102bfc7b93e050db8ba87c83ff7b546d5 /devel/kdesvn | |
parent | b483f552db8147284b2e37fbe0eac03dfcf892b0 (diff) | |
download | freebsd-ports-graphics-e305e74836491462684ebfa5030dc398c045f212.tar.gz freebsd-ports-graphics-e305e74836491462684ebfa5030dc398c045f212.tar.zst freebsd-ports-graphics-e305e74836491462684ebfa5030dc398c045f212.zip |
- upgrade to 0.11.0
* fix the PREFIX issue
* "uninstall before install" problem should not happen again (untested)
PR: ports/105101
Submitted by: maintainer (Yuan Jue)
Diffstat (limited to 'devel/kdesvn')
-rw-r--r-- | devel/kdesvn/Makefile | 16 | ||||
-rw-r--r-- | devel/kdesvn/distinfo | 6 | ||||
-rw-r--r-- | devel/kdesvn/files/patch-CMakeLists.txt | 11 | ||||
-rw-r--r-- | devel/kdesvn/files/patch-src-svnqt-path.cpp | 108 | ||||
-rw-r--r-- | devel/kdesvn/pkg-plist | 3 |
5 files changed, 8 insertions, 136 deletions
diff --git a/devel/kdesvn/Makefile b/devel/kdesvn/Makefile index 3c8910dc4a6..52396582615 100644 --- a/devel/kdesvn/Makefile +++ b/devel/kdesvn/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= kdesvn -PORTVERSION= 0.10.0 +PORTVERSION= 0.11.0 CATEGORIES= devel kde MASTER_SITES= http://www.alwins-world.de/programs/download/${PORTNAME}/ \ http://www.yuanjue.net/download/ @@ -21,7 +21,8 @@ PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_C_COMPILER:STRING='${CC}' \ -DCMAKE_CXX_COMPILER:STRING=${CXX} \ - -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" + -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ + -DCMAKE_INSTALL_PREFIX=${PREFIX} LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr-svn \ svn_client-1:${PORTSDIR}/devel/subversion \ @@ -33,8 +34,6 @@ USE_GMAKE= yes USE_LDCONFIG= yes USE_GETTEXT= yes -CXXFLAGS+= -lc - MAN1= kdesvn.1 kdesvnaskpass.1 .include <bsd.port.pre.mk> @@ -50,13 +49,4 @@ do-configure: @(cd ${WRKSRC}; \ ${LOCALBASE}/bin/cmake ${CMAKE_ARGS} ${PATCH_WRKSRC}) -pre-build: - @${ECHO_CMD} "*************************************************************************" - @${ECHO_CMD} " NOTE " - @${ECHO_CMD} "If you cannot build kdesvn successfully, please *pkg_delete* the existing" - @${ECHO_CMD} "kdesvn on your machine first and then try again. This issue should be " - @${ECHO_CMD} "fixed in the next release version of kdesvn, hopefully. " - @${ECHO_CMD} "*************************************************************************" - @sleep 3 - .include <bsd.port.post.mk> diff --git a/devel/kdesvn/distinfo b/devel/kdesvn/distinfo index bf2bfb4b591..503294d0542 100644 --- a/devel/kdesvn/distinfo +++ b/devel/kdesvn/distinfo @@ -1,3 +1,3 @@ -MD5 (kdesvn-0.10.0.tar.bz2) = 896d62ac8687236f05e984ba6cd69e6b -SHA256 (kdesvn-0.10.0.tar.bz2) = af453638b263bcfaf8060f9270a5ddddcc76f7beae7958908499f6e9cfa3129c -SIZE (kdesvn-0.10.0.tar.bz2) = 1179156 +MD5 (kdesvn-0.11.0.tar.bz2) = 466ea28e5e66d0536ff57b9da4cc95bd +SHA256 (kdesvn-0.11.0.tar.bz2) = 2888bc65cdd9dcc17094152f35a9b4fedf36bece4a25e351ef169889df0db8f3 +SIZE (kdesvn-0.11.0.tar.bz2) = 1183637 diff --git a/devel/kdesvn/files/patch-CMakeLists.txt b/devel/kdesvn/files/patch-CMakeLists.txt deleted file mode 100644 index 2471e06f7cd..00000000000 --- a/devel/kdesvn/files/patch-CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- CMakeLists.txt.orig Sat Sep 30 05:45:15 2006 -+++ CMakeLists.txt Sun Oct 8 23:18:36 2006 -@@ -30,7 +30,7 @@ - ${CMAKE_BINARY_DIR}/src/svnfrontend - ${CMAKE_BINARY_DIR}) - --ADD_DEFINITIONS(${KDE3_DEFINITIONS} ${APR_CPP_FLAGS} ${QT_DEFINITIONS}) -+ADD_DEFINITIONS(${KDE3_DEFINITIONS} ${QT_DEFINITIONS} ${APR_CPP_FLAGS}) - SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) - SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib/kde3) - diff --git a/devel/kdesvn/files/patch-src-svnqt-path.cpp b/devel/kdesvn/files/patch-src-svnqt-path.cpp deleted file mode 100644 index 680c6829458..00000000000 --- a/devel/kdesvn/files/patch-src-svnqt-path.cpp +++ /dev/null @@ -1,108 +0,0 @@ ---- src/svnqt/path.cpp.orig Tue Sep 26 05:32:24 2006 -+++ src/svnqt/path.cpp Mon Oct 9 00:05:26 2006 -@@ -186,105 +186,6 @@ - } - } - -- /* =================================================================== -- * The next two Fixed_* functions are copies of the APR -- * apr_temp_dir_get functionality with a fix applied. -- * This should turn up in APR release 0.9.5 or 1.0, but -- * for now is reproduced here. -- * -- * TODO: Remove this section! -- */ --#include "apr_env.h" -- --#define test_tempdir Fixed_test_tempdir --#define apr_temp_dir_get Fixed_apr_temp_dir_get -- -- static char global_temp_dir[APR_PATH_MAX+1] = { 0 }; -- -- /* Try to open a temporary file in the temporary dir, write to it, -- and then close it. */ -- static int Fixed_test_tempdir(const char *temp_dir, apr_pool_t *p) -- { -- apr_file_t *dummy_file; -- // This is the only actual fix - adding the ".XXXXXX"! -- const char *path = apr_pstrcat(p, temp_dir, "/apr-tmp.XXXXXX", NULL); -- -- if (apr_file_mktemp(&dummy_file, (char *)path, 0, p) == APR_SUCCESS) { -- if (apr_file_putc('!', dummy_file) == APR_SUCCESS) { -- if (apr_file_close(dummy_file) == APR_SUCCESS) { -- apr_file_remove(path, p); -- return 1; -- } -- } -- } -- return 0; -- } -- -- static apr_status_t Fixed_apr_temp_dir_get(const char **temp_dir, apr_pool_t *p) -- { -- apr_status_t apr_err; -- const char *try_dirs[] = { "/tmp", "/usr/tmp", "/var/tmp" }; -- const char *try_envs[] = { "TMP", "TEMP", "TMPDIR" }; -- char *cwd; -- size_t i; -- -- /* Our goal is to find a temporary directory suitable for writing -- into. We'll only pay the price once if we're successful -- we -- cache our successful find. Here's the order in which we'll try -- various paths: -- -- $TMP -- $TEMP -- $TMPDIR -- "/tmp" -- "/var/tmp" -- "/usr/tmp" -- `pwd` -- -- NOTE: This algorithm is basically the same one used by Python -- 2.2's tempfile.py module. */ -- -- /* Try the environment first. */ -- for (i = 0; i < (sizeof(try_envs) / sizeof(const char *)); i++) { -- char *value; -- apr_err = apr_env_get(&value, try_envs[i], p); -- if ((apr_err == APR_SUCCESS) && value) { -- apr_size_t len = strlen(value); -- if (len && (len < APR_PATH_MAX) && test_tempdir(value, p)) { -- memcpy(global_temp_dir, value, len + 1); -- goto end; -- } -- } -- } -- -- /* Next, try a set of hard-coded paths. */ -- for (i = 0; i < (sizeof(try_dirs) / sizeof(const char *)); i++) { -- if (test_tempdir(try_dirs[i], p)) { -- memcpy(global_temp_dir, try_dirs[i], strlen(try_dirs[i]) + 1); -- goto end; -- } -- } -- -- /* Finally, try the current working directory. */ -- if (APR_SUCCESS == apr_filepath_get(&cwd, APR_FILEPATH_NATIVE, p)) { -- if (test_tempdir(cwd, p)) { -- memcpy(global_temp_dir, cwd, strlen(cwd) + 1); -- goto end; -- } -- } -- --end: -- if (global_temp_dir[0]) { -- *temp_dir = apr_pstrdup(p, global_temp_dir); -- return APR_SUCCESS; -- } -- return APR_EGENERAL; -- } -- -- /* =================================================================== -- * End of inserted fixed APR code -- */ -- - Path - Path::getTempDir () - { diff --git a/devel/kdesvn/pkg-plist b/devel/kdesvn/pkg-plist index 5a2f16d44c1..e98fcf8b46a 100644 --- a/devel/kdesvn/pkg-plist +++ b/devel/kdesvn/pkg-plist @@ -19,6 +19,7 @@ include/svnqt/pool.hpp include/svnqt/repository.hpp include/svnqt/repositorylistener.hpp include/svnqt/revision.hpp +include/svnqt/shared_pointer.hpp include/svnqt/smart_pointer.hpp include/svnqt/status.hpp include/svnqt/svnfilestream.hpp @@ -37,7 +38,7 @@ lib/kde3/libkdesvnpart.so lib/libsvnqt.la lib/libsvnqt.so lib/libsvnqt.so.3 -lib/libsvnqt.so.3.0.0 +lib/libsvnqt.so.3.1.0 share/applications/kde/kdesvn.desktop share/apps/kdesvn/kdesvnui.rc share/apps/kdesvnpart/kdesvn_part.rc |