From 522ede88af773e7a1d8f27783662e9e1d1f175bc Mon Sep 17 00:00:00 2001 From: rafan Date: Fri, 27 Oct 2006 09:46:08 +0000 Subject: - Fix pkg-plist - pet portlint(1) - Add messages for users who can not build this port PR: ports/104674 Submitted by: Yuan Jue (maintainer) Approved by: portmgr (erwin) --- devel/kdesvn-kde4/Makefile | 13 ++++++++----- devel/kdesvn-kde4/files/patch-doc-man-CMakeLists.txt | 9 +++++++++ devel/kdesvn/Makefile | 13 ++++++++----- devel/kdesvn/files/patch-doc-man-CMakeLists.txt | 9 +++++++++ 4 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 devel/kdesvn-kde4/files/patch-doc-man-CMakeLists.txt create mode 100644 devel/kdesvn/files/patch-doc-man-CMakeLists.txt (limited to 'devel') diff --git a/devel/kdesvn-kde4/Makefile b/devel/kdesvn-kde4/Makefile index 09d6794c05ce..2804eba6817f 100644 --- a/devel/kdesvn-kde4/Makefile +++ b/devel/kdesvn-kde4/Makefile @@ -15,8 +15,6 @@ COMMENT= KDE frontend for Subversion BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake -BROKEN= Incomplete pkg-plist - WRKSRC= ${WRKDIR}/${DISTNAME}-build PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} @@ -33,6 +31,7 @@ USE_BZIP2= yes USE_KDELIBS_VER=3 USE_GMAKE= yes USE_LDCONFIG= yes +USE_GETTEXT= yes CXXFLAGS+= -lc @@ -51,8 +50,12 @@ do-configure: @(cd ${WRKSRC}; \ ${LOCALBASE}/bin/cmake ${CMAKE_ARGS} ${PATCH_WRKSRC}) -post-install: - @${MV} ${PREFIX}/share/man/man1/kdesvn.1 ${PREFIX}/man/man1/kdesvn.1 - @${MV} ${PREFIX}/share/man/man1/kdesvnaskpass.1 ${PREFIX}/man/man1/kdesvnaskpass.1 +post-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} "*************************************************************************" .include diff --git a/devel/kdesvn-kde4/files/patch-doc-man-CMakeLists.txt b/devel/kdesvn-kde4/files/patch-doc-man-CMakeLists.txt new file mode 100644 index 000000000000..86ebe7091b2f --- /dev/null +++ b/devel/kdesvn-kde4/files/patch-doc-man-CMakeLists.txt @@ -0,0 +1,9 @@ +--- doc/man/CMakeLists.txt.orig Fri Aug 25 05:29:36 2006 ++++ doc/man/CMakeLists.txt Sun Oct 22 10:25:58 2006 +@@ -4,5 +4,5 @@ + + INSTALL(FILES + ${MANFILES} +- DESTINATION share/man/man1) ++ DESTINATION man/man1) + diff --git a/devel/kdesvn/Makefile b/devel/kdesvn/Makefile index 09d6794c05ce..2804eba6817f 100644 --- a/devel/kdesvn/Makefile +++ b/devel/kdesvn/Makefile @@ -15,8 +15,6 @@ COMMENT= KDE frontend for Subversion BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake -BROKEN= Incomplete pkg-plist - WRKSRC= ${WRKDIR}/${DISTNAME}-build PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} @@ -33,6 +31,7 @@ USE_BZIP2= yes USE_KDELIBS_VER=3 USE_GMAKE= yes USE_LDCONFIG= yes +USE_GETTEXT= yes CXXFLAGS+= -lc @@ -51,8 +50,12 @@ do-configure: @(cd ${WRKSRC}; \ ${LOCALBASE}/bin/cmake ${CMAKE_ARGS} ${PATCH_WRKSRC}) -post-install: - @${MV} ${PREFIX}/share/man/man1/kdesvn.1 ${PREFIX}/man/man1/kdesvn.1 - @${MV} ${PREFIX}/share/man/man1/kdesvnaskpass.1 ${PREFIX}/man/man1/kdesvnaskpass.1 +post-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} "*************************************************************************" .include diff --git a/devel/kdesvn/files/patch-doc-man-CMakeLists.txt b/devel/kdesvn/files/patch-doc-man-CMakeLists.txt new file mode 100644 index 000000000000..86ebe7091b2f --- /dev/null +++ b/devel/kdesvn/files/patch-doc-man-CMakeLists.txt @@ -0,0 +1,9 @@ +--- doc/man/CMakeLists.txt.orig Fri Aug 25 05:29:36 2006 ++++ doc/man/CMakeLists.txt Sun Oct 22 10:25:58 2006 +@@ -4,5 +4,5 @@ + + INSTALL(FILES + ${MANFILES} +- DESTINATION share/man/man1) ++ DESTINATION man/man1) + -- cgit