aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/lwm/Makefile
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 /x11-wm/lwm/Makefile
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
Diffstat (limited to 'x11-wm/lwm/Makefile')
-rw-r--r--x11-wm/lwm/Makefile20
1 files changed, 14 insertions, 6 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}