aboutsummaryrefslogtreecommitdiffstats
path: root/www/wikindx/Makefile
blob: 2e275bba91e0a014e62d024770bc79d0a94a6734 (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
# Created by: babak@farrokhi.net
# $FreeBSD$

PORTNAME=   wikindx
PORTVERSION=    3.8.2
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}3_8_2
DISTNAME=   ${PORTNAME}${PORTVERSION:S/./_/g}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Bibliographic and quotations/notes management system

BROKEN=     unfetchable

USE_PHP=    session mysql xml ctype

NO_BUILD=   YES
WRKSRC=     ${WRKDIR}/wikindx3
PLIST_SUB=  WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
ROOTFILES=  config.php index.php rss.php
ROOTDIRS=   attachments core docs files languages modules \
        papers styles templates update
DOCFILES=   CHANGELOG CUSTOMIZATION DISCLAIMER INSTALL \
        LICENSE README README_CMS README_RSS UPGRADE

OPTIONS_DEFINE= DOCS

do-install:
    ${MKDIR} ${STAGEDIR}${WWWDIR}
    (cd ${WRKSRC} && ${CP} ${ROOTFILES} ${STAGEDIR}${WWWDIR}/ )
.for i in ${ROOTDIRS}
    @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR}/ )
.endfor
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCFILES}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
.endfor

.include <bsd.port.mk>