50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2003/11/18 20:53:11 sturm Exp $
|
|
|
|
COMMENT= "qt-based window manager"
|
|
|
|
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>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
LIBDIR=${PREFIX}/lib/qlwm
|
|
DOCDIR=${PREFIX}/share/doc/qlwm
|
|
|
|
USE_X11= Yes
|
|
|
|
MODULES= qt2 gcc3
|
|
MODGCC3_ARCHES= sparc64
|
|
MODGCC3_LANGS= c++
|
|
|
|
MAKE_FLAGS=INCPATH='-I${X11BASE}/include -I${MODQT_INCDIR}' \
|
|
LFLAGS='-L${X11BASE}/lib -L${MODQT_LIBDIR} -L${LOCALBASE}/lib' \
|
|
MOC=${MODQT_MOC} \
|
|
DEST=${LIBDIR}
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
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
|
|
sed -e s,%PREFIX%,${TRUEPREFIX},g <${FILESDIR}/qlwm >${WRKBUILD}/qlwm
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/qlwm ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|