1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/x11-wm/pawm/Makefile
Dmitry Marakasov fabcef5d55 - Clarify LICENSE
- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches with `make makepatch`
2015-11-17 01:00:22 +00:00

38 lines
884 B
Makefile

# Created by: trevor
# $FreeBSD$
PORTNAME= pawm
PORTVERSION= 2.3.0
PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://www.pleyades.net/pawm/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= The Puto Amo Window Manager
LICENSE= GPLv2 # only
LICENSE_FILE= ${WRKSRC}/GPL
USE_XORG= x11 xft xrandr xrender xpm
USES= cmake pkgconfig ninja tar:bzip2
CMAKE_ARGS= -DCMAKE_CONFIG_PREFIX:STRING="${PREFIX}/etc" \
-DX11_LIBRARY_DIRS:STRING="${LOCALBASE}/lib"
LDFLAGS+= -L${LOCALBASE}/lib -lXext -lXrender
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
'/"\/etc"/s|^|#| ; \
/"-O2"/s|^|#| ; \
/LINK_DIRECTORIES/s|\.|| ; \
/INSTALL/s| /etc| etc|' ${WRKSRC}/CMakeLists.txt
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for ii in AUTHORS Changelog.old INSTALL README TODO
${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>