[Bug 252813] deskutils/owncloudclient: Update to 2.7.4

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 20 08:17:20 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252813

--- Comment #3 from Fernando Apesteguía <fernape at FreeBSD.org> ---
(In reply to Daniel Morante from comment #2)
I meant something like this:

Index: Makefile
===================================================================
--- Makefile    (revisión: 562106)
+++ Makefile    (copia de trabajo)
@@ -2,11 +2,12 @@
 # $FreeBSD$

 PORTNAME=      owncloudclient
-DISTVERSION=   2.6.0
-DISTVERSIONSUFFIX=     .13018
+DISTVERSION=   2.7.4
+DISTVERSIONSUFFIX=     .2934
 CATEGORIES=    deskutils
-MASTER_SITES=  https://download.owncloud.com/desktop/stable/
-# owncloudclient-2.6.0.13018.tar.xz
+MASTER_SITES= 
https://download.owncloud.com/desktop/ownCloud/stable/${DISTVERSION}${DISTVERSIONSUFFIX}/source/
+DISTNAME=      ownCloud-${DISTVERSION}${DISTVERSIONSUFFIX}
+# owncloudclient-2.7.4.2934.tar.xz

 MAINTAINER=    ports at FreeBSD.org
 COMMENT=       OwnCloud Desktop Syncing Client
@@ -18,22 +19,24 @@
                libqt5keychain.so:security/qtkeychain

 USES=          cmake:noninja compiler:c++11-lib gmake iconv kde:5 \
-               localbase:ldflags pkgconfig qt:5 sqlite tar:xz
+               localbase:ldflags pkgconfig qt:5 sqlite tar:xz
desktop-file-utils \
+               shared-mime-info
+USE_KDE=       completion config coreaddons jobwidgets kio service
widgetsaddons \
+               windowsystem
+USE_LDCONFIG=  yes
 USE_QT=                buildtools_build concurrent core dbus gui
linguist_build network \
                qmake_build sql webkit widgets xml
-USE_KDE=       completion config coreaddons jobwidgets kio service
widgetsaddons
-CMAKE_ARGS=    -DBUILD_WITH_QT4:BOOL=OFF \
-               -DCMAKE_INSTALL_MANDIR:STRING=man \
-               -DWITH_DOC:BOOL=OFF \
-               -DWITH_STACK_PROTECTOR:BOOL=OFF
-USE_LDCONFIG=  yes

+CMAKE_ARGS=    -DCMAKE_INSTALL_MANDIR:STRING=man \
+               -DSYSCONF_INSTALL_DIR="${PREFIX}/etc"
+CMAKE_OFF=     BUILD_WITH_QT4 WITH_DOC WITH_STACK_PROTECTOR
+
+PLIST_SUB=     VERSION=${PORTVERSION}
+
 OPTIONS_DEFINE=                DEBUG

 DEBUG_CMAKE_ON=                -DCMAKE_BUILD_TYPE:STRING=Debug

-PLIST_SUB=     VERSION=${PORTVERSION}
-
 post-patch:
        @${REINPLACE_CMD} -e \
                's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt

You can use portclippy (from ports-mgmt/portfmt)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list