aboutsummaryrefslogtreecommitdiff
path: root/devel/rth/Makefile
blob: f444329a1a9a86a5174c0ec8efa21fbef125dd88 (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
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
WWW=		https://sourceforge.net/projects/rth/

USES=		php:web zip
NO_BUILD=	yes
USE_PHP=	mysqli gd

PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_LIST=	"PKGNAME=${PKGNAME}"
SUB_FILES=	pkg-message
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>