aboutsummaryrefslogtreecommitdiffstats
path: root/french/pluxml-devel/Makefile
blob: 833d32ec1c61a3d97d909b2cbc33648f2d1513f9 (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
43
# New ports collection makefile for:   pluxml
# Date created:                14 December 2007
# Whom:                        Philippe Audeoud <jadawin@tuxaco.net>
# $FreeBSD$

PORTNAME=   pluxml
PORTVERSION=    3
CATEGORIES= french www
MASTER_SITES=   http://pluxml.org/download/
PKGNAMESUFFIX=  -devel
DISTNAME=   ${PORTNAME}-blog-beta${PORTVERSION}

MAINTAINER= jadawin@FreeBSD.org
COMMENT=    Small weblog in php and xml

USE_ZIP=    yes
USE_PHP=    xml pcre
WANT_PHP_WEB=   yes

WRKSRC= ${WRKDIR}/${PORTNAME}

PKGDEINSTALL=   ${WRKDIR}/pkg-deinstall
PKGMESSAGE= ${WRKDIR}/pkg-message

NO_BUILD=   yes

SUB_FILES=  pkg-message pkg-deinstall
SUB_LIST=   WWWDIR=${WWWDIR} \
        PORTNAME=${PORTNAME}
PLIST_SUB=  WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

do-install:
    ${MKDIR} ${WWWDIR}
.for  data in core images version
    ${CP} -R ${WRKSRC}/${data} ${WWWDIR}
.endfor
    ${CP} ${WRKSRC}/*.php ${WWWDIR}
    ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}

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

.include <bsd.port.mk>