aboutsummaryrefslogtreecommitdiffstats
path: root/databases/flamerobin/Makefile
blob: 2ee3a21d0c56428f7c6a84afee1f49d2d1321581 (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
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:  flamerobin
# Date created:        5 April 2006
# Whom:            dindin
#
# $FreeBSD$
#

PORTNAME=   flamerobin
PORTVERSION=    0.7.6
PORTREVISION=   3
CATEGORIES= databases
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= dindin@FreeBSD.org.ua
COMMENT=    The GUI administration tool for firebird database

USE_WX=     2.6+
WX_COMPS=   wx contrib
WX_CONF_ARGS=   absolute
WX_PREMK=   yes
WX_UNICODE= yes

GNU_CONFIGURE=  yes
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"

OPTIONS=    FIREBIRD "Use firebird1 instead of firebird2"   off

SUB_FILES=  pkg-message
MAN1=       flamerobin.1

.include <bsd.port.pre.mk>

.if defined(WITH_FIREBIRD)
LIB_DEPENDS+=   fbclient.1:${PORTSDIR}/databases/firebird-client
.else
LIB_DEPENDS+=   fbclient.2:${PORTSDIR}/databases/firebird2-client
.endif

.if exists(${WX_CONFIG})
WX_VER_STR!=    ${WX_CONFIG} --release
PLIST_SUB+= WX_VERSION=${WX_VER_STR}
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>