1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/nibbleblog/Makefile
Wen Heping 720bb6ff50 Nibbleblog it's a powerful engine for creation and manipulation of
BLOG's completely free. Very simple to install and configure. The
database used is based on XML files and this way it is not necessary
to use MySQL or similar DBMS.

WWW: http://www.nibbleblog.com/

PR:		ports/154033
Submitted by:	Marek Holienka <marekholienka@gmail.com>
Feature safe:	yes
2011-01-18 06:14:51 +00:00

46 lines
970 B
Makefile

# New ports collection makefile for: nibbleblog
# Date created: 15 January 2011
# Whom: Marek Holienka <marekholienka@gmail.com>
#
# $FreeBSD$
#
PORTNAME= nibbleblog
PORTVERSION= 3.0.2
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
OPTIONS= APACHE "Enable Apache Support" on \
LIGHTTPD "Enable Lighttpd Support" off
USE_ZIP= yes
NO_BUILD= yes
USE_PHP= session filter xml simplexml gd
PKGMESSAGE= ${MASTERDIR}/pkg-message
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
.if defined(WITH_APACHE)
USE_APACHE= 1.3+
.endif
.if defined(WITH_LIGHTTPD)
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>