Lines 25-42
Link Here
|
25 |
PLIST= ${WRKDIR}/pkg-plist |
25 |
PLIST= ${WRKDIR}/pkg-plist |
26 |
USE_GMAKE= yes |
26 |
USE_GMAKE= yes |
27 |
USE_X_PREFIX= yes |
27 |
USE_X_PREFIX= yes |
28 |
WANT_GTK= yes |
28 |
USE_GNOMENG= yes |
|
|
29 |
WANT_GNOME= yes |
29 |
|
30 |
|
30 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.pre.mk> |
31 |
.if defined(HAVE_GTK) |
32 |
.if ${HAVE_GNOME:Mgtk12}!="" |
32 |
USE_GTK=yes |
33 |
USE_GNOME+= gtk12 |
|
|
34 |
PKGNAMESUFFIX= -gtk |
33 |
.endif |
35 |
.endif |
34 |
|
36 |
|
35 |
do-patch: |
37 |
do-patch: |
36 |
${PERL} -pi -e 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \ |
38 |
${PERL} -pi -e 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \ |
37 |
${WRKSRC}/aewm.h |
39 |
${WRKSRC}/aewm.h |
38 |
${PERL} -pi -e 's:\+make:\+gmake:g' ${WRKSRC}/Makefile |
40 |
${PERL} -pi -e 's:\+make:\+gmake:g' ${WRKSRC}/Makefile |
39 |
.if defined(HAVE_GTK) |
41 |
.if ${HAVE_GNOME:Mgtk12}!="" |
40 |
${PERL} -pi -e 's:gtk-config:${GTK_CONFIG}:g' \ |
42 |
${PERL} -pi -e 's:gtk-config:${GTK_CONFIG}:g' \ |
41 |
${WRKSRC}/clients/Makefile |
43 |
${WRKSRC}/clients/Makefile |
42 |
${PERL} -pi -e 's:/etc/X11/aewm/clientsrc:${PREFIX}/etc/clientsrc:g' \ |
44 |
${PERL} -pi -e 's:/etc/X11/aewm/clientsrc:${PREFIX}/etc/clientsrc:g' \ |
Lines 44-50
Link Here
|
44 |
.endif |
46 |
.endif |
45 |
|
47 |
|
46 |
post-build: |
48 |
post-build: |
47 |
.if defined(HAVE_GTK) |
49 |
.if ${HAVE_GNOME:Mgtk12}!="" |
48 |
cd ${WRKSRC}/clients && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} \ |
50 |
cd ${WRKSRC}/clients && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} \ |
49 |
${GTKCLIENTS} ${XAWCLIENTS} |
51 |
${GTKCLIENTS} ${XAWCLIENTS} |
50 |
.else |
52 |
.else |
Lines 57-63
Link Here
|
57 |
.for i in aewm aemenu aepanel ${XAWCLIENTS} |
59 |
.for i in aewm aemenu aepanel ${XAWCLIENTS} |
58 |
${ECHO_CMD} bin/${i} >> ${PLIST} |
60 |
${ECHO_CMD} bin/${i} >> ${PLIST} |
59 |
.endfor |
61 |
.endfor |
60 |
.if defined(HAVE_GTK) |
62 |
.if ${HAVE_GNOME:Mgtk12}!="" |
61 |
.for i in ${GTKCLIENTS} |
63 |
.for i in ${GTKCLIENTS} |
62 |
${ECHO_CMD} bin/${i} >> ${PLIST} |
64 |
${ECHO_CMD} bin/${i} >> ${PLIST} |
63 |
.endfor |
65 |
.endfor |
Lines 80-86
Link Here
|
80 |
.for i in ${XAWCLIENTS} |
82 |
.for i in ${XAWCLIENTS} |
81 |
${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin |
83 |
${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin |
82 |
.endfor |
84 |
.endfor |
83 |
.if defined(HAVE_GTK) |
85 |
.if ${HAVE_GNOME:Mgtk12}!="" |
84 |
.for i in ${GTKCLIENTS} |
86 |
.for i in ${GTKCLIENTS} |
85 |
${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin |
87 |
${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin |
86 |
.endfor |
88 |
.endfor |