openbsd-ports/www/wordpress/Makefile

40 lines
727 B
Makefile
Raw Normal View History

2011-11-16 10:56:36 -05:00
# $OpenBSD: Makefile,v 1.37 2011/11/16 15:56:38 robert Exp $
COMMENT = standard compliant weblog
2011-10-17 20:56:35 -04:00
DISTNAME = wordpress-3.2.1
CATEGORIES = www
2011-11-16 10:56:36 -05:00
REVISION = 0
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}
2011-07-08 18:52:23 -04:00
MODULES = lang/php
RUN_DEPENDS = lang/php/${MODPHP_VERSION},-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>