1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/x11-wm/flwm/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

35 lines
738 B
Makefile

# Created by: Dima Sivachenko <dima@chg.ru>
# $FreeBSD$
PORTNAME= flwm
PORTVERSION= 1.16
CATEGORIES= x11-wm
MAINTAINER= ports@FreeBSD.org
COMMENT= The Fast Light Window Manager
LICENSE= GPLv2+
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk-devel
USES= autoreconf gmake
GNU_CONFIGURE= yes
USE_XORG= x11 xt
USE_GITHUB= yes
GH_ACCOUNT= bbidulock
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>