diff options
author | trevor <trevor@FreeBSD.org> | 2000-12-17 12:28:59 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-12-17 12:28:59 +0800 |
commit | 0a9756ab79e9d6248a327d7b2c45360d0a040bfc (patch) | |
tree | 15027c2bc6270102a00f53467dd1c54bb60a853c | |
parent | cf510688984b92638e8f40f2abdcb6ff8523ebc4 (diff) | |
download | freebsd-ports-gnome-0a9756ab79e9d6248a327d7b2c45360d0a040bfc.tar.gz freebsd-ports-gnome-0a9756ab79e9d6248a327d7b2c45360d0a040bfc.tar.zst freebsd-ports-gnome-0a9756ab79e9d6248a327d7b2c45360d0a040bfc.zip |
new port of swm 1.2.1, a window manager for low-memory systems
which supports title bars and shading
-rw-r--r-- | x11-wm/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/swm/Makefile | 67 | ||||
-rw-r--r-- | x11-wm/swm/distinfo | 1 | ||||
-rw-r--r-- | x11-wm/swm/files/patch-Makefile | 27 | ||||
-rw-r--r-- | x11-wm/swm/pkg-comment | 1 | ||||
-rw-r--r-- | x11-wm/swm/pkg-descr | 14 |
6 files changed, 111 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 1bc4687fc93e..c7f2cfa11c9d 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -41,6 +41,7 @@ SUBDIR += sawfish SUBDIR += scwm SUBDIR += spager + SUBDIR += swm SUBDIR += toolbox SUBDIR += tvtwm SUBDIR += ude diff --git a/x11-wm/swm/Makefile b/x11-wm/swm/Makefile new file mode 100644 index 000000000000..715640798983 --- /dev/null +++ b/x11-wm/swm/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for: swm +# Date created: 2000-12-16 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= swm +PORTVERSION= 1.2.1 +CATEGORIES= x11-wm +MASTER_SITES= http://www.informatik.hu-berlin.de/~sperling/prog/ +EXTRACT_SUFX= -src.tgz + +MAINTAINER= trevor@FreeBSD.org + +BINS= swm #swmswitch +DOCDIR= share/doc/${PORTNAME} +DOCS= AUTHORS COMPILE_PARAMS COPYING ChangeLog LIESMICH README \ + README.iPaq TODO startswm swm.lsm +MAN1= swm.1 +PLIST= ${WRKDIR}/pkg-plist +SCRIPTS= startswm.default +USE_GMAKE= yes +USE_X_PREFIX= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src + +pre-install: + ${RM} -f ${PLIST} + for i in ${BINS} ${SCRIPTS}; \ + do ${ECHO} bin/$${i} >> ${PLIST}; \ + done + ${ECHO} share/swm/background.jpg >> ${PLIST} +.if !defined(NOPORTDOCS) + for i in ${DOCS}; \ + do ${ECHO} ${DOCDIR}/$${i} >> ${PLIST}; \ + done + for i in 1 2 3; \ + do ${ECHO} ${DOCDIR}/examples/.swm/button$${i} >> ${PLIST}; \ + done + ${ECHO} @dirrm ${DOCDIR}/examples/.swm >> ${PLIST} + ${ECHO} @dirrm ${DOCDIR}/examples >> ${PLIST} + ${ECHO} @dirrm ${DOCDIR} >> ${PLIST} + ${ECHO} @dirrm share/swm >> ${PLIST} +.endif + +do-install: + for i in ${BINS}; \ + do ${INSTALL_PROGRAM} ${WRKSRC}/$${i} ${PREFIX}/bin; \ + done + ${INSTALL_SCRIPT} ${WRKSRC}/${SCRIPTS} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/swm.1x ${PREFIX}/man/man1/swm.1 + ${INSTALL_MAN} ${WRKSRC}/swm-de.1x \ + ${PREFIX}/man/de_DE.ISO_8859-1/man1/swm.1x + ${MKDIR} ${PREFIX}/share/swm + ${INSTALL_DATA} ${WRKSRC}/share/swm/background.jpg \ + ${PREFIX}/share/swm/background.jpg +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/${DOCDIR} + cd ${WRKSRC} && \ + ${CHMOD} -R 755 examples && \ + pax -r -w examples ${PREFIX}/${DOCDIR} + for i in ${DOCS}; \ + do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \ + done +.endif + +.include <bsd.port.mk> diff --git a/x11-wm/swm/distinfo b/x11-wm/swm/distinfo new file mode 100644 index 000000000000..3a3e6f396fda --- /dev/null +++ b/x11-wm/swm/distinfo @@ -0,0 +1 @@ +MD5 (swm-1.2.1-src.tgz) = 1d64c9c7c3b3ddca160d3af1dd7ef0ae diff --git a/x11-wm/swm/files/patch-Makefile b/x11-wm/swm/files/patch-Makefile new file mode 100644 index 000000000000..ea86a63d0426 --- /dev/null +++ b/x11-wm/swm/files/patch-Makefile @@ -0,0 +1,27 @@ +--- Makefile.orig Thu Dec 14 01:53:57 2000 ++++ Makefile Sat Dec 16 20:13:38 2000 +@@ -4,14 +4,13 @@ + #MODCC = /skiff/local/bin/arm-linux-gcc + #LDPOSTLIB = -L/skiff/local/arm-linux/lib + #LDPOSTLIBS = -L/skiff/local/arm-linux/lib +-CC = gcc ++CC ?= gcc + + # Only for testing & devellopment + # CFLAGS = -O0 -Wall -g3 -p -H + # DEFINES = -DMAXIMIZE -DSHADE -DDRAWTITLE -DSTD_IO -DKEYS -DDEBUG + + # for modern system, but little amount of memory +-CFLAGS = -O3 -march=pentium -Wall -shared + DEFINES = -DSHADE -DDRAWTITLE -DSTD_IO -DKEYS -DMAXIMIZE + + # for very small computers... +@@ -24,7 +23,7 @@ + #LDPATH = -L$(XROOT)/lib -L/skiff/local/arm-linux/lib -L/skiff/local/lib/gcc-lib/arm-linux/2.95.2 + #INCLPATH = -I$(XROOT)/include -I/skiff/local/include -I/usr/include + +-XROOT = /usr/X11R6 ++XROOT = ${X11BASE} + INCLPATH = -I$(XROOT)/include + LDPATH = -L$(XROOT)/lib + LIBS = -lXext -lX11 diff --git a/x11-wm/swm/pkg-comment b/x11-wm/swm/pkg-comment new file mode 100644 index 000000000000..ee59ddf9dac4 --- /dev/null +++ b/x11-wm/swm/pkg-comment @@ -0,0 +1 @@ +Window manager for low-memory systems, with title bars and shading diff --git a/x11-wm/swm/pkg-descr b/x11-wm/swm/pkg-descr new file mode 100644 index 000000000000..c6b71c7126dd --- /dev/null +++ b/x11-wm/swm/pkg-descr @@ -0,0 +1,14 @@ +from the Web page: + + SWM was written for small computer systems with very little + memory and small screen sizes. It was written to speed up + working with laptops or even PDAs. You need a minimum of + about 20 kB of diskspace. It uses even less memory than + rxvt. + +The swmswitch command crashes, so it is not installed. + +WWW: http://www.informatik.hu-berlin.de/~sperling/prog/swm.html + +Trevor Johnson +trevor@FreeBSD.org |