Lines 32-37
Link Here
|
32 |
|
32 |
|
33 |
BUILD_DEPENDS= perl:${PORTSDIR}/lang/perl5 |
33 |
BUILD_DEPENDS= perl:${PORTSDIR}/lang/perl5 |
34 |
|
34 |
|
|
|
35 |
USE_GNOMENG= yes |
36 |
|
35 |
SLAVEDIRS= editors/vim-lite |
37 |
SLAVEDIRS= editors/vim-lite |
36 |
|
38 |
|
37 |
.if defined(PACKAGE_BUILDING) && !defined(LITE) |
39 |
.if defined(PACKAGE_BUILDING) && !defined(LITE) |
Lines 98-114
Link Here
|
98 |
# for now default the GUI to the GTK+ one |
100 |
# for now default the GUI to the GTK+ one |
99 |
# will be reviewed when the GTK+ 1.{3,4} behemoth is released |
101 |
# will be reviewed when the GTK+ 1.{3,4} behemoth is released |
100 |
.if !defined(WITH_ATHENA) && !defined(WITH_GTK) && !defined(WITH_MOTIF) && !defined(WITH_GNOME) |
102 |
.if !defined(WITH_ATHENA) && !defined(WITH_GTK) && !defined(WITH_MOTIF) && !defined(WITH_GNOME) |
101 |
WITH_GTK= yes |
103 |
USE_GNOME+= gtk12 |
102 |
.endif |
104 |
.endif |
103 |
|
105 |
|
104 |
.if defined(WITH_ATHENA) |
106 |
.if defined(WITH_ATHENA) |
105 |
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=athena" ${I18N} |
107 |
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=athena" ${I18N} |
106 |
.elif defined(WITH_GTK) |
108 |
.elif defined(WITH_GTK) |
107 |
USE_GTK= yes |
109 |
USE_GNOME+= gtk12 |
108 |
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gtk --with-gtk-prefix=${X11BASE}" ${I18N} |
110 |
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gtk --with-gtk-prefix=${X11BASE}" ${I18N} |
109 |
MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt" |
111 |
MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt" |
110 |
.elif defined(WITH_GNOME) |
112 |
.elif defined(WITH_GNOME) |
111 |
USE_GNOME= yes |
113 |
USE_GNOME= gnomelibs libcapplet |
112 |
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gnome --with-gtk-prefix=${X11BASE}" ${I18N} |
114 |
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gnome --with-gtk-prefix=${X11BASE}" ${I18N} |
113 |
MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt" |
115 |
MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt" |
114 |
.elif defined(WITH_MOTIF) |
116 |
.elif defined(WITH_MOTIF) |
Lines 141-150
Link Here
|
141 |
post-install: |
143 |
post-install: |
142 |
[ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -sf vim gvim) |
144 |
[ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -sf vim gvim) |
143 |
# below needed for `vim-lite' port |
145 |
# below needed for `vim-lite' port |
144 |
${TEST} -e ${PREFIX}/bin/rgvim || (cd ${PREFIX}/bin ; ${LN} -sf vim rgvim) |
146 |
${TEST} -e ${PREFIX}/bin/rgvim || (cd ${PREFIX}/bin ; ${LN} -sf vim rgvim) |
145 |
${TEST} -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -sf vim gview) |
147 |
${TEST} -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -sf vim gview) |
146 |
${TEST} -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -sf vim rgview) |
148 |
${TEST} -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -sf vim rgview) |
147 |
${TEST} -e ${PREFIX}/bin/evim || (cd ${PREFIX}/bin ; ${LN} -sf vim evim) |
149 |
${TEST} -e ${PREFIX}/bin/evim || (cd ${PREFIX}/bin ; ${LN} -sf vim evim) |
148 |
${TEST} -e ${PREFIX}/bin/eview || (cd ${PREFIX}/bin ; ${LN} -sf vim eview) |
150 |
${TEST} -e ${PREFIX}/bin/eview || (cd ${PREFIX}/bin ; ${LN} -sf vim eview) |
149 |
${TEST} -e ${PREFIX}/bin/gvimdiff \ |
151 |
${TEST} -e ${PREFIX}/bin/gvimdiff \ |
150 |
|| (cd ${PREFIX}/bin ; ${LN} -sf vim gvimdiff) |
152 |
|| (cd ${PREFIX}/bin ; ${LN} -sf vim gvimdiff) |