4944250aea
This release addresses a vulnerability that allowed Contributor-level users to improperly publish posts. From wen heping
36 lines
687 B
Makefile
36 lines
687 B
Makefile
# $OpenBSD: Makefile,v 1.32 2011/05/02 19:15:44 merdely Exp $
|
|
|
|
COMMENT = standard compliant weblog
|
|
|
|
DISTNAME = wordpress-3.1.2
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = http://wordpress.org/
|
|
MAINTAINER = Michael Erdely <merdely@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
|
|
RUN_DEPENDS = www/php5/extensions,-mysql
|
|
|
|
NO_BUILD = Yes
|
|
NO_REGRESS = Yes
|
|
PKG_ARCH = *
|
|
|
|
PREFIX = /var/www
|
|
INSTDIR = ${PREFIX}/wordpress
|
|
WRKDIST = ${WRKDIR}/wordpress
|
|
|
|
SUBST_VARS = INSTDIR
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/wordpress
|
|
cd ${WRKSRC} && pax -rw * ${PREFIX}/wordpress
|
|
|
|
.include <bsd.port.mk>
|