b12904483c
pkglint -Wall -F --only aligned --only indent -r Manually excluded phraseanet since pkglint got the indentation wrong.
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2019/11/04 22:10:11 rillig Exp $
|
|
|
|
BASERVER= 3.0.16
|
|
DISTNAME= basercms-${BASERVER}
|
|
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
|
|
CATEGORIES= www
|
|
MASTER_SITES= -https://basercms.net/packages/download/basercms/${BASERVER}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= https://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"
|