aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mywwwatcher/Makefile
blob: 27f83145973d7caf2da46be73f08cad0101ffb22 (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
# New ports collection makefile for:    mywwwatcher
# Date created:             10 January 2007
# Whom:                 Petr Macek <pm@kostax.cz>
#
# $FreeBSD$
#

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

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

WRKSRC=     ${WRKDIR}/mywwwatcher

WANT_PHP_WEB=       yes
DEFAULT_PHP_VER=    5
USE_PHP=        pcre session mysql
IGNORE_WITH_PHP=    3

NO_BUILD=   yes

SUB_FILES=  pkg-message

do-install:
    @${MKDIR} ${WWWDIR}
    @${CP} -Rp ${WRKSRC}/* ${WWWDIR}
    @${CHMOD} 775 ${WWWDIR}/ini
    @${CHMOD} 775 ${WWWDIR}/query_archive
    @${CHOWN} www ${WWWDIR}
    @${ECHO_CMD} ""

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

.include <bsd.port.mk>