2012-08-31 12:40:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.76 2012/08/31 16:40:38 sthen Exp $
|
2004-07-15 06:02:37 -04:00
|
|
|
|
2007-09-11 01:01:14 -04:00
|
|
|
COMMENT= tool to handle the administration of MySQL over the web
|
2004-07-15 06:02:37 -04:00
|
|
|
|
2012-08-29 22:47:52 -04:00
|
|
|
V= 3.4.11.1
|
2012-08-31 12:40:38 -04:00
|
|
|
# If updating to 3.5.x, note that contrib/htaccess (@sample'd and
|
|
|
|
# mentioned in README) is removed.
|
|
|
|
PKGNAME= phpMyAdmin-$V
|
|
|
|
DISTNAME= phpMyAdmin-$V-all-languages
|
|
|
|
REVISION= 0
|
2004-07-15 06:02:37 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://www.phpmyadmin.net/
|
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
2009-09-21 03:11:32 -04:00
|
|
|
# GPLv2
|
2004-07-15 06:02:37 -04:00
|
|
|
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
|
2008-04-23 21:06:03 -04:00
|
|
|
SUBST_VARS= INSTDIR V
|
2004-07-15 06:02:37 -04:00
|
|
|
|
2011-07-08 19:01:39 -04:00
|
|
|
MODULES= lang/php
|
|
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-mysql \
|
2012-08-31 12:40:38 -04:00
|
|
|
lang/php/${MODPHP_VERSION},-mysqli \
|
2011-07-08 19:01:39 -04:00
|
|
|
lang/php/${MODPHP_VERSION},-mcrypt \
|
|
|
|
lang/php/${MODPHP_VERSION},-gd
|
2004-07-15 06:02:37 -04:00
|
|
|
|
2012-08-31 12:40:38 -04:00
|
|
|
post-extract:
|
|
|
|
${SUBST_CMD} -c ${FILESDIR}/phpMyAdmin-httpd.conf \
|
|
|
|
${WRKSRC}/contrib/phpMyAdmin-httpd.conf
|
|
|
|
|
2004-07-15 06:02:37 -04:00
|
|
|
do-install:
|
2012-08-31 12:40:38 -04:00
|
|
|
${INSTALL_DATA_DIR} ${INSTDIR}/
|
|
|
|
cd ${WRKSRC}; pax -rw ./ ${INSTDIR}/
|
2004-07-15 06:02:37 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|