f379ea06f9
3.0.1: * Fixed 54 tickets total. A break down of ticket status by component can be found in Trac (http://core.trac.wordpress.org/milestone/3.0.1). * Added unregister_nav_menu(), for child themes. 3.0: * WordPress and WordPress MU have merged, allowing the management of multiple sites (called Multisite) from one WordPress installation. * New default theme "Twenty Ten" takes full advantage of the current features of WordPress. * New Custom Menu Management feature, allows creation of custom menus combining posts, pages, categories, tags, and links for use in theme menus or widgets. * Custom Header and Custom Background APIs. * Contextual help text accessed under the Help tab of every screen in the WordPress administration. * Ability to set the admin username and password during installation. * Bulk updating of themes with an automatic maintenance mode during the process. * Support for Shortlinks. * Improved Custom Post Types and Custom Taxonomies including hierarchical (category-style) support. (Try the Custom Post Type UI or GD Custom Posts And Taxonomies Tools plugins to see the possibilities.) * A lighter admin color scheme to increase accessibility and put the focus more squarely on your content.
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2010/08/04 07:52:37 morr Exp $
|
|
|
|
DISTNAME= wordpress-${VERSION}
|
|
VERSION= 3.0.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://wordpress.org/
|
|
|
|
MAINTAINER= morr@NetBSD.org
|
|
HOMEPAGE= http://wordpress.org/
|
|
COMMENT= Blogging tool written in php
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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"
|