Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= openvanilla-modules |
8 |
PORTNAME= openvanilla-modules |
9 |
PORTVERSION= 0.7.1.20050902 |
9 |
PORTVERSION= 0.7.2.b20060214 |
10 |
CATEGORIES= textproc |
10 |
CATEGORIES= textproc |
11 |
MASTER_SITES= http://www.csie.org/~llwang/ \ |
11 |
MASTER_SITES= http://www.csie.org/~llwang/ \ |
12 |
http://www.infor.org/~llwang/ |
12 |
http://www.infor.org/~llwang/ |
Lines 29-43
Link Here
|
29 |
OVIMPOJ_Holo "POJ-Holo Input Module" on \ |
29 |
OVIMPOJ_Holo "POJ-Holo Input Module" on \ |
30 |
OVIMPhonetic "Phonetic Input Module" on \ |
30 |
OVIMPhonetic "Phonetic Input Module" on \ |
31 |
OVIMRoman "Roman Input Module" off \ |
31 |
OVIMRoman "Roman Input Module" off \ |
32 |
OVIMTibetan "Tibetan Input Module" on \ |
32 |
OVIMTibetan "Tibetan Input Module" off \ |
33 |
OVIMUnicode "Unicode Input Module" off |
33 |
OVIMUnicode "Unicode Input Module" off |
34 |
|
34 |
|
35 |
.include <bsd.port.pre.mk> |
35 |
MAKE_ARGS+= INSTALL_PREFIX=${PREFIX} OV_INCLUDE=${X11BASE}/include |
36 |
|
36 |
|
37 |
post-patch: |
37 |
.include <bsd.port.pre.mk> |
38 |
@${REINPLACE_CMD} -e \ |
|
|
39 |
's|LIBTOOL=.*|LIBTOOL=${LIBTOOL}|;' \ |
40 |
${WRKSRC}/Mk/ov.vars.mk |
41 |
|
38 |
|
42 |
.if !defined(WITHOUT_OVIMArray) |
39 |
.if !defined(WITHOUT_OVIMArray) |
43 |
PLIST_SUB+= OVIMArray="" |
40 |
PLIST_SUB+= OVIMArray="" |
Lines 69-75
Link Here
|
69 |
.else |
66 |
.else |
70 |
PLIST_SUB+= OVIMRoman="@comment " |
67 |
PLIST_SUB+= OVIMRoman="@comment " |
71 |
.endif |
68 |
.endif |
72 |
.if !defined(WITHOUT_OVIMTibetan) |
69 |
.if defined(WITH_OVIMTibetan) |
73 |
PLIST_SUB+= OVIMTibetan="" |
70 |
PLIST_SUB+= OVIMTibetan="" |
74 |
.else |
71 |
.else |
75 |
PLIST_SUB+= OVIMTibetan="@comment " |
72 |
PLIST_SUB+= OVIMTibetan="@comment " |
Lines 82-135
Link Here
|
82 |
|
79 |
|
83 |
do-build: |
80 |
do-build: |
84 |
.if !defined(WITHOUT_OVIMArray) |
81 |
.if !defined(WITHOUT_OVIMArray) |
85 |
@(cd ${WRKSRC}/Modules/OVIMArray; ${SETENV} ${MAKE_ENV} ${GMAKE} all) |
82 |
@(cd ${WRKSRC}/Modules/OVIMArray; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all) |
86 |
.endif |
83 |
.endif |
87 |
.if defined(WITH_OVIMBig5) |
84 |
.if defined(WITH_OVIMBig5) |
88 |
@(cd ${WRKSRC}/Modules/OVIMBig5; ${SETENV} ${MAKE_ENV} ${GMAKE} all) |
85 |
@(cd ${WRKSRC}/Modules/OVIMBig5; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all) |
89 |
.endif |
86 |
.endif |
90 |
.if !defined(WITHOUT_OVIMGeneric) |
87 |
.if !defined(WITHOUT_OVIMGeneric) |
91 |
@(cd ${WRKSRC}/Modules/OVIMGeneric; ${SETENV} ${MAKE_ENV} ${GMAKE} all) |
88 |
@(cd ${WRKSRC}/Modules/OVIMGeneric; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all) |
92 |
.endif |
89 |
.endif |
93 |
.if !defined(WITHOUT_OVIMPOJ_Holo) |
90 |
.if !defined(WITHOUT_OVIMPOJ_Holo) |
94 |
@(cd ${WRKSRC}/Modules/OVIMPOJ-Holo; ${SETENV} ${MAKE_ENV} ${GMAKE} all) |
91 |
@(cd ${WRKSRC}/Modules/OVIMPOJ-Holo; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all) |
95 |
.endif |
92 |
.endif |
96 |
.if !defined(WITHOUT_OVIMPhonetic) |
93 |
.if !defined(WITHOUT_OVIMPhonetic) |
97 |
@(cd ${WRKSRC}/Modules/OVIMPhonetic; ${SETENV} ${MAKE_ENV} ${GMAKE} all) |
94 |
@(cd ${WRKSRC}/Modules/OVIMPhonetic; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all) |
98 |
.endif |
95 |
.endif |
99 |
.if defined(WITH_OVIMRoman) |
96 |
.if defined(WITH_OVIMRoman) |
100 |
@(cd ${WRKSRC}/Modules/OVIMRoman; ${SETENV} ${MAKE_ENV} ${GMAKE} all) |
97 |
@(cd ${WRKSRC}/Modules/OVIMRoman; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all) |
101 |
.endif |
98 |
.endif |
102 |
.if !defined(WITHOUT_OVIMTibetan) |
99 |
.if defined(WITH_OVIMTibetan) |
103 |
@(cd ${WRKSRC}/Modules/OVIMTibetan; ${SETENV} ${MAKE_ENV} ${GMAKE} all) |
100 |
@(cd ${WRKSRC}/Modules/OVIMTibetan; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all) |
104 |
.endif |
101 |
.endif |
105 |
.if defined(WITH_OVIMUnicode) |
102 |
.if defined(WITH_OVIMUnicode) |
106 |
@(cd ${WRKSRC}/Modules/OVIMUnicode; ${SETENV} ${MAKE_ENV} ${GMAKE} all) |
103 |
@(cd ${WRKSRC}/Modules/OVIMUnicode; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all) |
107 |
.endif |
104 |
.endif |
108 |
|
105 |
|
109 |
do-install: |
106 |
do-install: |
110 |
.if !defined(WITHOUT_OVIMArray) |
107 |
.if !defined(WITHOUT_OVIMArray) |
111 |
@(cd ${WRKSRC}/Modules/OVIMArray; ${SETENV} ${MAKE_ENV} ${GMAKE} install) |
108 |
@(cd ${WRKSRC}/Modules/OVIMArray; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install) |
112 |
.endif |
109 |
.endif |
113 |
.if defined(WITH_OVIMBig5) |
110 |
.if defined(WITH_OVIMBig5) |
114 |
@(cd ${WRKSRC}/Modules/OVIMBig5; ${SETENV} ${MAKE_ENV} ${GMAKE} install) |
111 |
@(cd ${WRKSRC}/Modules/OVIMBig5; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install) |
115 |
.endif |
112 |
.endif |
116 |
.if !defined(WITHOUT_OVIMGeneric) |
113 |
.if !defined(WITHOUT_OVIMGeneric) |
117 |
@(cd ${WRKSRC}/Modules/OVIMGeneric; ${SETENV} ${MAKE_ENV} ${GMAKE} install) |
114 |
@(cd ${WRKSRC}/Modules/OVIMGeneric; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install) |
118 |
.endif |
115 |
.endif |
119 |
.if !defined(WITHOUT_OVIMPOJ_Holo) |
116 |
.if !defined(WITHOUT_OVIMPOJ_Holo) |
120 |
@(cd ${WRKSRC}/Modules/OVIMPOJ-Holo; ${SETENV} ${MAKE_ENV} ${GMAKE} install) |
117 |
@(cd ${WRKSRC}/Modules/OVIMPOJ-Holo; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install) |
121 |
.endif |
118 |
.endif |
122 |
.if !defined(WITHOUT_OVIMPhonetic) |
119 |
.if !defined(WITHOUT_OVIMPhonetic) |
123 |
@(cd ${WRKSRC}/Modules/OVIMPhonetic; ${SETENV} ${MAKE_ENV} ${GMAKE} install) |
120 |
@(cd ${WRKSRC}/Modules/OVIMPhonetic; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install) |
124 |
.endif |
121 |
.endif |
125 |
.if defined(WITH_OVIMRoman) |
122 |
.if defined(WITH_OVIMRoman) |
126 |
@(cd ${WRKSRC}/Modules/OVIMRoman; ${SETENV} ${MAKE_ENV} ${GMAKE} install) |
123 |
@(cd ${WRKSRC}/Modules/OVIMRoman; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install) |
127 |
.endif |
124 |
.endif |
128 |
.if !defined(WITHOUT_OVIMTibetan) |
125 |
.if defined(WITH_OVIMTibetan) |
129 |
@(cd ${WRKSRC}/Modules/OVIMTibetan; ${SETENV} ${MAKE_ENV} ${GMAKE} install) |
126 |
@(cd ${WRKSRC}/Modules/OVIMTibetan; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install) |
130 |
.endif |
127 |
.endif |
131 |
.if defined(WITH_OVIMUnicode) |
128 |
.if defined(WITH_OVIMUnicode) |
132 |
@(cd ${WRKSRC}/Modules/OVIMUnicode; ${SETENV} ${MAKE_ENV} ${GMAKE} install) |
129 |
@(cd ${WRKSRC}/Modules/OVIMUnicode; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install) |
133 |
.endif |
130 |
.endif |
134 |
|
131 |
|
135 |
.include <bsd.port.post.mk> |
132 |
.include <bsd.port.post.mk> |