aboutsummaryrefslogtreecommitdiffstats
path: root/www/wikindx/Makefile
blob: 489a317e22b93e271b0f4ec2db2d0195a81c0501 (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
44
# New ports collection makefile for:    wikindx
# Date created:     23 Dec 2005
# Whom:         babak@farrokhi.net
#
# $FreeBSD$
#

PORTNAME=   wikindx
PORTVERSION=    3.5
CATEGORIES= www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wikindx
DISTNAME=   ${PORTNAME}${PORTVERSION:S/./_/g}

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

USE_PHP=    session mysql

NO_BUILD=   YES
WRKSRC=     ${WRKDIR}/wikindx3
WIKINDX?=   www/wikindx
PLIST_SUB+= WIKINDX=${WIKINDX}
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_RSS UPDATEWIKINDX

do-install:
    -${MKDIR} ${PREFIX}/${WIKINDX}
    (cd ${WRKSRC} && ${CP} ${ROOTFILES} ${PREFIX}/${WIKINDX}/ )
    @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${WIKINDX}
.for i in ${ROOTDIRS}
    @(cd ${WRKSRC} && ${CP} -R ${i} ${PREFIX}/${WIKINDX}/ )
.endfor
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in ${DOCFILES}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
.endif

.include <bsd.port.mk>