aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/qlwm
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-02-11 04:03:23 +0800
committerdanilo <danilo@FreeBSD.org>2014-02-11 04:03:23 +0800
commit1933d77dc7ee979f9c62f8e401f5b9f6fa0bcbca (patch)
treebb6e5cae5c3d563d32bc4550cb71c5f71eea459b /x11-wm/qlwm
parent2a50c49322d8549815bb3a6722f02f09dd6282ac (diff)
downloadfreebsd-ports-gnome-1933d77dc7ee979f9c62f8e401f5b9f6fa0bcbca.tar.gz
freebsd-ports-gnome-1933d77dc7ee979f9c62f8e401f5b9f6fa0bcbca.tar.zst
freebsd-ports-gnome-1933d77dc7ee979f9c62f8e401f5b9f6fa0bcbca.zip
- Add stage support
- Add LICENSE - Add DOCS option
Diffstat (limited to 'x11-wm/qlwm')
-rw-r--r--x11-wm/qlwm/Makefile39
1 files changed, 20 insertions, 19 deletions
diff --git a/x11-wm/qlwm/Makefile b/x11-wm/qlwm/Makefile
index 8b3df4f880ac..6aa9799e10bf 100644
--- a/x11-wm/qlwm/Makefile
+++ b/x11-wm/qlwm/Makefile
@@ -10,11 +10,14 @@ MASTER_SITES= http://www.alinden.mynetcologne.de/qlwm/
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt-based window manager
+LICENSE= GPLv2
+
MAKE_JOBS_UNSAFE= yes
USE_QT4= corelib gui moc_build qmake_build
-MAN1= qlwm.1
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= CHANGES README
PLIST_FILES= bin/qlwm \
lib/qlwm/biff \
@@ -27,33 +30,31 @@ PLIST_FILES= bin/qlwm \
lib/qlwm/files/menuconfig \
lib/qlwm/files/tiled.xpm \
lib/qlwm/files/winlist.xpm \
- lib/qlwm/qlwm
+ lib/qlwm/qlwm \
+ man/man1/qlwm.1.gz
PLIST_DIRS= lib/qlwm/files \
lib/qlwm
SUB_FILES= qlwm
-NO_STAGE= yes
post-patch:
@${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 ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/qlwm.1 ${MANPREFIX}/man/man1
- @${MKDIR} ${PREFIX}/lib/qlwm
- ${INSTALL_PROGRAM} ${WRKSRC}/dclock/dclock ${PREFIX}/lib/qlwm
- ${INSTALL_PROGRAM} ${WRKSRC}/mail/biff ${PREFIX}/lib/qlwm
- ${INSTALL_PROGRAM} ${WRKSRC}/src/qlwm ${PREFIX}/lib/qlwm
- @${MKDIR} ${PREFIX}/lib/qlwm/files
- ${INSTALL_DATA} ${WRKSRC}/files/*.xpm ${PREFIX}/lib/qlwm/files
- ${INSTALL_DATA} ${WRKSRC}/files/appdefaults ${PREFIX}/lib/qlwm/files
- ${INSTALL_DATA} ${WRKSRC}/files/defaults ${PREFIX}/lib/qlwm/files
- ${INSTALL_DATA} ${WRKSRC}/files/menuconfig ${PREFIX}/lib/qlwm/files
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${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
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>