blob: 4b08e4a79fd193bf59e16938d4be5e8bed4e7e15 (
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
51
52
53
54
|
# $FreeBSD$
PORTNAME= rtgui
PORTVERSION= 0.2.81
CATEGORIES= net-p2p www
MASTER_SITES= GOOGLE_CODE
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Web based front end for rTorrent
BROKEN= Unfetchable (google code has gone away)
DEPRECATED= Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE= 2017-04-30
BUILD_DEPENDS+= xmlrpc-c-config:net/xmlrpc-c
USES= tar:tgz
OPTIONS_DEFINE= APACHE LIGHTTPD
OPTIONS_RADIO= HTTP
OPTIONS_RADIO_HTTP= APACHE LIGHTTPD
OPTIONS_DEFAULTS= APACHE
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE_RUN= 22+
BUILD_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_scgi.so:www/mod_scgi
.endif
.if ${PORT_OPTIONS:MLIGHTTPD}
RUN_DEPENDS+= lighttpd:www/lighttpd
.endif
USE_PHP= xmlrpc session mbstring
WANT_PHP_WEB= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's/import_request_variables("gp","r_")/extract(\$_REQUEST, EXTR_PREFIX_ALL|EXTR_REFS, "r")/' ${WRKSRC}/*.php
@${FIND} ${WRKSRC} -name "*.bak" -delete
@${FIND} ${WRKSRC} -name "*.php~" -delete
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -r ${WRKSRC}/* ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>
|