Lines 1-27
Link Here
|
1 |
# Created by: loïc bartoletti <coder@tuxfamily.org> |
1 |
# Created by: loïc bartoletti <lbartoletti@tuxfamily.org> |
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= sqlitebrowser |
4 |
PORTNAME= sqlitebrowser |
5 |
PORTVERSION= 3.8.0 |
5 |
PORTVERSION= 3.9.0 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= databases |
7 |
CATEGORIES= databases |
8 |
|
8 |
|
9 |
MAINTAINER= coder@tuxfamily.org |
9 |
MAINTAINER= lbartoletti@tuxfamily.org |
10 |
COMMENT= DB Browser for SQLite is a visual tool to manage SQLite databases |
10 |
COMMENT= DB Browser for SQLite is a visual tool to manage SQLite databases |
11 |
|
11 |
|
12 |
LICENSE= MPL GPLv3 |
12 |
LICENSE= MPL GPLv3 |
13 |
LICENSE_COMB= dual |
13 |
LICENSE_COMB= dual |
14 |
|
14 |
|
|
|
15 |
BUILD_DEPENDS= ${LOCALBASE}/include/antlr/AST.hpp:devel/antlr |
16 |
|
17 |
CONFLICTS_INSTALL?= ${PORTNAME}-qt5-* |
18 |
|
15 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
16 |
|
20 |
|
17 |
USES= cmake desktop-file-utils sqlite |
21 |
USES= cmake desktop-file-utils sqlite |
|
|
22 |
|
23 |
INSTALLS_ICONS= yes |
24 |
|
25 |
.if empty(PKGNAMESUFFIX) |
26 |
CMAKE_ARGS+= -DUSE_QT5:BOOL=FALSE |
18 |
USE_QT4= corelib network gui qmake_build linguisttools_build \ |
27 |
USE_QT4= corelib network gui qmake_build linguisttools_build \ |
19 |
moc_build uic_build rcc_build |
28 |
moc_build uic_build rcc_build |
|
|
29 |
.else |
30 |
CMAKE_ARGS+= -DUSE_QT5:BOOL=TRUE |
31 |
USE_QT5= core widgets network gui qmake buildtools linguisttools printsupport testlib |
32 |
.endif |
20 |
|
33 |
|
21 |
INSTALLS_ICONS= yes |
|
|
22 |
|
23 |
post-patch: |
34 |
post-patch: |
24 |
@${ECHO} ${DATADIR} |
|
|
25 |
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \ |
35 |
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \ |
26 |
${WRKSRC}/src/PreferencesDialog.cpp |
36 |
${WRKSRC}/src/PreferencesDialog.cpp |
27 |
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \ |
37 |
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \ |