2013-03-05 18:07:43 +01:00
|
|
|
# Created by: Marek Holienka <marekholienka@gmail.com>
|
2011-01-18 07:14:51 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= nibbleblog
|
|
|
|
PORTVERSION= 3.0.2
|
2011-08-20 19:27:52 +02:00
|
|
|
PORTREVISION= 1
|
2011-01-18 07:14:51 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION}/
|
|
|
|
DISTNAME= nibbleblogv302
|
|
|
|
|
|
|
|
MAINTAINER= marekholienka@gmail.com
|
|
|
|
COMMENT= A lightweight blog system for general use
|
|
|
|
|
|
|
|
RUN_DEPENDS= pear:${PORTSDIR}/devel/pear
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
OPTIONS_DEFINE= APACHE LIGHTTPD
|
|
|
|
OPTIONS_DEFAULT= APACHE
|
2011-01-18 07:14:51 +01:00
|
|
|
|
2014-03-10 19:01:09 +01:00
|
|
|
USES= zip
|
2011-01-18 07:14:51 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PHP= session filter xml simplexml gd
|
|
|
|
PKGMESSAGE= ${MASTERDIR}/pkg-message
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2013-09-21 01:36:50 +02:00
|
|
|
NO_STAGE= yes
|
2011-01-18 07:14:51 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
2012-08-18 16:29:08 +02:00
|
|
|
USE_APACHE_RUN= 22+
|
2011-01-18 07:14:51 +01:00
|
|
|
.endif
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MLIGHTTPD}
|
2011-01-18 07:14:51 +01:00
|
|
|
RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${WWWDIR}
|
|
|
|
@${CP} -r ${WRKDIR}/${PORTNAME}/ ${WWWDIR}
|
|
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|