summaryrefslogtreecommitdiff
path: root/devel/rth/Makefile
blob: 66ff698bb5d050f43e3d5fb6738c80f9b41924f8 (plain)
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: Jan Siml <jsi@jules.de>
# $FreeBSD$

PORTNAME=	rth
PORTVERSION=	1.7.0
PORTREVISION=	2
CATEGORIES=	devel www
MASTER_SITES=	SF/${PORTNAME}/Release%20${PORTVERSION}/Release%20${PORTVERSION}
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Web-based requirement, test, and bugtracking system

BROKEN_powerpc64=	Does not build

USES=		zip
NO_BUILD=	yes
USE_PHP=	mysqli gd

PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_LIST=	"PKGNAME=${PKGNAME}"
SUB_FILES=	pkg-message
WANT_PHP_WEB=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

do-install:
	@${ECHO} "Installing in ${PREFIX}/www/rth"
	${MKDIR} ${STAGEDIR}${PREFIX}/www/rth
	${MV} ${WRKSRC}/api/properties_inc.php ${WRKSRC}/api/properties_inc.php.sample
	${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/www/rth

.include <bsd.port.mk>