diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2002-03-16 21:50:52 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2002-03-16 21:50:52 +0000 |
commit | be7bf1ed08ef50404d281fbbccef7546bc76e3b9 (patch) | |
tree | 586922f91e2f10f9970820bcdddde5917a8e232f /x11-wm | |
parent | 73663a1324b8964c6adf3c1db32c034e65602b8e (diff) | |
download | ports-be7bf1ed08ef50404d281fbbccef7546bc76e3b9.tar.gz ports-be7bf1ed08ef50404d281fbbccef7546bc76e3b9.zip |
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/aewm/Makefile | 84 | ||||
-rw-r--r-- | x11-wm/aewm/distinfo | 2 | ||||
-rw-r--r-- | x11-wm/aewm/files/patch-Makefile | 17 | ||||
-rw-r--r-- | x11-wm/aewm/pkg-descr | 5 |
4 files changed, 78 insertions, 30 deletions
diff --git a/x11-wm/aewm/Makefile b/x11-wm/aewm/Makefile index b1f63d46da61..086d8c2db7af 100644 --- a/x11-wm/aewm/Makefile +++ b/x11-wm/aewm/Makefile @@ -6,37 +6,97 @@ # PORTNAME= aewm -PORTVERSION= 1.1.2 +PORTVERSION= 1.2.0 CATEGORIES= x11-wm MASTER_SITES= http://www.red-bean.com/~decklin/aewm/ MAINTAINER= trevor@FreeBSD.org -BINS= aewm +GTKCLIENTS= aemenu-gtk aepanel-gtk +XAWCLIENTS= set-gnome-pda \ + aesession \ + aemenu-xaw \ + aepanel-xaw DOCDIR= share/doc/${PORTNAME} -DOCS= Changelog README TODO +DOCS= ChangeLog README TODO DESIGN LICENSE +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" XROOT="${X11BASE}" MAN1= aewm.1 PLIST= ${WRKDIR}/pkg-plist USE_GMAKE= yes USE_X_PREFIX= yes +WANT_GTK= yes + +.include <bsd.port.pre.mk> +.if defined(HAVE_GTK) +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 + ${PERL} -pi -e 's:\+make:\+gmake:g' ${WRKSRC}/Makefile +.if defined(HAVE_GTK) + ${PERL} -pi -e 's:gtk-config:${GTK_CONFIG}:g' \ + ${WRKSRC}/clients/Makefile + ${PERL} -pi -e 's:/etc/X11/aewm/clientsrc:${PREFIX}/etc/clientsrc:g' \ + ${WRKSRC}/clients/lib/aeclients.h +.endif pre-install: - ${ECHO_CMD} bin/aewm > ${PLIST} + ${RM} -f ${PLIST} +.for i in aewm aemenu aepanel ${XAWCLIENTS} + ${ECHO_CMD} bin/${i} >> ${PLIST} +.endfor +.if defined(HAVE_GTK) +.for i in ${GTKCLIENTS} + ${ECHO_CMD} bin/${i} >> ${PLIST} +.endfor +.endif + ${ECHO_CMD} share/examples/aewm/aewmrc.sample >> ${PLIST} + ${ECHO_CMD} share/examples/aewm/clientsrc.sample >> ${PLIST} + ${ECHO_CMD} etc/aewmrc >> ${PLIST} + ${ECHO_CMD} etc/clientsrc >> ${PLIST} .if !defined(NOPORTDOCS) - for i in ${DOCS}; \ - do ${ECHO_CMD} ${DOCDIR}/$${i} >> ${PLIST}; \ - done +.for i in ${DOCS} + ${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST} +.endfor ${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST} .endif + ${ECHO_CMD} @dirrm share/examples/aewm >> ${PLIST} do-install: + ${MKDIR} ${EXAMPLESDIR} ${INSTALL_PROGRAM} ${WRKSRC}/aewm ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/aewm.1x ${PREFIX}/man/man1/aewm.1 +.for i in ${XAWCLIENTS} + ${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin +.endfor +.if defined(HAVE_GTK) +.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 + cd ${PREFIX}/bin && ${LN} -s aemenu-xaw aemenu && \ + ${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 \ + ${PREFIX}/etc/clientsrc + ${INSTALL_MAN} ${WRKSRC}/aewm.1x ${MANPREFIX}/man/man1/aewm.1 .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/${DOCDIR} - for i in ${DOCS}; \ - do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \ - done +.for i in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR} +.endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-wm/aewm/distinfo b/x11-wm/aewm/distinfo index 71517f4166b4..63cd9f6906f2 100644 --- a/x11-wm/aewm/distinfo +++ b/x11-wm/aewm/distinfo @@ -1 +1 @@ -MD5 (aewm-1.1.2.tar.gz) = 3eca52e76888f768b96d17dcb84b57cc +MD5 (aewm-1.2.0.tar.gz) = 613a22ef5e4c00a4821641d0d92492b2 diff --git a/x11-wm/aewm/files/patch-Makefile b/x11-wm/aewm/files/patch-Makefile deleted file mode 100644 index acee185d3531..000000000000 --- a/x11-wm/aewm/files/patch-Makefile +++ /dev/null @@ -1,17 +0,0 @@ ---- Makefile.orig Mon Jan 1 21:43:57 2001 -+++ Makefile Sun Jan 7 13:40:03 2001 -@@ -25,12 +25,11 @@ - - # This should be set to the location of the X installation you want to - # compile against. --XROOT = /usr/X11R6 -+XROOT = $(X11BASE) - - # -------------------------------------------------------------------- - --CC = gcc --CFLAGS = -g -O2 -Wall -+CC ?= gcc - - BINDIR = $(DESTDIR)$(XROOT)/bin - MANDIR = $(DESTDIR)$(XROOT)/man/man1 diff --git a/x11-wm/aewm/pkg-descr b/x11-wm/aewm/pkg-descr index 50074755dd91..93eb32ad5f8d 100644 --- a/x11-wm/aewm/pkg-descr +++ b/x11-wm/aewm/pkg-descr @@ -3,6 +3,11 @@ It provides titlebars, and allows raising, lowering, resizing, and hiding (but not un-hiding) windows. Placement of new windows depends on the position of the pointer. It is partly based on 9wm. +This port installs not only the window manager, but also the aemenu +and aepanel applets. These provide a list of windows by title +(vertically for aemenu, horizontally for aepanel) and a menu from +which programs may be run. + WWW: http://www.red-bean.com/~decklin/aewm/ Trevor Johnson |