aboutsummaryrefslogblamecommitdiff
path: root/databases/adminer/Makefile
blob: 55c43016dbcbcf89d33edaf3e4eab5a8db55432e (plain) (tree)
1
2
3
4
5
6
7
8
9

                                              




                                                                

                       

                             

                                   
                                                                    


                   


                             
           




                                                                        
                                                        
                              




                             
# New ports collection makefile for:   adminer
# Date created:			11 July, 2009
# Whom:				Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	adminer
PORTVERSION=	1.11.1
CATEGORIES=	databases www
MASTER_SITES=	SF

MAINTAINER=	wenheping@gmail.com
COMMENT=	A full-featured MySQL management tool written in PHP

USE_ZIP=	yes
NO_BUILD=	yes
USE_PHP=	mysql session
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>