aboutsummaryrefslogtreecommitdiffstats
path: root/www/redmine/Makefile
blob: 44a23adeb82c2758f13d4fb5dcd5148e4eb84989 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    redmine
# Date created:     2009-02-24
# Whom:         Bernhard Froehlich <decke@bluelife.at>
#
# $FreeBSD$
#

PORTNAME=   redmine
PORTVERSION=    0.8.7
CATEGORIES= www
MASTER_SITES=   ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= decke@bluelife.at
COMMENT=    A flexible project management web application

USE_RUBY=   yes
USE_RUBY_FEATURES=  iconv
USE_RAKE=   yes
NO_BUILD=   yes

do-install:
    ${MKDIR} ${WWWDIR}
    (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.orig")

    ${MKDIR} ${WWWDIR}/public/plugin_assets
    ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}

.for f in files log tmp public/plugin_assets
    ${CHMOD} -R 755 ${WWWDIR}/${f}
.endfor

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>