pkgsrc/www/blur6ex/Makefile
xtraeme d41904d782 Initial import of blur6ex-0.1.198.
blur6ex is a simple, fast, and moderately feature-rich content system. It
supports a blog, a simple content system for article publishing, RSS feed
generation, CSS-based layouts (no tables at all), simple galleries for
your photos and more.
2005-02-18 07:07:43 +00:00

55 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2005/02/18 07:07:43 xtraeme Exp $
#
DISTNAME= blur6ex-0.1.198
CATEGORIES= www
MASTER_SITES= http://www.blursoft.com/releases/
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://www.blursoft.com/
COMMENT= Weblog and content framework
DEPENDS+= ap{,2}-php>=4.0.0:../../www/ap-php
DEPENDS+= php-mysql-[0-9]*:../../databases/php-mysql
DEPENDS+= mysql{,4}-server>=4.0:../../databases/mysql4-server
NO_BUILDLINK= yes
NO_CONFIGURE= yes
NO_BUILD= yes
USE_PKGINSTALL= yes
HTTPD_ROOT?= share/httpd/htdocs
PLIST_SUBST+= HTTPD_ROOT=${HTTPD_ROOT}
BUILD_DEFS+= HTTPD_ROOT
EGDIR= share/examples/${PKGBASE}
PEGDIR= ${PREFIX}/${EGDIR}
INSTALLATION_DIRS= ${HTTPD_ROOT}/blog share/doc/${PKGBASE} \
share/examples/${PKGBASE}
PKG_SYSCONFDIR.blur6exdb= ${PREFIX}/${HTTPD_ROOT}/blog/engine/core
PKG_SYSCONFDIR.blur6ex= ${PREFIX}/${HTTPD_ROOT}/blog
MESSAGE_SUBST+= PKG_SYSCONFDIR.blur6exdb=${PKG_SYSCONFDIR.blur6exdb}
MESSAGE_SUBST+= PKG_SYSCONFDIR.blur6ex=${PKG_SYSCONFDIR.blur6ex}
CONF_FILES= ${PEGDIR}/db.php ${PKG_SYSCONFDIR.blur6exdb}/db.php
CONF_FILES+= ${PEGDIR}/index.php ${PKG_SYSCONFDIR.blur6ex}/index.php
pre-install:
${INSTALL_DATA} ${WRKSRC}/engine/core/db.php ${PEGDIR}
${INSTALL_DATA} ${WRKSRC}/index.php ${PEGDIR}
do-install:
${INSTALL_DATA} \
${WRKSRC}/install/INSTALL.txt \
${WRKSRC}/install/blur6ex_tables.sql \
${PREFIX}/share/doc/${PKGBASE}
cd ${WRKSRC} && ${PAX} -rwppm '-s|.*/install.*$$||' \
'-s|./index.php$$||' \
'-s|./engine/core/db.php$$||' . \
${PREFIX}/${HTTPD_ROOT}/blog
.include "../../mk/bsd.pkg.mk"