openbsd-ports/www/cms-ms/Makefile
jasper 1a27da868e - update cms made simple to 1.9.4
you must do a full backup/restore when upgrading,
please have a look at doc/UPGRADE.txt.
2011-03-07 19:46:19 +00:00

40 lines
851 B
Makefile

# $OpenBSD: Makefile,v 1.8 2011/03/07 19:46:19 jasper Exp $
COMMENT= easy to use and powerfull CMS
DISTNAME= cmsmadesimple-1.9.4-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
MASTER_SITES= http://s3.amazonaws.com/cmsms/downloads/7100/
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 \
www/php${PHP_VERSION}/extensions,-gd \
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>