mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix non-GTK installation.
PR: 36897 Submitted by: KATO Tsuguru
This commit is contained in:
parent
3b500a1b9a
commit
e8624e6bdd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59449
@ -12,8 +12,7 @@ MASTER_SITES= http://www.red-bean.com/~decklin/aewm/
|
||||
|
||||
MAINTAINER= trevor@FreeBSD.org
|
||||
|
||||
BROKEN= "Does not install correctly"
|
||||
|
||||
ALL_TARGET= aewm
|
||||
GTKCLIENTS= aemenu-gtk aepanel-gtk
|
||||
XAWCLIENTS= set-gnome-pda \
|
||||
aesession \
|
||||
@ -33,10 +32,6 @@ WANT_GTK= yes
|
||||
USE_GTK=yes
|
||||
.endif
|
||||
|
||||
.if !defined(HAVE_GTK)
|
||||
ALL_TARGET= aewm
|
||||
.endif
|
||||
|
||||
do-patch:
|
||||
${PERL} -pi -e 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \
|
||||
${WRKSRC}/aewm.h
|
||||
@ -48,6 +43,15 @@ do-patch:
|
||||
${WRKSRC}/clients/lib/aeclients.h
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
.if defined(HAVE_GTK)
|
||||
cd ${WRKSRC}/clients && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} \
|
||||
${GTKCLIENTS} ${XAWCLIENTS}
|
||||
.else
|
||||
cd ${WRKSRC}/clients && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} \
|
||||
${XAWCLIENTS}
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
${RM} -f ${PLIST}
|
||||
.for i in aewm aemenu aepanel ${XAWCLIENTS}
|
||||
@ -80,7 +84,6 @@ do-install:
|
||||
.for i in ${GTKCLIENTS}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin
|
||||
.endfor
|
||||
.if defined(HAVE_GTK)
|
||||
cd ${PREFIX}/bin && ${LN} -s aemenu-gtk aemenu && \
|
||||
${LN} -s aepanel-gtk aepanel
|
||||
.else
|
||||
@ -88,7 +91,6 @@ do-install:
|
||||
${LN} -s aepanel-xaw aepanel
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/clients/clientsrc.sample ${EXAMPLESDIR}
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/aewmrc.sample ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/aewmrc.sample ${PREFIX}/etc/aewmrc
|
||||
${INSTALL_DATA} ${WRKSRC}/clients/clientsrc.sample \
|
||||
|
Loading…
Reference in New Issue
Block a user