blob: d487e9e9d0624c7f598134fc0e478cd5185b4c09 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# New ports collection makefile for: mysqladministrator
# Date created: 21 Febrary 2004
# Whom: Sergey Matveychuk <sem@ciam.ru>
#
# $FreeBSD$
#
PORTNAME= mysql-administrator
PORTVERSION= 1.0.14
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.softagency.co.jp/MySQL/%SUBDIR%/ \
ftp://sunsite.dk/mirrors/mysql/%SUBDIR%/ \
http://mysql.mediatraffic.fi/%SUBDIR%/ \
ftp://filepile.tiscali.de/mirror/mysql/%SUBDIR%/ \
http://mirrors.tilian.co.uk/%SUBDIR%/ \
ftp://ftp.rtfm.no/pub/mysql/%SUBDIR%/ \
ftp://ftp.u-paris10.fr/mysql.com/%SUBDIR%/ \
http://mysql.oms-net.nl/%SUBDIR%/
MASTER_SITE_SUBDIR= Downloads/MySQLAdministrationSuite
MAINTAINER= sem@FreeBSD.org
COMMENT= Powerful visual administration console for MySQL environment
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_GMAKE= yes
WANT_AUTOCONF_VER= 259
CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --localstatedir=${PREFIX}/share/gnome
USE_ICONV= yes
USE_GNOME= libglade2 gnomehack
USE_MYSQL= yes
BROKEN_WITH_MYSQL= 323 40
GNU_CONFIGURE= yes
LIB_DEPENDS+= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtk--2 \
pcre.0:${PORTSDIR}/devel/pcre
BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
RUN_DEPENDS= ${BUILD_DEPENDS}
DIRS_ORDER= mysql-gui-common mysql-administrator
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e "s#%%PTHREAD_CFLAGS%%#${PTHREAD_CFLAGS}#" \
${WRKSRC}/mysql-administrator/source/linux/Makefile.am
@${CHMOD} a+x ${WRKSRC}/mysql-gui-common/missing \
${WRKSRC}/mysql-administrator/missing
@${REINPLACE_CMD} -e 's#$$(datadir)/omf#$$(datadir)/gnome#' \
${WRKSRC}/mysql-administrator/omf.make
do-configure:
@${DO_NADA}
do-build:
@for d in ${DIRS_ORDER}; do \
${ECHO_MSG} ""; \
${ECHO_MSG} "--->"; \
${ECHO_MSG} "---> Building: $${d}"; \
${ECHO_MSG} "--->"; \
cd ${WRKSRC}/$${d}; \
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \
${GMAKE} DATADIRNAME=share; \
done
do-install:
@for d in ${DIRS_ORDER}; do \
${ECHO_MSG} ""; \
${ECHO_MSG} "--->"; \
${ECHO_MSG} "---> Installing: $${d}"; \
${ECHO_MSG} "--->"; \
cd ${WRKSRC}/$${d}; \
${GMAKE} install; \
done
.include <bsd.port.post.mk>
|