mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
e5463667af
tool, equaling and even outperforming other similar tools in some aspects. Beyond the core functionality, Dotclear is designed to provide the user with the most comfortable experience. - Easy publication - Fully customizable theme - User-friendly administration - Flexible template system - Media management - Flexible template system - Media management - Choose your input method - Flexible comment system - Built-in antispam - Localization - Full Unicode support - Tags and categories - Multi-user with permissions - Multiblog - and a lot more.. WWW: http://dotclear.org/
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# New ports collection makefile for: www/dotclear
|
|
# Date created: 2008-12-28
|
|
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dotclear
|
|
PORTVERSION= 2.1.4
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://freebsd.unixfreunde.de/sources/
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= A state-of-the-art semantic personal publishing platform
|
|
|
|
NO_BUILD= yes
|
|
USE_PHP= mysql xml simplexml mbstring iconv gd
|
|
USE_MYSQL= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
SUB_FILES= pkg-message
|
|
WWWDIR?= ${PREFIX}/www/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
@${MKDIR} ${WWWDIR}
|
|
${CP} -R ${WRKSRC}/ ${WWWDIR}
|
|
${TOUCH} ${WWWDIR}/inc/config.php
|
|
@${CHOWN} ${WWWOWN} ${WWWDIR}/inc/config.php
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
create-plist:
|
|
@${FIND} -s ${WRKSRC}/${file} -not -type d \
|
|
| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
|
|
@${ECHO_CMD} '@exec touch %D/%%WWWDIR%%/inc/config.php;chown ${WWWOWN} %D/%%WWWDIR%%/inc/config.php' >> ${PLIST}
|
|
@${ECHO_CMD} '@unexec if [ ! -s %D/%%WWWDIR%%/inc/config.php ];then rm -f %D/%%WWWDIR%%/inc/config.php;fi' >> ${PLIST}
|
|
@${FIND} -ds ${WRKSRC}/${file} -type d \
|
|
| ${SED} -e 's,^${WRKSRC},@dirrm %%WWWDIR%%,' >> ${PLIST}
|
|
|
|
.include <bsd.port.post.mk>
|