aboutsummaryrefslogtreecommitdiff
path: root/www/repos-style/Makefile
blob: 30c4ec19ec1ebc8f46436681cc78fbb9de8caf95 (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
# Created by: Alexander Kriventsov
# $FreeBSD$

PORTNAME=	repos-style
PORTVERSION=	2.0
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ \
		http://mirror.amdmi3.ru/distfiles/

MAINTAINER=	avk@vl.ru
COMMENT=	Stylesheet for the Subversion index web page

BROKEN_powerpc64=	Does not build

RUN_DEPENDS=	subversion>=0:devel/subversion

USES=		zip
NO_BUILD=	YES

USE_PHP=	xml
WANT_PHP_WEB=	yes

WRKSRC=		${WRKDIR}/repos-web

SUB_LIST+=	PORTNAME=${PORTNAME}
SUB_FILES+=	pkg-message

pre-install:
# Prevent installation of .orig files by deleting them.
	@${FIND} ${WRKSRC} -name '*.orig' -delete
	${MV} ${WRKSRC}/open/log/index.php ${WRKSRC}/open/log/index.dist.php

do-install:
	@${MKDIR} ${STAGEDIR}${WWWDIR}
	@(cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR})

.include <bsd.port.mk>