mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-09 02:22:18 +00:00
3fd5d37be2
- Trim Makefile headers Feature safe: yes
32 lines
740 B
Makefile
32 lines
740 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= adminer
|
|
PORTVERSION= 3.6.1
|
|
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= AL2
|
|
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
USE_PHP= mssql mysql odbc pgsql session pdo_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>
|