Lines 12-17
Link Here
|
12 |
|
12 |
|
13 |
MAINTAINER= trevor@FreeBSD.org |
13 |
MAINTAINER= trevor@FreeBSD.org |
14 |
|
14 |
|
|
|
15 |
ALL_TARGET= aewm |
15 |
GTKCLIENTS= aemenu-gtk aepanel-gtk |
16 |
GTKCLIENTS= aemenu-gtk aepanel-gtk |
16 |
XAWCLIENTS= set-gnome-pda \ |
17 |
XAWCLIENTS= set-gnome-pda \ |
17 |
aesession \ |
18 |
aesession \ |
Lines 27-40
Link Here
|
27 |
WANT_GTK= yes |
28 |
WANT_GTK= yes |
28 |
|
29 |
|
29 |
.include <bsd.port.pre.mk> |
30 |
.include <bsd.port.pre.mk> |
|
|
31 |
|
30 |
.if defined(HAVE_GTK) |
32 |
.if defined(HAVE_GTK) |
31 |
USE_GTK=yes |
33 |
USE_GTK=yes |
32 |
.endif |
34 |
.endif |
33 |
|
35 |
|
34 |
.if !defined(HAVE_GTK) |
|
|
35 |
ALL_TARGET= aewm |
36 |
.endif |
37 |
|
38 |
do-patch: |
36 |
do-patch: |
39 |
${PERL} -pi -e 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \ |
37 |
${PERL} -pi -e 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \ |
40 |
${WRKSRC}/aewm.h |
38 |
${WRKSRC}/aewm.h |
Lines 46-51
Link Here
|
46 |
${WRKSRC}/clients/lib/aeclients.h |
44 |
${WRKSRC}/clients/lib/aeclients.h |
47 |
.endif |
45 |
.endif |
48 |
|
46 |
|
|
|
47 |
post-build: |
48 |
.if defined(HAVE_GTK) |
49 |
@cd ${WRKSRC}/clients && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} \ |
50 |
${GTKCLIENTS} ${XAWCLIENTS} |
51 |
.else |
52 |
@cd ${WRKSRC}/clients && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} \ |
53 |
${XAWCLIENTS} |
54 |
.endif |
55 |
|
49 |
pre-install: |
56 |
pre-install: |
50 |
${RM} -f ${PLIST} |
57 |
${RM} -f ${PLIST} |
51 |
.for i in aewm aemenu aepanel ${XAWCLIENTS} |
58 |
.for i in aewm aemenu aepanel ${XAWCLIENTS} |
Lines 78-92
Link Here
|
78 |
.for i in ${GTKCLIENTS} |
85 |
.for i in ${GTKCLIENTS} |
79 |
${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin |
86 |
${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin |
80 |
.endfor |
87 |
.endfor |
81 |
.if defined(HAVE_GTK) |
88 |
${LN} -sf aemenu-gtk ${PREFIX}/bin/aemenu |
82 |
cd ${PREFIX}/bin && ${LN} -s aemenu-gtk aemenu && \ |
89 |
${LN} -sf aepanel-gtk ${PREFIX}/bin/aepanel |
83 |
${LN} -s aepanel-gtk aepanel |
|
|
84 |
.else |
90 |
.else |
85 |
cd ${PREFIX}/bin && ${LN} -s aemenu-xaw aemenu && \ |
91 |
${LN} -sf aemenu-xaw ${PREFIX}/bin/aemenu |
86 |
${LN} -s aepanel-xaw aepanel |
92 |
${LN} -sf aepanel-xaw ${PREFIX}/bin/aepanel |
87 |
.endif |
93 |
.endif |
88 |
${INSTALL_DATA} ${WRKSRC}/clients/clientsrc.sample ${EXAMPLESDIR} |
94 |
${INSTALL_DATA} ${WRKSRC}/clients/clientsrc.sample ${EXAMPLESDIR} |
89 |
.endif |
|
|
90 |
${INSTALL_DATA} ${WRKSRC}/aewmrc.sample ${EXAMPLESDIR} |
95 |
${INSTALL_DATA} ${WRKSRC}/aewmrc.sample ${EXAMPLESDIR} |
91 |
${INSTALL_DATA} ${WRKSRC}/aewmrc.sample ${PREFIX}/etc/aewmrc |
96 |
${INSTALL_DATA} ${WRKSRC}/aewmrc.sample ${PREFIX}/etc/aewmrc |
92 |
${INSTALL_DATA} ${WRKSRC}/clients/clientsrc.sample \ |
97 |
${INSTALL_DATA} ${WRKSRC}/clients/clientsrc.sample \ |