# $Id$ PNAME="alx-web" PVER="0.7.2.20190726.1" PBUILD="r4" PCAT="app-mage" DESCRIPTION="PHP based management interface for ALX using mcore-tools." HOMEPAGE="http://www.magellan-linux.de/" DEPEND=">= net-www/apache2-2.4 >= dev-php/php-apache-7.3 >= dev-php/php-mysql-7.3 >= virtual/sed >= app-admin/sudo-1.8" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" msetfeature "!check" # no check target in Makefile sminclude mbuild alx SRC_URI=( mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-0.7.2-show.php-parsearr-do-not-overwrite-d-again.patch ) UP2DATE="echo ${PVER}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # do not overwrite any predefined variables in parsearr() mpatch ${PNAME}-0.7.2-show.php-parsearr-do-not-overwrite-d-again.patch || die # use ${PVER}-${PBUILD} as version echo "${PVER}-${PBUILD}" > ${SRCDIR}/VERSION || die } preinstall() { # always keep this files even if the user edited them add_conf_prot_ignore /etc/alx-web/config.inc.php /etc/alx-web/mcore-sql-schema.conf }