[Midnightbsd-cvs] mports [17782] trunk/databases/phpmyadmin: phpMyAdmin 4.2.10.1

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Oct 27 07:45:20 EDT 2014


Revision: 17782
          http://svnweb.midnightbsd.org/mports/?rev=17782
Author:   laffer1
Date:     2014-10-27 07:45:19 -0400 (Mon, 27 Oct 2014)
Log Message:
-----------
phpMyAdmin 4.2.10.1

Modified Paths:
--------------
    trunk/databases/phpmyadmin/Makefile
    trunk/databases/phpmyadmin/distinfo

Modified: trunk/databases/phpmyadmin/Makefile
===================================================================
--- trunk/databases/phpmyadmin/Makefile	2014-10-22 01:05:15 UTC (rev 17781)
+++ trunk/databases/phpmyadmin/Makefile	2014-10-27 11:45:19 UTC (rev 17782)
@@ -1,20 +1,22 @@
 # $MidnightBSD$
 
 PORTNAME=	phpMyAdmin
-DISTVERSION=	4.0.10
+DISTVERSION=	4.2.10.1
 CATEGORIES=	databases www
-MASTER_SITES=	SF/${PORTNAME:L}/${PORTNAME}/${DISTVERSION}
+MASTER_SITES=	SF/${PORTNAME:tl}/${PORTNAME}/${DISTVERSION}
 DISTNAME=	${PORTNAME}-${DISTVERSION}-all-languages
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	A set of PHP-scripts to manage MySQL over the web
+COMMENT=	Set of PHP-scripts to manage MySQL over the web
 
 LICENSE=	gpl2
 
-USE_XZ=		yes
+USES=		cpe shebangfix tar:xz
+CPE_PRODUCT=	${PORTNAME:tl}
 NO_BUILD=	yes
 .if !defined(WITHOUT_PHP_DEPENDS)
-USE_PHP=	ctype session filter mbstring json
+IGNORE_WITH_PHP=52
+USE_PHP=	ctype session filter mbstring json mysqli
 .endif
 
 # Note: default settings will pull in X11 client support.  If you don't
@@ -21,19 +23,13 @@
 # want this, either turn off GD in the config dialog, or else turn off
 # FONTCONFIG in the graphics/gd port options.
 
-PHP_MODULE_OPTIONS=	APC BZ2 GD MCRYPT OPENSSL PDF XML ZIP ZLIB
-OPTIONS_DEFINE=		${PHP_MODULE_OPTIONS}
-OPTIONS_DEFAULT=	APC BZ2 GD MCRYPT MYSQLI OPENSSL PDF XML ZIP ZLIB
+OPTIONS_DEFINE=		APC BZ2 GD MCRYPT OPENSSL PDF XML ZIP ZLIB
+OPTIONS_DEFAULT=	BZ2 GD MCRYPT OPENSSL XML ZIP ZLIB
 
-OPTIONS_MULTI=		DB_connect
-OPTIONS_MULTI_DB_connect=	MYSQL MYSQLI
-
 APC_DESC=	PHP APC (animated progress bar) support
 BZ2_DESC=	PHP bzip2 library support
 GD_DESC=	PHP GD library support (requires X11)
 MCRYPT_DESC=	PHP MCrypt library support
-MYSQLI_DESC=	PHP Improved MySQL client support
-MYSQL_DESC=	PHP MySQL support via mysql client
 OPENSSL_DESC=	PHP OpenSSL support
 PDF_DESC=	PHP PDFlib support
 XML_DESC=	PHP XML support (Export to OpenDoc)
@@ -45,21 +41,23 @@
 WANT_PHP_WEB=	yes
 
 GROUPS?=	${WWWGRP}
-CFGFILE=	config.inc.php
+CFG_FILE=	config.inc.php
 
 PLIST=		${WRKDIR}/plist
 PLIST_SUB+=	PMA_GRP=${GROUPS}
 
-SUB_LIST+=	PKGNAME=${PKGNAME}
+SUB_LIST+=	PKGNAME=${PKGNAME}	        \
+		CFG_FILE=${WWWDIR}/${CFG_FILE}
 SUB_FILES+=	pkg-message
 
-LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
+SHEBANG_FILES=	libraries/plugins/transformations/generator_main_class.sh \
+		libraries/plugins/transformations/generator_plugin.sh
 
 .if !defined(WITHOUT_PHP_DEPENDS)
 
-.for opt in ${PHP_MODULE_OPTIONS} ${OPTIONS_MULTI_DB_connect}
+.for opt in ${OPTIONS_DEFINE} ${OPTIONS_MULTI_DB_connect}
 .    if ${PORT_OPTIONS:M${opt}}
-USE_PHP+=	${opt:L}
+USE_PHP+=	${opt:tl}
 .    endif
 .endfor
 
@@ -75,8 +73,8 @@
 	for emptydir in $$( ${FIND} . -type d -empty -print ) ; do \
 	    ${TOUCH} $${emptydir}/.keep-me ; \
 	done ; \
-	${CP} ${FILESDIR}/${CFGFILE}.sample ${WRKSRC}/${CFGFILE}.sample ; \
-	${FIND} . ! -type d ! -name ${CFGFILE}.sample ! -name '*.bak' | \
+	${CP} ${FILESDIR}/${CFG_FILE}.sample ${WRKSRC}/${CFG_FILE}.sample ; \
+	${FIND} . ! -type d ! -name ${CFG_FILE}.sample ! -name '*.bak' | \
 	    ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%,"   >${PLIST} ; \
 	${CAT} ${PKGDIR}/pkg-plist-chunk	     >>${PLIST} ; \
 	${FIND} . -type d | ${SORT} -r | ${SED} \
@@ -83,9 +81,7 @@
 	    -e "s,^\.$$, at dirrmtry %%WWWDIR%%," \
 	    -e "s,^\., at dirrm %%WWWDIR%%,"	     >>${PLIST}
 
-do-install: install-app install-conf
-
-install-app:
+do-install:
 	cd ${WRKSRC} ; \
 	for src in $$( ${FIND} . ! -name .cvsignore ! -name '*.bak' ) ; do \
 	    dst=${WWWDIR}$${src#.} ; \
@@ -96,12 +92,4 @@
 	    fi \
 	done
 
-install-conf: install-app
-	cd ${WWWDIR} ; \
-	${CHMOD} 0640 ${CFGFILE}.sample ; \
-	${CHGRP} ${WWWGRP} ${CFGFILE}.sample ; \
-	if ${TEST} ! -f ${CFGFILE} ; then \
-	    ${CP} -p ${CFGFILE}.sample ${CFGFILE} ; \
-	fi
-
 .include <bsd.port.mk>

Modified: trunk/databases/phpmyadmin/distinfo
===================================================================
--- trunk/databases/phpmyadmin/distinfo	2014-10-22 01:05:15 UTC (rev 17781)
+++ trunk/databases/phpmyadmin/distinfo	2014-10-27 11:45:19 UTC (rev 17782)
@@ -1,2 +1,2 @@
-SHA256 (phpMyAdmin-4.0.10-all-languages.tar.xz) = bed06e2be2c8b2cffe36e91abc94dd85fc6327ffb1a3c496c3d1856839cc6f7d
-SIZE (phpMyAdmin-4.0.10-all-languages.tar.xz) = 4774280
+SHA256 (phpMyAdmin-4.2.10.1-all-languages.tar.xz) = e27dfe93970543a6f4332bae576feb534c80cf8d046cd0626b6a019fe6f6fd96
+SIZE (phpMyAdmin-4.2.10.1-all-languages.tar.xz) = 5211604



More information about the Midnightbsd-cvs mailing list