c31bb99b2a
ok kevlo@ (Maintainer)
45 lines
980 B
Makefile
45 lines
980 B
Makefile
# $OpenBSD: Makefile,v 1.77 2013/01/18 15:17:43 giovanni Exp $
|
|
|
|
COMMENT= tool to handle the administration of MySQL over the web
|
|
|
|
V= 3.5.5
|
|
|
|
PKGNAME= phpMyAdmin-$V
|
|
DISTNAME= phpMyAdmin-$V-all-languages
|
|
CATEGORIES= www
|
|
HOMEPAGE= http://www.phpmyadmin.net/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpmyadmin/}
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= ${PREFIX}/phpMyAdmin
|
|
SUBST_VARS= INSTDIR V
|
|
|
|
MODULES= lang/php
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-mysql \
|
|
lang/php/${MODPHP_VERSION},-mysqli \
|
|
lang/php/${MODPHP_VERSION},-mcrypt \
|
|
lang/php/${MODPHP_VERSION},-gd
|
|
|
|
post-extract:
|
|
${SUBST_CMD} -c ${FILESDIR}/phpMyAdmin-httpd.conf \
|
|
${WRKSRC}/examples/phpMyAdmin-httpd.conf
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${INSTDIR}/
|
|
cd ${WRKSRC}; pax -rw ./ ${INSTDIR}/
|
|
|
|
.include <bsd.port.mk>
|