Lines 6-14
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= Translation2 |
8 |
PORTNAME= Translation2 |
9 |
PORTVERSION= 2.0.0 |
9 |
DISTVERSION= 2.0.0beta6 |
|
|
10 |
PORTEPOCH= 1 |
10 |
CATEGORIES= sysutils devel pear |
11 |
CATEGORIES= sysutils devel pear |
11 |
DISTNAME= ${PORTNAME}-${PORTVERSION}beta4 |
|
|
12 |
|
12 |
|
13 |
MAINTAINER= antonio@php.net |
13 |
MAINTAINER= antonio@php.net |
14 |
COMMENT= PEAR class for multilingual applications management |
14 |
COMMENT= PEAR class for multilingual applications management |
Lines 18-23
Link Here
|
18 |
|
18 |
|
19 |
USE_PHP= yes |
19 |
USE_PHP= yes |
20 |
|
20 |
|
|
|
21 |
LATEST_LINK= pear-Translation2 |
22 |
OPTIONS= PEAR_CACHE_LITE "PEAR::Cache_Lite support" off \ |
23 |
PEAR_DB "PEAR::DB support" off \ |
24 |
PEAR_DB_DATAOBJECT "PEAR::DB_DataObject support" off \ |
25 |
PEAR_MDB "PEAR::MDB support" off \ |
26 |
PEAR_MDB2 "PEAR::MDB2 support" off \ |
27 |
PEAR_FILE_GETTEXT "PEAR::File_Gettext support" off \ |
28 |
PEAR_I18NV2 "PEAR::I18Nv2 support" off \ |
29 |
PEAR_XML_SERIALIZER "PEAR::XML_Serializer support" off |
30 |
|
21 |
FILES= Translation2.php Translation2/Admin.php Translation2/Container.php \ |
31 |
FILES= Translation2.php Translation2/Admin.php Translation2/Container.php \ |
22 |
Translation2/Decorator.php Translation2/Admin/Decorator.php \ |
32 |
Translation2/Decorator.php Translation2/Admin/Decorator.php \ |
23 |
Translation2/Admin/Container/dataobjectsimple.php \ |
33 |
Translation2/Admin/Container/dataobjectsimple.php \ |
Lines 34-96
Link Here
|
34 |
Translation2/Decorator/CacheLiteFunction.php \ |
44 |
Translation2/Decorator/CacheLiteFunction.php \ |
35 |
Translation2/Decorator/CacheMemory.php \ |
45 |
Translation2/Decorator/CacheMemory.php \ |
36 |
Translation2/Decorator/DefaultText.php \ |
46 |
Translation2/Decorator/DefaultText.php \ |
37 |
Translation2/Decorator/Iconv.php Translation2/Decorator/Lang.php \ |
47 |
Translation2/Decorator/ErrorText.php Translation2/Decorator/Iconv.php \ |
38 |
Translation2/Decorator/SpecialChars.php \ |
48 |
Translation2/Decorator/Lang.php Translation2/Decorator/SpecialChars.php \ |
39 |
Translation2/Decorator/UTF8.php |
49 |
Translation2/Decorator/UTF8.php |
40 |
DOCS= gettext_readme.txt |
50 |
DOCS= gettext_readme.txt |
|
|
51 |
TESTS= admin_containers_tests.php admin_db_test.php admin_gettext_po_test.php \ |
52 |
admin_mdb2_test.php admin_mdb_test.php admin_xml_test.php all_tests.php \ |
53 |
containers_tests.php db_test.php dbms.php gettext_domains.ini \ |
54 |
gettext_langs.ini gettext_mo_test.php gettext_po_test.php \ |
55 |
gettext_prepare.php i18n.xml mdb2_test.php mdb_test.php readme.txt \ |
56 |
simple_include.php tests.sql translation2_admin_include.php \ |
57 |
translation2_include.php xml_test.php |
41 |
EXAMPLES= gettext_admin.php gettext_domains.ini gettext_langs.ini \ |
58 |
EXAMPLES= gettext_admin.php gettext_domains.ini gettext_langs.ini \ |
42 |
gettext_prepare.php gettext_settings.php settings.php \ |
59 |
gettext_prepare.php gettext_settings.php settings.php \ |
43 |
Translation2_example.php Translation2_example.sql \ |
60 |
Translation2_example.php Translation2_example.sql \ |
44 |
Translation2_gettext_example.php |
61 |
Translation2_gettext_example.php |
45 |
_EXAMPLESDIR= docs/examples |
62 |
_EXAMPLESDIR= docs/examples |
46 |
|
63 |
|
47 |
LATEST_LINK= pear-Translation2 |
|
|
48 |
OPTIONS= PEAR_CACHE_LITE "PEAR::Cache_Lite support" off \ |
49 |
PEAR_DB "PEAR::DB support" off \ |
50 |
PEAR_DB_DATAOBJECT "PEAR::DB_DataObject support" off \ |
51 |
PEAR_MDB "PEAR::MDB support" off \ |
52 |
PEAR_MDB2 "PEAR::MDB2 support" off \ |
53 |
PEAR_FILE_GETTEXT "PEAR::File_Gettext support" off \ |
54 |
PEAR_I18NV2 "PEAR::I18Nv2 support" off \ |
55 |
PEAR_XML_SERIALIZER "PEAR::XML_Serializer support" off |
56 |
|
57 |
.include <bsd.port.pre.mk> |
58 |
|
59 |
post-extract: |
64 |
post-extract: |
60 |
${MKDIR} ${WRKSRC}/Translation2 |
65 |
${MKDIR} ${WRKSRC}/Translation2 |
61 |
${MV} ${WRKSRC}/[A-D]* ${WRKSRC}/Translation2 |
66 |
${MV} ${WRKSRC}/[A-D]* ${WRKSRC}/Translation2 |
62 |
|
67 |
|
63 |
.if defined(WITH_PEAR_CACHE_LITE) |
68 |
.if defined(WITH_PEAR_CACHE_LITE) |
64 |
BUILD_DEPENDS+= ${PEARDIR}/Cache/Lite.php:${PORTSDIR}/sysutils/pear-Cache_Lite |
69 |
RUN_DEPENDS+= ${PEARDIR}/Cache/Lite.php:${PORTSDIR}/sysutils/pear-Cache_Lite |
65 |
.endif |
70 |
.endif |
66 |
|
71 |
|
67 |
.if defined(WITH_PEAR_DB) |
72 |
.if defined(WITH_PEAR_DB) |
68 |
BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB |
73 |
RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB |
69 |
.endif |
74 |
.endif |
70 |
|
75 |
|
71 |
.if defined(WITH_PEAR_DB_DATAOBJECT) |
76 |
.if defined(WITH_PEAR_DB_DATAOBJECT) |
72 |
BUILD_DEPENDS+= ${PEARDIR}/DB/DataObject.php:${PORTSDIR}/databases/pear-DB_DataObject |
77 |
RUN_DEPENDS+= ${PEARDIR}/DB/DataObject.php:${PORTSDIR}/databases/pear-DB_DataObject |
73 |
.endif |
78 |
.endif |
74 |
|
79 |
|
75 |
.if defined(WITH_PEAR_MDB) |
80 |
.if defined(WITH_PEAR_MDB) |
76 |
BUILD_DEPENDS+= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB |
81 |
RUN_DEPENDS+= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB |
77 |
.endif |
82 |
.endif |
78 |
|
83 |
|
79 |
.if defined(WITH_PEAR_MDB2) |
84 |
.if defined(WITH_PEAR_MDB2) |
80 |
BUILD_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2 |
85 |
RUN_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2 |
81 |
.endif |
86 |
.endif |
82 |
|
87 |
|
83 |
.if defined(WITH_PEAR_FILE_GETTEXT) |
88 |
.if defined(WITH_PEAR_FILE_GETTEXT) |
84 |
BUILD_DEPENDS+= ${PEARDIR}/File/Gettext.php:${PORTSDIR}/sysutils/pear-File_Gettext |
89 |
RUN_DEPENDS+= ${PEARDIR}/File/Gettext.php:${PORTSDIR}/sysutils/pear-File_Gettext |
85 |
.endif |
90 |
.endif |
86 |
|
91 |
|
87 |
.if defined(WITH_PEAR_I18NV2) |
92 |
.if defined(WITH_PEAR_I18NV2) |
88 |
BUILD_DEPENDS+= ${PEARDIR}/File/I18Nv2.php:${PORTSDIR}/sysutils/pear-I18Nv2 |
93 |
RUN_DEPENDS+= ${PEARDIR}/File/I18Nv2.php:${PORTSDIR}/sysutils/pear-I18Nv2 |
89 |
.endif |
94 |
.endif |
90 |
|
95 |
|
91 |
.if defined(WITH_PEAR_XML_SERIALIZER) |
96 |
.if defined(WITH_PEAR_XML_SERIALIZER) |
92 |
BUILD_DEPENDS+= ${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer |
97 |
RUN_DEPENDS+= ${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer |
93 |
.endif |
98 |
.endif |
94 |
|
99 |
|
|
|
100 |
.include <bsd.port.pre.mk> |
95 |
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" |
101 |
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" |
96 |
.include <bsd.port.post.mk> |
102 |
.include <bsd.port.post.mk> |