Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105999478
D7253.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D7253.diff
View Options
Index: head/databases/Makefile
===================================================================
--- head/databases/Makefile
+++ head/databases/Makefile
@@ -964,6 +964,7 @@
SUBDIR += sqlite2
SUBDIR += sqlite3
SUBDIR += sqlitebrowser
+ SUBDIR += sqlitebrowser-qt5
SUBDIR += sqliteman
SUBDIR += sqlitemanager
SUBDIR += sqliteodbc
Index: head/databases/sqlitebrowser-qt5/Makefile
===================================================================
--- head/databases/sqlitebrowser-qt5/Makefile
+++ head/databases/sqlitebrowser-qt5/Makefile
@@ -0,0 +1,12 @@
+# Created by: Tobias C. Berner <tcberner@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= sqlitebrowser
+PORTREVERSION= 0
+PKGNAMESUFFIX= -qt5
+
+CONFLICTS_INSTALL= ${PORTNAME}-3.*
+
+MASTERDIR= ${.CURDIR:H}/sqlitebrowser
+
+.include "${MASTERDIR}/Makefile"
Index: head/databases/sqlitebrowser/Makefile
===================================================================
--- head/databases/sqlitebrowser/Makefile
+++ head/databases/sqlitebrowser/Makefile
@@ -4,24 +4,32 @@
PORTNAME= sqlitebrowser
PORTVERSION= 3.8.0
DISTVERSIONPREFIX= v
+PORTREVISION?= 1
CATEGORIES= databases
MAINTAINER= coder@tuxfamily.org
COMMENT= DB Browser for SQLite is a visual tool to manage SQLite databases
+CONFLICTS_INSTALL?= ${PORTNAME}-qt5-*
+
LICENSE= MPL GPLv3
LICENSE_COMB= dual
USE_GITHUB= yes
USES= cmake desktop-file-utils sqlite
+
+.if empty(PKGNAMESUFFIX)
USE_QT4= corelib network gui qmake_build linguisttools_build \
moc_build uic_build rcc_build
-
-INSTALLS_ICONS= yes
+CMAKE_ARGS+= -DUSE_QT5:BOOL=FALSE
+.else
+USE_QT5= core gui network printsupport testlib widgets \
+ buildtools_build linguisttools_build qmake_build
+CMAKE_ARGS+= -DUSE_QT5:BOOL=TRUE
+.endif
post-patch:
- @${ECHO} ${DATADIR}
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
${WRKSRC}/src/PreferencesDialog.cpp
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 4:43 PM (16 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15589600
Default Alt Text
D7253.diff (1 KB)
Attached To
Mode
D7253: Add new port databases/sqlitebrowser-qt5 as slaveport of databases/sqlitebrowser
Attached
Detach File
Event Timeline
Log In to Comment