1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-09 02:22:18 +00:00
freebsd-ports/databases/sqlbuddy/Makefile
Martin Wilke fb3dde3caf - Update to 1.3.2
PR:		138442
Submitted by:	Chenguang Li <horus.li@gmail.com> (maintainer)
2009-09-02 17:13:11 +00:00

57 lines
1.3 KiB
Makefile

# New ports collection makefile for: SQL Buddy
# Date created: 17 August 2008
# Whom: Chenguang LI
#
# $FreeBSD$
#
PORTNAME= sqlbuddy
PORTVERSION= 1.3.2
CATEGORIES= databases www
MASTER_SITES= http://www.sqlbuddy.com/download/
DISTNAME= ${PORTNAME}_1_3_2
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>