blob: 4ec4fab97c8850168efdf4b496f66ed23775b56d (
plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# $NetBSD: Makefile,v 1.23 2012/04/27 12:31:41 obache Exp $
DISTNAME= sqlrelay-0.43
PKGREVISION= 2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqlrelay/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sqlrelay.sourceforge.net/
COMMENT= Enables pooling and sharing of database connections
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
USE_LIBTOOL= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --disable-db2
CONFIGURE_ARGS+= --disable-erlang
CONFIGURE_ARGS+= --disable-firebird
CONFIGURE_ARGS+= --disable-java
CONFIGURE_ARGS+= --disable-mdbtools
CONFIGURE_ARGS+= --disable-oracle
CONFIGURE_ARGS+= --disable-php
CONFIGURE_ARGS+= --disable-python
CONFIGURE_ARGS+= --disable-ruby
CONFIGURE_ARGS+= --disable-sybase
CONFIGURE_ARGS+= --disable-tcl
CONFIGURE_ARGS+= --disable-zope
CONFIGURE_ARGS+= --with-rudiments-prefix=${BUILDLINK_PREFIX.rudiments}
MAKE_ENV+= EXAMPLESDIR=${EGDIR:Q}
PKG_SYSCONFSUBDIR= sqlrelay
EGDIR= ${PREFIX}/share/examples/sqlrelay
CONF_FILES+= ${EGDIR}/sqlrelay.conf.example \
${PKG_SYSCONFDIR}/sqlrelay.conf
CONF_FILES+= ${EGDIR}/sqlrelay.dtd \
${PKG_SYSCONFDIR}/sqlrelay.dtd
CONF_FILES+= ${EGDIR}/sqlrelay \
${PKG_SYSCONFDIR}/sqlrelay
INSTALLATION_DIRS= ${PREFIX}/share/examples/rc.d
SQLR_DATA?= ${VARBASE}/sqlrelay
OWN_DIRS+= ${SQLR_DATA}
OWN_DIRS+= ${SQLR_DATA}/tmp
OWN_DIRS+= ${SQLR_DATA}/tmp/ipc
OWN_DIRS+= ${SQLR_DATA}/tmp/pids
OWN_DIRS+= ${SQLR_DATA}/tmp/sockets
RCD_SCRIPTS+= sqlrelay
RCD_SCRIPT_SRC.sqlrelay= ${WRKSRC}/init/netbsd/rc.d/sqlrelay
.include "options.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/init/netbsd/sqlrelay ${DESTDIR}${EGDIR}/sqlrelay
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/rudiments/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|