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.
60 lines
2.1 KiB
Makefile
60 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.38 2006/12/27 13:37:41 joerg Exp $
|
|
|
|
DISTNAME= e16-0.16.8.4
|
|
PKGNAME= ${DISTNAME:S/e16/enlightenment/}
|
|
CATEGORIES= x11 gnome wm
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://enlightenment.org.au/
|
|
COMMENT= Highly themeable and configurable window manager
|
|
|
|
USE_TOOLS+= bison perl:run pkg-config
|
|
USE_PKGLOCALEDIR= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --enable-fsstd
|
|
CONFIGURE_ARGS+= --enable-xrandr
|
|
CONFIGURE_ARGS+= --disable-composite
|
|
CONFIGURE_ARGS+= --without-included-gettext
|
|
CONFIGURE_ARGS+= --disable-hints-gnome
|
|
CONFIGURE_ARGS+= --disable-hints-kde
|
|
MAKE_ENV+= USER=${SHAREOWN}:${SHAREGRP}
|
|
|
|
INSTALL_MAKE_FLAGS+= sesmdir=${WRKDIR}/.tmp
|
|
INSTALLATION_DIRS= etc/X11/dm/Sessions
|
|
CONF_FILES+= ${PREFIX}/share/e16/misc/e16.desktop \
|
|
${PREFIX}/etc/X11/dm/Sessions/e16.desktop
|
|
|
|
REPLACE_PERL= sample-scripts/bouncingball.pl
|
|
REPLACE_PERL+= sample-scripts/testroller.pl
|
|
REPLACE_PERL+= sample-scripts/shade-pagers.pl
|
|
REPLACE_PERL+= scripts/e_gen_menu
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= scripts/e_gen_menu
|
|
SUBST_SED.paths= -e 's,@LOCALBASE@,${LOCALBASE},g'
|
|
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
|
|
SUBST_SED.paths+= -e 's,@X11BASE@,${X11BASE},g'
|
|
|
|
post-install:
|
|
${FIND} ${PREFIX}/share/e16/themes -type d -print | \
|
|
${XARGS} ${CHMOD} ${BINMODE}
|
|
${FIND} ${PREFIX}/share/e16/themes -type f -print | \
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
|
|
|
.include "../../audio/esound/buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/imlib2/buildlink3.mk"
|
|
.include "../../x11/xbitmaps/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|