View | Details | Raw Unified | Return to bug 200706
Collapse All | Expand All

(-)Makefile (-10 / +6 lines)
Lines 9-19 Link Here
9
MAINTAINER=	prudhvi-krishna-bsd@surapaneni.in
9
MAINTAINER=	prudhvi-krishna-bsd@surapaneni.in
10
COMMENT=	Entrans is an online, collaborative translation tool
10
COMMENT=	Entrans is an online, collaborative translation tool
11
11
12
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
13
14
USE_PHP=	mysql
12
USE_PHP=	mysql
15
NO_BUILD=	YES
13
NO_BUILD=	yes
16
WANT_PHP_WEB=	YES
14
NO_ARCH=	yes
15
WANT_PHP_WEB=	yes
17
ENTRANS?=	www/entrans
16
ENTRANS?=	www/entrans
18
PLIST_SUB+=	ENTRANS=${ENTRANS}
17
PLIST_SUB+=	ENTRANS=${ENTRANS}
19
PLIST=		${WRKDIR}/pkg-plist
18
PLIST=		${WRKDIR}/pkg-plist
Lines 25-40 Link Here
25
pre-install:
24
pre-install:
26
	cd ${WRKSRC} && ${FIND} -s * -type f | \
25
	cd ${WRKSRC} && ${FIND} -s * -type f | \
27
		${SED} -e 's|^|${ENTRANS}/|' > ${PLIST} \
26
		${SED} -e 's|^|${ENTRANS}/|' > ${PLIST} \
28
		&& ${FIND} -d * -type d | \
27
		&& ${FIND} -d * -type d -empty | \
29
		${SED} -e 's|^|@dirrm ${ENTRANS}/|' >> ${PLIST} \
28
		${SED} -e 's|^|@dir ${ENTRANS}/|' >> ${PLIST}
30
		&& ${ECHO_CMD} @dirrm ${ENTRANS} >> ${PLIST}
31
	if [ ! -f ${WRKSRC}/conf/database.conf.php.sample ]; then ${CP} \
29
	if [ ! -f ${WRKSRC}/conf/database.conf.php.sample ]; then ${CP} \
32
		${WRKSRC}/conf/database.conf.php.sample ${WRKSRC}/conf/database.conf.php; fi
30
		${WRKSRC}/conf/database.conf.php.sample ${WRKSRC}/conf/database.conf.php; fi
33
31
34
do-install:
32
do-install:
35
	-@${MKDIR} ${STAGEDIR}${PREFIX}/${ENTRANS}
33
	@${MKDIR} ${STAGEDIR}${PREFIX}/${ENTRANS}
36
	@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${ENTRANS}
37
	@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${ENTRANS}
38
	${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${ENTRANS}
34
	${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${ENTRANS}
39
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
35
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
40
.for i in ${PORTDOCS}
36
.for i in ${PORTDOCS}
(-)pkg-descr (-1 / +1 lines)
Lines 18-21 Link Here
18
    * Upload files as compressed archives of PO files
18
    * Upload files as compressed archives of PO files
19
    * Upload files through URLs
19
    * Upload files through URLs
20
20
21
WWW:	http://entrans.sourceforge.net
21
WWW: http://entrans.sourceforge.net/

Return to bug 200706