This release introduces major collaboration features, developer APIs, and performance improvements. Key Changes: * Collaboration: Introduced "Notes" for block-level commenting and feedback directly in the editor. * Dashboard: Expanded Command Palette to support navigation and actions across the entire admin interface. * APIs: Added the Abilities API to standardize permissions for AI and automation workflows. * Design: Added "Fit text to container" typography option for Paragraph and Heading blocks. * Performance: Improved LCP with on-demand block styles, optimized database queries, and refined caching. * Accessibility: Fixed over 30 issues related to screen readers, focus handling, and assistive tech. * UI/UX: Enhanced visual drag-and-drop and introduce new blocks (Accordion, Terms Query) Release notes: https://wordpress.org/news/2025/12/gene/ MFH: 2025Q4
70 lines
1.8 KiB
Makefile
70 lines
1.8 KiB
Makefile
PORTNAME= wordpress
|
|
DISTVERSION= 6.9
|
|
PORTREVISION?= 0
|
|
.ifndef WORDPRESS_LANG
|
|
PORTEPOCH= 1
|
|
MASTER_SITES= https://wordpress.org/
|
|
.else
|
|
DISTVERSIONSUFFIX= -${WORDPRESS_LANG}
|
|
MASTER_SITES?= https://${WORDPRESS_LANG}.wordpress.org/
|
|
.endif
|
|
CATEGORIES+= www
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= State-of-the-art semantic personal publishing platform
|
|
WWW= ${MASTER_SITES}
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
|
|
|
RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR}
|
|
|
|
USES= cpe php:web
|
|
.if ${DISTVERSION:N*.*.*}
|
|
CPE_VERSION= ${DISTVERSION}.0
|
|
.endif
|
|
|
|
.ifdef WORDPRESS_LANG
|
|
PKGNAMESUFFIX= -${WORDPRESS_LANG}
|
|
CPE_LANG= ${WORDPRESS_LANG}
|
|
.endif
|
|
|
|
USE_PHP= curl exif fileinfo filter ftp gd mysqli tokenizer xml zip zlib
|
|
CONFLICTS_INSTALL= ??-wordpress
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
SUB_FILES= pkg-message
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
PORTDOCS= readme.html
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
pre-everything::
|
|
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
|
|
@${ECHO_CMD} ""
|
|
. if !(defined(PACKAGE_BUILDING) || defined(BATCH))
|
|
@sleep 1
|
|
. endif
|
|
|
|
pre-install:
|
|
${ECHO_CMD} '@owner www' > ${PLIST}
|
|
${ECHO_CMD} '@group www' >> ${PLIST}
|
|
cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} -e 's|^|%%WWWDIR%%/|' >> ${PLIST}
|
|
${ECHO_CMD} '@owner' >> ${PLIST}
|
|
${ECHO_CMD} '@group' >> ${PLIST}
|
|
if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
|
|
${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
|
|
|
|
do-install:
|
|
${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
|
|
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
|
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|