aboutsummaryrefslogtreecommitdiffstats
path: root/databases/cego/Makefile
blob: 3c9f801a28aef22a5d50bceeb41e86b51a8ad535 (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
# Created by: Kurt Jaeger <fbsd-ports@opsec.eu>
# $FreeBSD$

PORTNAME=   cego
PORTVERSION=    2.19.3
CATEGORIES= databases
MASTER_SITES=   http://www.lemke-it.com/

MAINTAINER= fbsd-ports@opsec.eu
COMMENT=    Relational and transactional database system

LICENSE=    GPLv3

LIB_DEPENDS=    lfcbase:${PORTSDIR}/devel/lfcbase \
        lfcxml:${PORTSDIR}/devel/lfcxml

GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include

USE_LDCONFIG=   yes
USE_AUTOTOOLS=  autoconf:env
USE_RC_SUBR=    cego

USES=       ncurses readline

USERS=  cego
GROUPS= cego

PLIST_SUB+= USER=${USERS}

post-patch:
    @${REINPLACE_CMD} -e 's,-O3,,g' \
        ${WRKSRC}/src/Makefile.in \
        ${WRKSRC}/samples/cgplustest/Makefile.in \
        ${WRKSRC}/samples/cgwraptest/Makefile.in

post-install:
    @${MKDIR} ${PREFIX}/share/cego
    @${CP} ${WRKSRC}/tools/* ${PREFIX}/share/cego/

.include <bsd.port.mk>