aboutsummaryrefslogtreecommitdiffstats
path: root/devel/websvn/Makefile
blob: 08f8ed9a12bdfd916e68b0276dbf4fd7526bd283 (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
# Created by: Yuan-Chung Hsiao (ychsiao@ychsiao.idv.tw)
# $FreeBSD$

PORTNAME=   websvn
PORTVERSION=    2.3.3
PORTREVISION=   1
CATEGORIES= devel www
MASTER_SITES=   http://websvn.tigris.org/files/documents/1380/49056/

MAINTAINER= ychsiao@ychsiao.org
COMMENT=    Subversion repository web frontend

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/license.txt

USES=       cpe
USE_PHP=    iconv pcre xml
NO_BUILD=   yes

WEBSVNDIR?= ${WWWDIR_REL}

SUB_FILES=  pkg-message
SUB_LIST+=  WEBSVNDIR="${WEBSVNDIR}"
PLIST_SUB+= WEBSVNDIR="${WEBSVNDIR}"

do-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/${WEBSVNDIR}
    (cd ${WRKSRC} \
        && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/${WEBSVNDIR})
    ${FIND} ${STAGEDIR}${PREFIX}/${WEBSVNDIR} -type f -exec ${CHMOD} 644 '{}' +

.include <bsd.port.mk>