1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/nibbleblog/Makefile
Antoine Brodin 944cd36394 - Allow staging as a regular user
- Bump portrevision has files weren't packaged with intended owner
2014-09-11 20:30:17 +00:00

40 lines
868 B
Makefile

# Created by: Marek Holienka <marekholienka@gmail.com>
# $FreeBSD$
PORTNAME= nibbleblog
PORTVERSION= 3.0.2
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION}/
DISTNAME= nibbleblogv302
MAINTAINER= marekholienka@gmail.com
COMMENT= Lightweight blog system for general use
RUN_DEPENDS= pear:${PORTSDIR}/devel/pear
OPTIONS_DEFINE= APACHE LIGHTTPD
OPTIONS_DEFAULT= APACHE
USES= zip
NO_BUILD= yes
USE_PHP= session filter xml simplexml gd
PKGMESSAGE= ${MASTERDIR}/pkg-message
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE_RUN= 22+
.endif
.if ${PORT_OPTIONS:MLIGHTTPD}
RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.endif
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -r ${WRKDIR}/${PORTNAME}/ ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>