openbsd-ports/www/concrete5/Makefile
2011-09-16 12:00:05 +00:00

39 lines
777 B
Makefile

# $OpenBSD: Makefile,v 1.5 2011/09/16 12:00:06 espie Exp $
COMMENT= building material for websites
V= 5.0.0
DISTNAME= concrete${V}_2
PKGNAME= concrete5-${V}
REVISION= 2
EXTRACT_SUFX= .zip
CATEGORIES= www
HOMEPAGE= http://www.concrete5.org/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=concretecms/}
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
EXTRACT_ONLY=
PREFIX= /var/www
INSTDIR= ${PREFIX}/concrete5
SUBST_VARS= INSTDIR
MODULES= lang/php
BUILD_DEPENDS= archivers/unzip
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-mysql
do-install:
@cd ${PREFIX} && ${UNZIP} -oq ${FULLDISTDIR}/${DISTFILES}
@mv ${PREFIX}/concrete5.0.0 ${PREFIX}/concrete5
.include <bsd.port.mk>