summaryrefslogtreecommitdiffstats
path: root/japanese/guesswork-classic/Makefile
blob: 9f70d1fe0524517b3b950764d0b11cf05d4310cb (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
33
34
35
36
37
38
39
40
41
42
43
44
45
# Created by: Shinsuke Matsui (<smatsui@karashi.org>)
# $FreeBSD$

PORTNAME=	guesswork-classic
PORTVERSION=	0.0.3
PORTREVISION=	1
CATEGORIES=	japanese devel
MASTER_SITES=	http://classic.guesswork.jp/download/files/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PHP lightweight framework

BROKEN=		unfetchable
DEPRECATED=	Broken for more than 6 months
EXPIRATION_DATE=	2016-07-04

RUN_DEPENDS=	${LOCALBASE}/share/smarty/Smarty.class.php:www/smarty2

NO_BUILD=	yes
USES=		php:web

SUB_FILES=	pkg-message

PORTDOCS=	ChangeLog README LICENSE
OPTIONS_DEFINE=	DOCS

post-extract:
	@${FIND} ${WRKSRC} -name '.cvsignore' -delete

do-install:
	${MKDIR} ${STAGEDIR}${DATADIR}
.for DIR in lib test
	${CP} -Rp ${WRKSRC}/${DIR} ${STAGEDIR}${DATADIR}
	${FIND} ${STAGEDIR}${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.endfor
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for DIR in examples public_html smarty
	${CP} -Rp ${WRKSRC}/${DIR} ${STAGEDIR}${EXAMPLESDIR}
.endfor
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud