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.
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2006/12/27 13:37:41 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= mlvwm091
|
|
PKGNAME= mlvwm-0.9.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= wm
|
|
MASTER_SITES= http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/
|
|
COMMENT= Macintosh Like Virtual Window Manager
|
|
|
|
USE_IMAKE= yes
|
|
|
|
EGDIR= ${PREFIX}/share/examples/mlvwm
|
|
INSTALLATION_DIRS= share/doc/mlvwm share/examples/mlvwm share/mlvwm
|
|
|
|
post-install:
|
|
.for f in README CONFIGURATION
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mlvwm
|
|
.endfor
|
|
.for f in Mlvwmrc Mlvwmrc-Xterm
|
|
${INSTALL_DATA} ${WRKSRC}/sample_rc/${f} ${EGDIR}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/pixmap/*.xpm ${PREFIX}/share/mlvwm
|
|
|
|
SUBST_CLASSES+= xpm
|
|
SUBST_STAGE.xpm= post-configure
|
|
SUBST_FILES.xpm= sample_rc/Mlvwmrc
|
|
SUBST_SED.xpm= -e "s,@PREFIX@,${PREFIX},"
|
|
SUBST_MESSAGE.xpm= Fixing configuration file.
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|