aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/aewm
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-09-02 09:30:26 +0800
committerlioux <lioux@FreeBSD.org>2002-09-02 09:30:26 +0800
commit2f3818b7d277c1201084a6fbfc0030994018d162 (patch)
tree862b81bc8d76b25f3feb3c37389d729125d4e13f /x11-wm/aewm
parent7b440318c026f6439da1a9df5d1d3b95169c8a0d (diff)
downloadfreebsd-ports-gnome-2f3818b7d277c1201084a6fbfc0030994018d162.tar.gz
freebsd-ports-gnome-2f3818b7d277c1201084a6fbfc0030994018d162.tar.zst
freebsd-ports-gnome-2f3818b7d277c1201084a6fbfc0030994018d162.zip
Deploy USE_GNOMENG infrastructure
PR: 42305 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'x11-wm/aewm')
-rw-r--r--x11-wm/aewm/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/x11-wm/aewm/Makefile b/x11-wm/aewm/Makefile
index 93cb6d7e13d0..8fc9f2e0ca74 100644
--- a/x11-wm/aewm/Makefile
+++ b/x11-wm/aewm/Makefile
@@ -25,18 +25,20 @@ MAN1= aewm.1
PLIST= ${WRKDIR}/pkg-plist
USE_GMAKE= yes
USE_X_PREFIX= yes
-WANT_GTK= yes
+USE_GNOMENG= yes
+WANT_GNOME= yes
.include <bsd.port.pre.mk>
-.if defined(HAVE_GTK)
-USE_GTK=yes
+.if ${HAVE_GNOME:Mgtk12}!=""
+USE_GNOME+= gtk12
+PKGNAMESUFFIX= -gtk
.endif
do-patch:
${PERL} -pi -e 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \
${WRKSRC}/aewm.h
${PERL} -pi -e 's:\+make:\+gmake:g' ${WRKSRC}/Makefile
-.if defined(HAVE_GTK)
+.if ${HAVE_GNOME:Mgtk12}!=""
${PERL} -pi -e 's:gtk-config:${GTK_CONFIG}:g' \
${WRKSRC}/clients/Makefile
${PERL} -pi -e 's:/etc/X11/aewm/clientsrc:${PREFIX}/etc/clientsrc:g' \
@@ -44,7 +46,7 @@ do-patch:
.endif
post-build:
-.if defined(HAVE_GTK)
+.if ${HAVE_GNOME:Mgtk12}!=""
cd ${WRKSRC}/clients && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} \
${GTKCLIENTS} ${XAWCLIENTS}
.else
@@ -57,7 +59,7 @@ pre-install:
.for i in aewm aemenu aepanel ${XAWCLIENTS}
${ECHO_CMD} bin/${i} >> ${PLIST}
.endfor
-.if defined(HAVE_GTK)
+.if ${HAVE_GNOME:Mgtk12}!=""
.for i in ${GTKCLIENTS}
${ECHO_CMD} bin/${i} >> ${PLIST}
.endfor
@@ -80,7 +82,7 @@ do-install:
.for i in ${XAWCLIENTS}
${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin
.endfor
-.if defined(HAVE_GTK)
+.if ${HAVE_GNOME:Mgtk12}!=""
.for i in ${GTKCLIENTS}
${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin
.endfor