openbsd-ports/www/silverstripe/Makefile
2013-03-11 11:35:43 +00:00

40 lines
750 B
Makefile

# $OpenBSD: Makefile,v 1.2 2013/03/11 11:44:49 espie Exp $
COMMENT= innovative open source CMS and framework
V= 3.0.5
DISTNAME= SilverStripe-cms-v${V}
PKGNAME= silverstripe-${V}
CATEGORIES= www
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
HOMEPAGE= http://www.silverstripe.org/
# BSD
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}/assets/releases/
TAR= ${LOCALBASE}/bin/gtar
MODULES= lang/php
BUILD_DEPENDS= archivers/gtar
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-gd \
www/xcache
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/silverstripe/
SUBST_VARS+= INSTDIR
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
cd ${WRKSRC} && tar cf - . | (cd ${INSTDIR}; tar xf -)
.include <bsd.port.mk>