Index: sysutils/kshutdown-kde4/Makefile =================================================================== --- sysutils/kshutdown-kde4/Makefile +++ sysutils/kshutdown-kde4/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= kshutdown -DISTVERSION= 3.2 +DISTVERSION= 4.0 CATEGORIES= sysutils kde MASTER_SITES= SF/${PORTNAME}/KShutdown/${DISTVERSION}/ DISTNAME= ${PORTNAME}-source-${DISTVERSION} @@ -9,10 +9,16 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Advanced shutdown utility for KDE +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + USES= alias cmake:outsource compiler:c++0x gettext kde:4 zip -USE_QT4= moc_build qmake_build rcc_build uic_build -USE_KDE= automoc4 workspace +USE_QT4= corelib dbus gui moc_build qmake_build rcc_build svg uic_build +USE_KDE= automoc4 kdelibs workspace WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} +# Make sure, we're building the KDE4 version. +CMAKE_ARGS= -DKS_KF5:BOOL=FALSE + .include Index: sysutils/kshutdown-kde4/distinfo =================================================================== --- sysutils/kshutdown-kde4/distinfo +++ sysutils/kshutdown-kde4/distinfo @@ -1,2 +1,3 @@ -SHA256 (kshutdown-source-3.2.zip) = 8be6c2a15bb539919f94ec0caf20f00b144185f996b7663c464fbf7ce8f4a39f -SIZE (kshutdown-source-3.2.zip) = 435553 +TIMESTAMP = 1472666353 +SHA256 (kshutdown-source-4.0.zip) = 75733e5b55b36add775a2788365ee6f5fe8b3d21598e2a17e68b2f8dd62199fc +SIZE (kshutdown-source-4.0.zip) = 459493 Index: sysutils/kshutdown-kde4/files/patch-src__CMakeLists.txt =================================================================== --- sysutils/kshutdown-kde4/files/patch-src__CMakeLists.txt +++ sysutils/kshutdown-kde4/files/patch-src__CMakeLists.txt @@ -1,14 +1,14 @@ ---- src/CMakeLists.txt.orig 2014-10-12 13:00:51 UTC +--- src/CMakeLists.txt.orig 2016-08-31 20:01:32 UTC +++ src/CMakeLists.txt -@@ -47,10 +47,7 @@ - - target_link_libraries(kshutdown kdecore kdeui kio ${KDE4_KNOTIFYCONFIG_LIBS} ${KDE4_KUTILS_LIBS}) - --install( -- PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/kshutdown" -- DESTINATION bin --) -+install(TARGETS kshutdown RUNTIME DESTINATION bin) - install(FILES kshutdown.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) - install(FILES kshutdown.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kshutdown) - +@@ -79,10 +79,7 @@ elseif(KS_KF5) + install(FILES kshutdown.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) + install(FILES kshutdown.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR}) + else() +- install( +- PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/kshutdown" +- DESTINATION bin +- ) ++ install(TARGETS kshutdown RUNTIME DESTINATION bin) + install(FILES kshutdown.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) + install(FILES kshutdown.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kshutdown) + endif() Index: sysutils/kshutdown-kde4/pkg-plist =================================================================== --- sysutils/kshutdown-kde4/pkg-plist +++ sysutils/kshutdown-kde4/pkg-plist @@ -18,7 +18,6 @@ share/icons/hicolor/32x32/apps/kshutdown.png share/icons/hicolor/48x48/apps/kshutdown.png share/icons/hicolor/64x64/apps/kshutdown.png -share/icons/hicolor/scalable/apps/kshutdown.svgz share/locale/ar/LC_MESSAGES/kshutdown.mo share/locale/bg/LC_MESSAGES/kshutdown.mo share/locale/cs/LC_MESSAGES/kshutdown.mo