aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/swm
diff options
context:
space:
mode:
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
# -----------------------------------------------------------------------------