1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11-wm/flwm/Makefile

32 lines
853 B
Makefile
Raw Normal View History

# Created by: Dima Sivachenko <dima@chg.ru>
# $FreeBSD$
PORTNAME= flwm
PORTVERSION= 1.02
2012-06-01 05:26:28 +00:00
PORTREVISION= 6
CATEGORIES= x11-wm
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= gahr@FreeBSD.org
COMMENT= The Fast Light Window Manager
2014-02-14 14:28:29 +00:00
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk-devel
USE_XORG= x11 xt
GNU_CONFIGURE= yes
2014-02-19 16:51:27 +00:00
CONFIGURE_ENV+= CXXFLAGS="-DFL_LIBRARY `${LOCALBASE}/bin/fltk-devel/fltk-config --cflags`"
2014-02-14 14:28:29 +00:00
PLIST_FILES= bin/flwm \
man/man1/flwm.1.gz
post-patch:
${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; /^main/s|^|int |g' ${WRKSRC}/${CONFIGURE_SCRIPT}
2014-02-19 16:51:27 +00:00
${REINPLACE_CMD} -e 's|^LIBS =.*|LIBS = `${LOCALBASE}/bin/fltk-devel/fltk-config --ldflags`|' ${WRKSRC}/Makefile
2014-02-14 14:28:29 +00:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flwm ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/flwm.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>