aboutsummaryrefslogtreecommitdiffstats
path: root/www/joomla15/Makefile
blob: 462928876709a1e51cec0498cd1fada40f0f3a47 (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
37
38
39
40
41
42
# New ports collection makefile for:    www/joomla15
# Date created:             4 march 2008
# Whom:                 Roberto Nunnari <robi@nunnisoft.ch>
#
# $FreeBSD$

PORTNAME=   joomla15
PORTVERSION=    1.5.22
CATEGORIES= www
MASTER_SITES=   http://joomlacode.org/gf/download/frsrelease/13105/57240/ \
        http://web.dti.supsi.ch/downloads/
DISTNAME=   Joomla_${PORTVERSION}-Stable-Full_Package

MAINTAINER= robi@nunnisoft.ch
COMMENT=    A dynamic web content management system (CMS)

FETCH_CMD=  fetch -Rr
USE_ZIP=    yes
NO_BUILD=   yes
USE_MYSQL=  yes
USE_PHP=    mysql pcre xml zlib session gd pdf
WANT_PHP_WEB=   yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES=  pkg-message

do-extract:
    @${MKDIR} ${WRKSRC}
    @${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC}

do-install:
    @${MKDIR} ${WWWDIR}
    @cd ${WRKSRC} && \
        ${FIND} . -type d -exec ${MKDIR} ${WWWDIR}/{} \; \
            -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
    @cd ${WRKSRC} && \
        ${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${WWWDIR}/{} \; \
            -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;

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

.include <bsd.port.mk>