35 lines
634 B
Makefile
35 lines
634 B
Makefile
# $OpenBSD: Makefile,v 1.49 2013/09/18 21:05:10 kirby Exp $
|
|
|
|
COMMENT = standard compliant weblog
|
|
|
|
DISTNAME = wordpress-3.6.1
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = http://wordpress.org/
|
|
MAINTAINER = Michael Erdely <merdely@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
|
|
MODULES = lang/php
|
|
|
|
RUN_DEPENDS = lang/php/${MODPHP_VERSION},-mysql
|
|
|
|
NO_BUILD = Yes
|
|
NO_TEST = Yes
|
|
PKG_ARCH = *
|
|
|
|
PREFIX = ${VARBASE}/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>
|