openbsd-ports/www/wordpress/Makefile
2006-11-10 23:24:36 +00:00

39 lines
743 B
Makefile

# $OpenBSD: Makefile,v 1.7 2006/11/10 23:24:36 steven Exp $
COMMENT= "standard compliant weblog"
V= 1.5.2
DISTNAME= wordpress-${V}
PKGNAME= ${DISTNAME}p0
CATEGORIES= www
HOMEPAGE= http://wordpress.org/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.stu.edu.tw/pub/wordpress/
RUN_DEPENDS= :php5-mysql-*:www/php5/extensions,-mysql
EXTRACT_ONLY=
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/wordpress
SUBST_VARS= INSTDIR
do-install:
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/*
.include <bsd.port.mk>