aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgmodeler/Makefile
blob: 42c332443d01ff51ca7fe31f0a34b0c04489a931 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Loïc BARTOLETTI
# $FreeBSD$

PORTNAME=   pgmodeler
PORTVERSION=    0.9.0
PORTREVISION=   1
DISTVERSIONPREFIX=  v
CATEGORIES= databases

MAINTAINER= lbartoletti@tuxfamily.org
COMMENT=    PostgreSQL Database Modeler

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/LICENSE

USES=       compiler:c++11-lib pgsql qmake pkgconfig gmake
USE_GITHUB= yes

USE_GNOME=  libxml2
USE_QT5=    gui network sql svg printsupport widgets core buildtools_build uitools testlib
USE_GL=     gl
USE_XORG=   x11 xext

USE_LDCONFIG=   yes

QMAKE_SOURCE_PATH=  ${WRKSRC}/${PORTNAME}.pro

post-patch:
    @${REINPLACE_CMD} -e 's|linux|unix|g' ${WRKSRC}/${PORTNAME}.pri

pre-install:
    @${MKDIR} ${STAGEDIR}/${LOCALBASE}/lib/${PORTNAME}/plugins

post-install:
    @${RM} ${STAGEDIR}${PREFIX}/bin/tests

.include <bsd.port.mk>