blob: 2eb50cec38fd7f022d6db70198caf9667973e724 (
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
46
47
48
49
50
|
# New ports collection makefile for: ja-guesswork-classic
# Date created: 10 Oct 2005
# Whom: 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= smatsui@karashi.org
COMMENT= A PHP lightweight framework
RUN_DEPENDS= ${LOCALBASE}/share/smarty/Smarty.class.php:${PORTSDIR}/www/smarty2
NO_BUILD= yes
USE_PHP= yes
WANT_PHP_WEB= yes
SUB_FILES= pkg-message
PORTDOCS= ChangeLog README LICENSE
post-extract:
@${FIND} ${WRKSRC} -name '.cvsignore' -delete
do-install:
${MKDIR} ${DATADIR}
.for DIR in lib test
${CP} -Rp ${WRKSRC}/${DIR} ${DATADIR}
${FIND} ${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.endfor
${MKDIR} ${EXAMPLESDIR}
.for DIR in examples public_html smarty
${CP} -Rp ${WRKSRC}/${DIR} ${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
.endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|