On Wed, 23 Dec 2015 07:21:45 +0100 Landry Breuil
<[email protected]> wrote:

> On Tue, Dec 22, 2015 at 11:53:04PM +0100, Christopher Zimmermann
> wrote:
> > Hi,
> > 
> > here's an update of sqlitebrowser to version 3.7.0. ok?  
> 
> You're missing the gtk-update-icon-cache and update-desktop-file goos
> in RDEP and PLIST, and regen the PLIST to prune the useless dirs
> afterwards.
> 
> Landry
> 

Like this?


Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/sqlitebrowser/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile    9 Dec 2014 20:49:59 -0000       1.17
+++ Makefile    23 Dec 2015 08:25:54 -0000
@@ -1,19 +1,23 @@
 # $OpenBSD: Makefile,v 1.17 2014/12/09 20:49:59 zhuk Exp $
 
 COMMENT=       graphical interface to sqlite databases
-DISTNAME =     sqlb-3.2.0
-PKGNAME =      sqlitebrowser-3.2.0
-MASTER_SITES =
https://github.com/sqlitebrowser/sqlitebrowser/archive/ +V = 3.7.0
+GH_ACCOUNT =   sqlitebrowser
+GH_PROJECT =   sqlitebrowser
+GH_TAGNAME =   v${V}
+DISTNAME =     ${GH_PROJECT}-${V}
+PKGNAME =      ${DISTNAME}
 
 CATEGORIES=    databases x11
 HOMEPAGE=      http://sqlitebrowser.org/
-WRKDIST  =     ${WRKDIR}/sqlitebrowser-${DISTNAME}
 
 MODULES=       x11/qt4 devel/cmake
 
 # MPLv2/GPLv3+
 PERMIT_PACKAGE_CDROM=  Yes
+
 WANTLIB += QtGui QtNetwork c m pthread sqlite3 stdc++
+RUN_DEPENDS = x11/gtk+3,-guic
 
 CONFIGURE_ARGS =       -DUSE_QT5=False
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/sqlitebrowser/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    13 Jul 2014 15:43:05 -0000      1.3
+++ distinfo    23 Dec 2015 08:25:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (sqlb-3.2.0.tar.gz) =
Lqu0wBAssvq9a9VW/8QMJHqLMXrfUY0GAbXuiFrIbhs= -SIZE (sqlb-3.2.0.tar.gz)
= 801880 +SHA256 (sqlitebrowser-3.7.0.tar.gz) =
MJOh3PWzE4wa3ymFfWIkmrKwaOcLABhpoxFRdj4ozDo= +SIZE
(sqlitebrowser-3.7.0.tar.gz) = 1509766 Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/sqlitebrowser/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   13 Jul 2014 15:43:05 -0000      1.2
+++ pkg/PLIST   23 Dec 2015 08:25:54 -0000
@@ -1,2 +1,9 @@
 @comment $OpenBSD: PLIST,v 1.2 2014/07/13 15:43:05 landry Exp $
 @bin bin/sqlitebrowser
+share/appdata/
+share/appdata/sqlitebrowser.desktop.appdata.xml
+share/applications/
+share/applications/sqlitebrowser.desktop
+share/icons/hicolor/256x256/apps/sqlitebrowser.png
+@exec gtk-update-icon-cache %D/share/icons/hicolor
+@unexec gtk-update-icon-cache %D/share/icons/hicolor


-- 
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
F190 D013 8F01 AA53 E080  3F3C F17F B0A1 D44E 4FEE

Reply via email to