aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/swm
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-03-21 05:31:40 +0800
committertrevor <trevor@FreeBSD.org>2001-03-21 05:31:40 +0800
commit00d328b5300f8b09985ee9110e1608893cc507ff (patch)
treeb864dfd2f4875dab7b3414b8a6444a6d44b10ebe /x11-wm/swm
parentddafc5a949c85d7c44e6493d5949c2d2cbb888f9 (diff)
downloadfreebsd-ports-gnome-00d328b5300f8b09985ee9110e1608893cc507ff.tar.gz
freebsd-ports-gnome-00d328b5300f8b09985ee9110e1608893cc507ff.tar.zst
freebsd-ports-gnome-00d328b5300f8b09985ee9110e1608893cc507ff.zip
Update to 1.2.3. Install more documentation. Install swmswitch:
it can work if DISPLAY is set. Don't make PREFIX/share/swm directory.
Diffstat (limited to 'x11-wm/swm')
-rw-r--r--x11-wm/swm/Makefile15
-rw-r--r--x11-wm/swm/distinfo2
-rw-r--r--x11-wm/swm/files/patch-Makefile16
3 files changed, 17 insertions, 16 deletions
diff --git a/x11-wm/swm/Makefile b/x11-wm/swm/Makefile
index 29e4b54c3352..1028c93aa00e 100644
--- a/x11-wm/swm/Makefile
+++ b/x11-wm/swm/Makefile
@@ -6,17 +6,18 @@
#
PORTNAME= swm
-PORTVERSION= 1.2.2
+PORTVERSION= 1.2.3
CATEGORIES= x11-wm
MASTER_SITES= http://www.informatik.hu-berlin.de/~sperling/prog/
EXTRACT_SUFX= -src.tgz
MAINTAINER= trevor@FreeBSD.org
-BINS= swm swmbg #swmswitch
+BINS= swm swmbg swmswitch
DOCDIR= share/doc/${PORTNAME}
DOCS= AUTHORS COMPILE_PARAMS COPYING ChangeLog LIESMICH README \
- README.iPaq TODO startswm swm.lsm
+ README.iPaq TODO startswm swm.lsm KNOWN-BUGS swm-de.1x
+EXAMPLES= startswm.default startswm.gnome startswm.kde
MAN1= swm.1 swmbg.1
PLIST= ${WRKDIR}/pkg-plist
SCRIPTS= startswm.default
@@ -36,10 +37,12 @@ pre-install:
for i in 1 2 3; \
do ${ECHO} ${DOCDIR}/examples/.swm/button$${i} >> ${PLIST}; \
done
+ for i in ${EXAMPLES}; \
+ do ${ECHO} ${DOCDIR}/examples/$${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:
@@ -51,12 +54,14 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/swmbg.1x ${PREFIX}/man/man1/swmbg.1
# ${INSTALL_MAN} ${WRKSRC}/swm-de.1x \
# ${PREFIX}/man/de_DE.ISO_8859-1/man1/swm.1x
- ${MKDIR} ${PREFIX}/share/swm
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCDIR}
cd ${WRKSRC} && \
${CHMOD} -R 755 examples && \
pax -r -w examples ${PREFIX}/${DOCDIR}
+.for i in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}/examples/
+.endfor
for i in ${DOCS}; \
do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \
done
diff --git a/x11-wm/swm/distinfo b/x11-wm/swm/distinfo
index 37dee9bca839..e27be933e24e 100644
--- a/x11-wm/swm/distinfo
+++ b/x11-wm/swm/distinfo
@@ -1 +1 @@
-MD5 (swm-1.2.2-src.tgz) = 1519428082859f0330c0c364e887f338
+MD5 (swm-1.2.3-src.tgz) = d34168f18e723695f670253e15872e52
diff --git a/x11-wm/swm/files/patch-Makefile b/x11-wm/swm/files/patch-Makefile
index 430e0e1d010d..8afabb2a65cc 100644
--- a/x11-wm/swm/files/patch-Makefile
+++ b/x11-wm/swm/files/patch-Makefile
@@ -1,14 +1,10 @@
---- Makefile.orig Tue Jan 30 04:42:53 2001
-+++ Makefile Thu Feb 1 02:21:22 2001
-@@ -6,7 +6,6 @@
- #DEFINES = -DFAST
+--- Makefile.orig Mon Mar 19 01:54:40 2001
++++ Makefile Tue Mar 20 12:55:19 2001
+@@ -3,16 +3,15 @@
- # for modern system, but little amount of memory
--CFLAGS = -O3 -march=pentium -Wall -shared
- DEFINES = -DSHADE -DDRAWTITLE -DSTD_IO -DKEYS -DMAXIMIZE
-
- # modern system, no keyboard support desired & faster drawing
-@@ -24,12 +23,12 @@
+ # Only for testing & devellopment
+ # CFLAGS = -O0 -Wall -g3 -ggdb -p -H
+-CFLAGS = -O3 -s
# There should be nothing to edit below this line
# -----------------------------------------------------------------------------