blob: c8bba1fd01b58ad270dc7a5439fb79db9868dc5d (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Ports collection makefile for: horde4-translation
# Date created: THU May 26, 2011
# Whom: Beech Rintoul <beech@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= translation
PORTVERSION= 1.0.0
DISTVERSIONPREFIX=
DISTVERSIONSUFFIX=
CATEGORIES= devel www
MASTER_SITES= http://pear.horde.org/get/ \
LOCAL/beech
PKGNAMEPREFIX= horde4-
DISTNAME= Horde_Translation-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= beech@FreeBSD.org
COMMENT= Horde translation library
USE_HORDE= base
USE_GETTEXT= yes
TRNDIR= Translation
HORDIR+= ${HORBAS}${TRNDIR:S|^|/|:S|/horde||}
post-extract:
@${MKDIR} ${WRKSRC}/config && touch ${WRKSRC}/config/placeholder.dist
do-install:
@${INSTALL} -d ${HORDIR}/
@${CP} ${WRKSRC}/lib/Horde/Translation.php ${HORBAS}/
@${CP} -Rp ${WRKSRC}/lib/Horde/Translation/ ${HORDIR}/
@${ECHO_CMD} @exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} %D/${HORDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST}
@${ECHO_CMD} @exec ${CHMOD} -R o-rwx %D/${HORDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST}
@${ECHO_CMD} "@exec ${TOUCH} ${HORLOG};${CHOWN} ${WWWOWN}:${WWWGRP} ${HORLOG}" >> ${TMPPLIST}
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include "${.CURDIR}/../../www/horde4-base/bsd.horde4.mk"
.include <bsd.port.mk>
|