1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11-wm/lwm/Makefile
Martin Wilke d537c439f0 - Update to 1.2.2
PR:		141299
Submitted by:	Ports Fury
2009-12-13 00:20:44 +00:00

41 lines
916 B
Makefile

# New ports collection makefile for: lwm
# Date created: 17 March 1998
# Whom: J Han <hjh@photino.com>
#
# $FreeBSD$
#
PORTNAME= lwm
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_XORG= sm x11 xext
MAKEFILE= no_xmkmf_makefile
MAKE_ARGS= LDFLAGS="${LDFLAGS}"
MAN1= ${PORTNAME}.1
PORTDOCS= AUTHORS BUGS ChangeLog README TODO
PLIST_FILES= bin/${PORTNAME}
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}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>