openbsd-ports/www/cms-ms/Makefile

40 lines
904 B
Makefile
Raw Normal View History

2010-03-20 12:54:23 -04:00
# $OpenBSD: Makefile,v 1.4 2010/03/20 16:54:23 jasper Exp $
COMMENT= easy to use and powerfull CMS
2010-03-20 12:54:23 -04:00
DISTNAME= cmsmadesimple-1.6.6-full
PKGNAME= ${DISTNAME:S/-full//}
CATEGORIES= www
HOMEPAGE= http://www.cmsmadesimple.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-03-20 12:54:23 -04:00
MASTER_SITES= http://s3.amazonaws.com/cmsms/downloads/4470/
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
EXTRACT_ONLY=
PREFIX= /var/www
INSTDIR= ${PREFIX}/cms/
SUBST_VARS= INSTDIR
PHP_VERSION= 5
RUN_DEPENDS= ::devel/smarty \
:php${PHP_VERSION}-gd-*:www/php${PHP_VERSION}/extensions,-gd \
:php${PHP_VERSION}-mysql-*:www/php${PHP_VERSION}/extensions,-mysql
do-install:
@${INSTALL_DATA_DIR} ${INSTDIR}
@cd ${INSTDIR} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>