blob: ea9669b69b03beeee3e277d61e007394c0d5de2d (
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
|
# New ports collection makefile for: SQL Buddy
# Date created: 17 August 2008
# Whom: Chenguang LI
#
# $FreeBSD$
#
PORTNAME= sqlbuddy
PORTVERSION= 1.3.3
CATEGORIES= databases www
MASTER_SITES= http://www.sqlbuddy.com/download/
DISTNAME= ${PORTNAME}_1_3_3
MAINTAINER= horus.li@gmail.com
COMMENT= Web based MySQL administration with a set of PHP scripts
USE_ZIP= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_PHP= ctype pcre session
WANT_PHP_WEB= yes
OPTIONS+= MYSQL "MySQL support" on \
SQLITE "SQLite support" off
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if defined(WITH_MYSQL)
USE_PHP+= mysql
.endif
.if defined(WITH_SQLITE)
USE_PHP+= sqlite
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "NOTE:"
@${ECHO_MSG} "This port suppose you have already installed one or both of these databases supported, "
@${ECHO_MSG} "and you want to use SQL Buddy to manage the server."
@${ECHO_MSG} "If you are planning to install it/them on this machine later, "
@${ECHO_MSG} "you can find it/them at ${PORTSDIR}/databases."
@${ECHO_MSG} ""
do-install:
@${ECHO_MSG} ""
@${ECHO_MSG} "Installing SQL Buddy under ${WWWDIR}/"
@${MKDIR} ${WWWDIR}
@cd ${WRKSRC} && ${CP} -R * ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|