02c1c71e28
Major changes: General - Show the number of approved comments, instead of total comments, in the “At A Glance” section in the dashboard. - Site Language: Install translations on the fly on the General Settings screen. The language drop down now includes installed languages and all available translations when the filesystem is writable by WordPress. - Admin notices: There are now four types of notices: success (green), warning (orange), error (red), and info (blue). Posts - Spellchecking is enabled for the post title field on the Edit Post screen. Media - Disable multi-file uploading in iOS 7.x Safari as it prevents uploading of videos. - Allow PSDs (Photoshop documents) to be uploaded. - oEmbed: Add support for the Vine endpoint. - Display error message when Media Library upload fails. Appearance - Custom Header and Custom Background screens removed. Admin menu links now go to the Customizer. - Widgets screen now has a Manage in Customizer link at top of screen. - Themes: Make "Live Preview" the primary action and “Activate” secondary. Users - Introduce a button on the user profile screen which clears all other sessions, and on the user editing screen which clears all sessions. Accessibility - Admin menu separators are now hidden from screen readers. - Improved keyboard control of Edit Selection mode in the media manager. - Improved keyboard accessibility on Custom Header and Custom Background screen. - Improved text contrast against dark backgrounds in the admin menu and toolbar. - When switching to the Text editor, make the textarea visible to screen readers. - Use <button> instead of <a> for the Visual/Text buttons to make them focusable. - Improve the focus style for review links in the plugin info modal. - TinyMCE: -- Return focus to the editor on pressing Escape while the image toolbar is focused. -- Add a Close button to the Help modal and close it on Escape. -- Override the title on the editor iframe (read by screen reader apps), replace with the Alt+Shift+H shortcut. -- Add focus shortcuts descriptions to the Help modal. Multisite - Set the default network language on the Network Settings screen.
62 lines
1.8 KiB
Makefile
62 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.44 2015/01/02 12:40:59 morr Exp $
|
|
|
|
DISTNAME= wordpress-${VERSION}
|
|
VERSION= 4.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://wordpress.org/
|
|
|
|
MAINTAINER= morr@NetBSD.org
|
|
HOMEPAGE= http://wordpress.org/
|
|
COMMENT= Blogging tool written in php
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../lang/php/phpversion.mk"
|
|
.include "options.mk"
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/wordpress
|
|
|
|
WWW_USER?= ${APACHE_USER}
|
|
WWW_GROUP?= ${APACHE_GROUP}
|
|
|
|
PKG_GROUPS_VARS= WWW_GROUP
|
|
PKG_USERS_VARS= WWW_USER
|
|
BUILD_DEFS+= WWW_USER WWW_GROUP APACHE_USER APACHE_GROUP
|
|
EGDIR= ${PREFIX}/share/examples/wordpress
|
|
DOCDIR= ${PREFIX}/share/doc/wordpress
|
|
WPHOME= ${PREFIX}/share/wordpress
|
|
FILES_SUBST+= WPHOME=${WPHOME}
|
|
MESSAGE_SUBST+= DOCDIR=${DOCDIR}
|
|
|
|
CONF_FILES+= ${EGDIR}/wordpress.conf ${PKG_SYSCONFDIR}/wordpress.conf
|
|
CONF_FILES_PERMS+= ${EGDIR}/wp-config-sample.php ${WPHOME}/wp-config.php \
|
|
${WWW_USER} ${WWW_GROUP} 0640
|
|
OWN_DIRS_PERMS+= ${WPHOME}/wp-content/uploads \
|
|
${WWW_USER} ${WWW_GROUP} 0750
|
|
|
|
INSTALLATION_DIRS+= ${DOCDIR} ${WPHOME} ${EGDIR}
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.3:../../databases/php-mysql
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/readme.html ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/license.txt ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/wp-config-sample.php ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/wordpress.conf ${DESTDIR}${EGDIR}
|
|
|
|
${RM} ${WRKSRC}/readme.html
|
|
${RM} ${WRKSRC}/license.txt
|
|
${RM} ${WRKSRC}/wp-config-sample.php
|
|
|
|
cd ${WRKSRC} && pax -rw -pmp . ${DESTDIR}${WPHOME}
|
|
${TOUCH} ${DESTDIR}${WPHOME}/wp-content/plugins/index.html
|
|
${FIND} ${DESTDIR}${WPHOME} \
|
|
-type d -exec ${CHMOD} ${PKGDIRMODE} "{}" \;
|
|
${FIND} ${DESTDIR}${WPHOME} \
|
|
-type f -exec ${CHMOD} ${SHAREMODE} "{}" \;
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|