1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/x11-wm/lwm/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

41 lines
917 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>