aboutsummaryrefslogtreecommitdiffstats
path: root/databases/flamerobin/Makefile
blob: 6a6f3baca8ef7abcd90051b4e01fbc903d077a37 (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
49
50
# New ports collection makefile for:  flamerobin
# Date created:        5 April 2006
# Whom:            dindin
#
# $FreeBSD$
#

PORTNAME=   flamerobin
PORTVERSION=    0.7.6
PORTREVISION=   2
CATEGORIES= databases
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/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>