diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-09-02 01:30:26 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-09-02 01:30:26 +0000 |
commit | db1f0a2d6a9b3de3b84a12a3cc28ddb829909b82 (patch) | |
tree | 0c7b88303d321fa699c4387aadd31fa2792c7d4a /x11-wm/aewm | |
parent | e02f54173aa617778d09c22881c0f1c39cd398a9 (diff) |
Deploy USE_GNOMENG infrastructure
PR: 42305
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Notes
Notes:
svn path=/head/; revision=65459
Diffstat (limited to 'x11-wm/aewm')
-rw-r--r-- | x11-wm/aewm/Makefile | 16 |
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 |