aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-12-13 08:20:44 +0800
committermiwi <miwi@FreeBSD.org>2009-12-13 08:20:44 +0800
commite920431183eeede88afeb0ac971a6f529b91a0b5 (patch)
tree4ddb7e8e3110cfa139e78d3b8d920bb935e1c8fc
parent41ca210cc6d7a80bb921b474e4377689441f9bc4 (diff)
downloadfreebsd-ports-gnome-e920431183eeede88afeb0ac971a6f529b91a0b5.tar.gz
freebsd-ports-gnome-e920431183eeede88afeb0ac971a6f529b91a0b5.tar.zst
freebsd-ports-gnome-e920431183eeede88afeb0ac971a6f529b91a0b5.zip
- Update to 1.2.2
PR: 141299 Submitted by: Ports Fury
-rw-r--r--x11-wm/lwm/Makefile20
-rw-r--r--x11-wm/lwm/distinfo6
2 files changed, 17 insertions, 9 deletions
diff --git a/x11-wm/lwm/Makefile b/x11-wm/lwm/Makefile
index 1bc6b3e5de93..a4165656df5c 100644
--- a/x11-wm/lwm/Makefile
+++ b/x11-wm/lwm/Makefile
@@ -6,22 +6,30 @@
#
PORTNAME= lwm
-PORTVERSION= 1.2.1
-PORTREVISION= 2
+PORTVERSION= 1.2.2
CATEGORIES= x11-wm
MASTER_SITES= http://www.jfc.org.uk/files/lwm/
MAINTAINER= ports@FreeBSD.org
COMMENT= A lightweight window manager
-USE_IMAKE= yes
USE_XORG= sm x11 xext
+MAKEFILE= no_xmkmf_makefile
+MAKE_ARGS= LDFLAGS="${LDFLAGS}"
-MAN1= lwm.1
+MAN1= ${PORTNAME}.1
PORTDOCS= AUTHORS BUGS ChangeLog README TODO
-PLIST_FILES= bin/lwm
+PLIST_FILES= bin/${PORTNAME}
-post-install:
+CFLAGS+= `pkg-config --cflags sm x11 xext` -DSHAPE
+LDFLAGS= `pkg-config --libs sm x11 xext`
+
+post-patch:
+ @${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
diff --git a/x11-wm/lwm/distinfo b/x11-wm/lwm/distinfo
index 1106d82c1151..9dca25b957b3 100644
--- a/x11-wm/lwm/distinfo
+++ b/x11-wm/lwm/distinfo
@@ -1,3 +1,3 @@
-MD5 (lwm-1.2.1.tar.gz) = 499b2789198e8056f829ab724ad8f541
-SHA256 (lwm-1.2.1.tar.gz) = e50538831655bb0fe41badc35477c12e6dff5becfda365bdb759f230ee0d5af2
-SIZE (lwm-1.2.1.tar.gz) = 46309
+MD5 (lwm-1.2.2.tar.gz) = 1748722a293e03d632b615275ef84498
+SHA256 (lwm-1.2.2.tar.gz) = 3567b53f5de8c0bb23a83efa94a256547fc44f677bc15b9449599aeac7aaad7d
+SIZE (lwm-1.2.2.tar.gz) = 47715