mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
0b4441733e
- WANT_PHP_WEB since it's web-based - default php to 5 and mark ignore with 3 - use WWWDIR - use SUB_FILES for pkg-message PR: ports/115584 Submitted by: Petr Macek (maintainer)
42 lines
821 B
Makefile
42 lines
821 B
Makefile
# 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>
|