1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/x11-wm/qlwm/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

51 lines
1.5 KiB
Makefile

# Created by: trevor
# $FreeBSD$
PORTNAME= qlwm
PORTVERSION= 4.3
PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= http://www.alinden.mynetcologne.de/qlwm/
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt-based window manager
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
MAKE_JOBS_UNSAFE= yes
USES= qt:4
USE_QT= corelib gui moc_build qmake_build
PORTDOCS= CHANGES README
SUB_FILES= qlwm
OPTIONS_DEFINE= DOCS
post-patch:
@${ECHO} "QMAKE_LFLAGS= -lXext -lX11" >> /${WRKSRC}/src/qlwm.pro
@${REINPLACE_CMD} -e 's|/usr/local/qlwm|${PREFIX}/lib/qlwm|g ; \
s|/usr/local/man|${MANPREFIX}/man|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/qlwm ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/qlwm.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/qlwm
${INSTALL_PROGRAM} ${WRKSRC}/dclock/dclock ${STAGEDIR}${PREFIX}/lib/qlwm
${INSTALL_PROGRAM} ${WRKSRC}/mail/biff ${STAGEDIR}${PREFIX}/lib/qlwm
${INSTALL_PROGRAM} ${WRKSRC}/src/qlwm ${STAGEDIR}${PREFIX}/lib/qlwm
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/qlwm/files
${INSTALL_DATA} ${WRKSRC}/files/*.xpm ${STAGEDIR}${PREFIX}/lib/qlwm/files
${INSTALL_DATA} ${WRKSRC}/files/appdefaults ${STAGEDIR}${PREFIX}/lib/qlwm/files
${INSTALL_DATA} ${WRKSRC}/files/defaults ${STAGEDIR}${PREFIX}/lib/qlwm/files
${INSTALL_DATA} ${WRKSRC}/files/menuconfig ${STAGEDIR}${PREFIX}/lib/qlwm/files
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>