freebsd-ports/x11-wm/flwm/Makefile
2014-10-08 12:56:14 +00:00

37 lines
804 B
Makefile

# Created by: Dima Sivachenko <dima@chg.ru>
# $FreeBSD$
PORTNAME= flwm
PORTVERSION= 1.14
PORTREVISION= 2
CATEGORIES= x11-wm
MAINTAINER= gahr@FreeBSD.org
COMMENT= The Fast Light Window Manager
LICENSE= GPLv2
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk-devel
USES= gmake
USE_AUTOTOOLS= autoconf
USE_XORG= x11 xt
USE_GITHUB= yes
GH_ACCOUNT= bbidulock
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= 460c8db
CXXFLAGS+= -DFL_LIBRARY -I${LOCALBASE}/include/fltk-devel
PLIST_FILES= bin/flwm \
man/man1/flwm.1.gz
post-patch:
${REINPLACE_CMD} -e 's|^LIBS =.*|LIBS = `${LOCALBASE}/bin/fltk-devel/fltk-config --ldflags`|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flwm ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/flwm.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>