2007-09-15 16:04:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2007/09/15 20:04:23 merdely Exp $
|
2001-05-06 00:41:05 -04:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= qt-based window manager
|
2000-09-26 19:59:12 -04:00
|
|
|
|
|
|
|
DISTNAME= qlwm-1.7
|
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://qlwm.get.to/
|
|
|
|
MASTER_SITES= http://www.netcologne.de/~nc-lindenal/qlwm/
|
|
|
|
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
2003-10-08 13:13:14 -04:00
|
|
|
# GPL
|
2000-09-26 19:59:12 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-19 15:18:55 -05:00
|
|
|
WANTLIB= X11 Xext c m stdc++
|
2000-09-26 19:59:12 -04:00
|
|
|
|
|
|
|
LIBDIR=${PREFIX}/lib/qlwm
|
|
|
|
DOCDIR=${PREFIX}/share/doc/qlwm
|
|
|
|
|
2001-07-09 13:10:49 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
|
2004-08-10 07:16:43 -04:00
|
|
|
MODULES= x11/qt2
|
2000-09-26 19:59:12 -04:00
|
|
|
|
2001-10-28 07:30:13 -05:00
|
|
|
MAKE_FLAGS=INCPATH='-I${X11BASE}/include -I${MODQT_INCDIR}' \
|
|
|
|
LFLAGS='-L${X11BASE}/lib -L${MODQT_LIBDIR} -L${LOCALBASE}/lib' \
|
|
|
|
MOC=${MODQT_MOC} \
|
2000-09-26 19:59:12 -04:00
|
|
|
DEST=${LIBDIR}
|
|
|
|
|
2002-10-29 14:48:57 -05:00
|
|
|
NO_REGRESS= Yes
|
2000-09-26 19:59:12 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${LIBDIR}/files ${DOCDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/src/qlwm ${LIBDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/dclock/dclock ${LIBDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/mail/biff ${LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/README ${DOCDIR}
|
|
|
|
${INSTALL_MAN} ${WRKBUILD}/qlwm.1 ${PREFIX}/man/man1
|
|
|
|
.for i in appdefaults background.xpm button_left.xpm \
|
|
|
|
button_right.xpm defaults menu.xpm menuconfig winlist.xpm
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/files/$i ${LIBDIR}/files
|
|
|
|
.endfor
|
2000-10-20 08:27:06 -04:00
|
|
|
sed -e s,%PREFIX%,${TRUEPREFIX},g <${FILESDIR}/qlwm >${WRKBUILD}/qlwm
|
2000-09-26 19:59:12 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/qlwm ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|