pkgsrc/www/php-basercms/Makefile
2016-10-17 19:55:49 +00:00

52 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2016/10/17 19:55:49 bsiegert Exp $
BASERVER= 3.0.9
DISTNAME= basercms-${BASERVER}
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= -http://basercms.net/packages/download/basercms/${BASERVER}
EXTRACT_SUFX= .zip
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://basercms.net/
COMMENT= Easy to use Content Management System for Japan/Japanese
LICENSE= mit
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd
WRKSRC= ${WRKDIR}/basercms
USE_LANGUAGES= # none
USE_TOOLS+= pax
NO_BUILD= yes
CHECK_INTERPRETER_SKIP+= share/basercms/app/Console/*
CHECK_INTERPRETER_SKIP+= share/basercms/lib/Cake/Console/*
BC_DIR= share/basercms
INSTALLATION_DIRS+= ${BC_DIR}
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
APACHE_USER?= www
APACHE_GROUP?= www
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
PKG_USERS_VARS= APACHE_USER
PKG_GROUPS_VARS= APACHE_GROUP
BUILD_DEFS+= APACHE_GROUP APACHE_USER
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
BC_DIR=${BC_DIR}
do-install:
cd ${WRKDIR} && ${FIND} basercms -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"