aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pear-Translation2/Makefile
blob: ea88a77aa61b92b9816f1884c83bba27d1e218d6 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Created by: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
# $FreeBSD$

PORTNAME=   Translation2
DISTVERSION=    2.0.4
PORTEPOCH=  1
CATEGORIES= sysutils devel pear

MAINTAINER= miwi@FreeBSD.org
COMMENT=    PEAR class for multilingual applications management

BUILD_DEPENDS=  ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS=    ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear

USE_PHP=    yes
PEAR_AUTOINSTALL=   yes

LATEST_LINK=    pear-Translation2
OPTIONS_DEFINE= PEAR_CACHE_LITE PEAR_DB PEAR_DB_DATAOBJECT PEAR_MDB PEAR_MDB2 \
        PEAR_FILE_GETTEXT PEAR_I18NV2 PEAR_XML_SERIALIZER
PEAR_CACHE_LITE_DESC=   PEAR::Cache_Lite support
PEAR_DB_DESC=   PEAR::DB support
PEAR_DB_DATAOBJECT_DESC=    PEAR::DB_DataObject support
PEAR_MDB_DESC=  PEAR::MDB support
PEAR_MDB2_DESC= PEAR::MDB2 support
PEAR_FILE_GETTEXT_DESC= PEAR::File_Gettext support
PEAR_I18NV2_DESC=   PEAR::I18Nv2 support
PEAR_XML_SERIALIZER_DESC=   PEAR::XML_Serializer support

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPEAR_CACHE_LITE}
RUN_DEPENDS+=   ${PEARDIR}/Cache/Lite.php:${PORTSDIR}/sysutils/pear-Cache_Lite
.endif

.if ${PORT_OPTIONS:MPEAR_DB}
RUN_DEPENDS+=   ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.endif

.if ${PORT_OPTIONS:MPEAR_DB_DATAOBJECT}
RUN_DEPENDS+=   ${PEARDIR}/DB/DataObject.php:${PORTSDIR}/databases/pear-DB_DataObject
.endif

.if ${PORT_OPTIONS:MPEAR_MDB}
RUN_DEPENDS+=   ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
.endif

.if ${PORT_OPTIONS:MPEAR_MDB2}
RUN_DEPENDS+=   ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
.endif

.if ${PORT_OPTIONS:MPEAR_FILE_GETTEXT}
RUN_DEPENDS+=   ${PEARDIR}/File/Gettext.php:${PORTSDIR}/sysutils/pear-File_Gettext
.endif

.if ${PORT_OPTIONS:MPEAR_I18NV2}
RUN_DEPENDS+=   ${PEARDIR}/File/I18Nv2.php:${PORTSDIR}/sysutils/pear-I18Nv2
.endif

.if ${PORT_OPTIONS:MPEAR_XML_SERIALIZER}
RUN_DEPENDS+=   ${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer
.endif

.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>