1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/x11-wm/flwm/Makefile
Pietro Cerutti dadb347f64 - Fix configure script to work with clang
- Trim Makefile header

Feature safe:	yes
2012-11-29 12:45:01 +00:00

29 lines
601 B
Makefile

# Created by: Dima Sivachenko <dima@chg.ru>
# $FreeBSD$
PORTNAME= flwm
PORTVERSION= 1.02
PORTREVISION= 6
CATEGORIES= x11-wm
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= gahr@FreeBSD.org
COMMENT= The Fast Light Window Manager
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
USE_XORG= x11 xt
GNU_CONFIGURE= yes
CFLAGS+= -DFL_LIBRARY
MAN1= flwm.1
PLIST_FILES= bin/flwm
post-patch:
${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; /^main/s|^|int |g' ${WRKSRC}/${CONFIGURE_SCRIPT}
${REINPLACE_CMD} -e 's|^LIBS =.*|LIBS = `fltk-config --ldflags`|' ${WRKSRC}/Makefile
.include <bsd.port.mk>