diff options
Diffstat (limited to 'www/php-soycms/Makefile')
-rw-r--r-- | www/php-soycms/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/www/php-soycms/Makefile b/www/php-soycms/Makefile new file mode 100644 index 00000000000..976e597d7c7 --- /dev/null +++ b/www/php-soycms/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1 2012/12/13 16:07:55 ryoon Exp $ +# + +DISTNAME= soycms_1.4.0a_mysql +PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/_/-/:S/_mysql//} +CATEGORIES= www +MASTER_SITES= http://ryo-on.users.sourceforge.net/distrib/ +# http://www.soycms.net/download +EXTRACT_SUFX= .zip + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= http://www.soycms.net/ +COMMENT= Flexible and pluggable CMS +LICENSE= gnu-gpl-v2 + +DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=5.3.0:../../databases/php-pdo +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.3.0:../../databases/php-pdo_mysql +DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.3.0:../../converters/php-mbstring +DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json +DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.3.0:../../archivers/php-zip +DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.0:../../graphics/php-gd + +WRKSRC= ${WRKDIR} +USE_LANGUAGES= # none +NO_BUILD= yes + +USE_TOOLS+= pax + +SOYDIR= share/soycms +INSTALLATION_DIRS= ${SOYDIR} + +BUILD_DEFS+= APACHE_GROUP APACHE_USER +FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \ + SOYDIR=${SOYDIR} + +post-extract: +.for i in admin app common license soycms + ${FIND} ${WRKSRC}/${i} -type f | xargs ${CHMOD} -x +.endfor + +do-install: + cd ${WRKSRC} && pax -rw -pmp * \ + ${DESTDIR}${PREFIX}/${SOYDIR} + +.include "../../lang/php/phpversion.mk" +.include "../../mk/bsd.pkg.mk" |