aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mywwwatcher/Makefile
blob: 8b54e8a3d47f6b7ae7b37dab19efc030010251ab (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
# Created by: Petr Macek <pm@kostax.cz>
# $FreeBSD$

PORTNAME=   mywwwatcher
PORTVERSION=    3.2
CATEGORIES= databases www
MASTER_SITES=   http://www.the.cz/mywwwatcher/files/
DISTNAME=   mywwwatcher-${PORTVERSION}

MAINTAINER= pm@kostax.cz
COMMENT=    Simple web-based MySQL client + tools (dump, import, scheme, ...)

WRKSRC=     ${WRKDIR}/mywwwatcher

WANT_PHP_WEB=       yes
DEFAULT_PHP_VER=    5
USE_PHP=        pcre session mysql

NO_BUILD=   yes

SUB_FILES=  pkg-message

NO_STAGE=   yes
do-install:
    @${MKDIR} ${WWWDIR}
    @${CP} -Rp ${WRKSRC}/* ${WWWDIR}
    @${CHGRP} -R ${WWWGRP} ${WWWDIR}
    @${CHMOD} 775 ${WWWDIR}/ini
    @${CHMOD} 775 ${WWWDIR}/query_archive
    @${ECHO_CMD} ""

post-install:
.if !defined(BATCH)
    @${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>