aboutsummaryrefslogtreecommitdiffstats
path: root/databases/adminer/Makefile
blob: 6e7952f063319d6a6f280a04efb0eddd784e35c9 (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
# New ports collection makefile for:   adminer
# Date created:         11 July, 2009
# Whom:             Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   adminer
PORTVERSION=    3.2.2
CATEGORIES= databases www
MASTER_SITES=   SF/${PORTNAME}/Adminer/Adminer%20${PORTVERSION}

MAINTAINER= wen@FreeBSD.org
COMMENT=    A full-featured database management tool written in PHP

LICENSE=    ASL

USE_ZIP=    yes
NO_BUILD=   yes
USE_PHP=    mssql mysql odbc pgsql session sqlite
SUB_FILES=  pkg-message

do-install:
    @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
    @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
    @${CHMOD} -R 755 ${WWWDIR}
    @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
        >> ${TMPPLIST}
    @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
        >> ${TMPPLIST}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>