d26cf36e57
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2006/12/27 13:37:41 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= larswm-7.5.3
|
|
PKGREVISION= 1
|
|
CATEGORIES= wm x11
|
|
MASTER_SITES= http://home.earthlink.net/~lab1701/larswm/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES}
|
|
|
|
MAINTAINER= jschauma@NetBSD.org
|
|
HOMEPAGE= http://home.earthlink.net/~lab1701/larswm/
|
|
COMMENT= 9wm-like window manager
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
DOCFILES= keyboard_refcard.pdf mouse_refcard.pdf
|
|
|
|
USE_IMAKE= YES
|
|
|
|
EGDIR= ${PREFIX}/share/examples/larswm
|
|
CONF_FILES= ${EGDIR}/sample.larswmrc ${PKG_SYSCONFDIR}/larswmrc
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CPPFLAGS+= -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR:Q}\"
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= larswm.man
|
|
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/larswm
|
|
.for pdf in ${DOCFILES}
|
|
${INSTALL_DATA} ${DISTDIR}/${pdf} ${PREFIX}/share/doc/larswm
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/sample.* ${EGDIR}
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|