12d5c398df
* Icons no longer appear on top of all other windows after a restart. * Removed the flawed "A"ny context key binding patch from 2.4.13. * The built-in session management can handle window names, classes etc. beginning with whitespace (textedit). * The default EdgeScroll (if not specified) was incorrectly assumed to be 100 pixels instead of 100 percents. * Application provided icon windows no longer appear at 0 0 when restarting. * Modules do not crash anymore when more than 126 windows are on the desktop. * FvwmIconMan displays windows correctly that were iconified and then moved to another page.
79 lines
2.4 KiB
Makefile
79 lines
2.4 KiB
Makefile
# $NetBSD: Makefile,v 1.28 2002/12/02 08:53:01 martti Exp $
|
|
# FreeBSD Id: Makefile,v 1.12 1997/10/11 10:42:43 jkh Exp
|
|
#
|
|
|
|
DISTNAME= fvwm-${FVWM_VER}
|
|
PKGNAME= fvwm2-${FVWM_VER}
|
|
CATEGORIES= x11 wm
|
|
MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
|
|
http://www.fvwm.org/generated/icon_download/ \
|
|
ftp://ftp.hpc.uh.edu/pub/fvwm/version-2/
|
|
DISTFILES+= fvwm-${FVWM_VER}.tar.gz fvwm_icons.tgz
|
|
|
|
MAINTAINER= martti@netbsd.org
|
|
HOMEPAGE= http://www.fvwm.org/
|
|
COMMENT= Newer version of X11 Virtual window manager
|
|
|
|
DEPENDS+= xpmroot-2.*:../../x11/xpmroot
|
|
|
|
CONFLICTS= fvwm1-* fvwm>=1
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
|
FVWM_VER= 2.4.14
|
|
|
|
USE_X11BASE= YES
|
|
USE_BUILDLINK2= YES
|
|
GNU_CONFIGURE= YES
|
|
USE_GNU_READLINE= YES
|
|
|
|
PLIST_SUBST+= FVWM_VER=${FVWM_VER}
|
|
|
|
EVAL_PREFIX+= XPMDIR=xpm
|
|
CONFIGURE_ARGS+= --enable-extras --without-gnome
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/lib/X11/fvwm2
|
|
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/lib/X11
|
|
CONFIGURE_ARGS+= --with-xpm-includes=${XPMDIR}/include
|
|
CONFIGURE_ARGS+= --with-imagepath=${PREFIX}/lib/X11/fvwm2/pixmaps:${X11BASE}/include/X11/bitmaps:${X11BASE}/include/X11/pixmaps
|
|
|
|
# We don't want to have CPP from the buildlink directory
|
|
CONFIGURE_ENV+= ac_cv_path_FVWM_CPP="${CPP}"
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKDIR}/icons
|
|
${GTAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons
|
|
|
|
post-install:
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fvwm2/pixmaps
|
|
${INSTALL_DATA} \
|
|
${WRKDIR}/icons/fvwm_icons/*.xpm \
|
|
${PREFIX}/lib/X11/fvwm2/pixmaps
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fvwm2
|
|
${INSTALL_DATA} \
|
|
${WRKSRC}/sample.fvwmrc/decor_examples \
|
|
${WRKSRC}/sample.fvwmrc/system.fvwm2rc-sample-* \
|
|
${PREFIX}/lib/X11/fvwm2
|
|
${INSTALL_DATA} \
|
|
${WRKSRC}/sample.fvwmrc/system.fvwm2rc \
|
|
${PREFIX}/lib/X11/fvwm2/system.fvwm2rc.example
|
|
if [ ! -f ${PREFIX}/lib/X11/fvwm2/system.fvwm2rc ]; then \
|
|
${INSTALL_DATA} \
|
|
${PREFIX}/lib/X11/fvwm2/system.fvwm2rc.example \
|
|
${PREFIX}/lib/X11/fvwm2/system.fvwm2rc ; \
|
|
fi
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(FVWM2_USE_GTK) && ${FVWM2_USE_GTK} == "YES"
|
|
.include "../../x11/gtk/buildlink2.mk"
|
|
PLIST_SUBST+= GTK=""
|
|
.else
|
|
PLIST_SUBST+= GTK="@comment "
|
|
CONFIGURE_ARGS+= --without-gtk-prefix
|
|
.endif
|
|
|
|
.if defined(FVWM2_USE_RPLAY) && ${FVWM2_USE_RPLAY} == "YES"
|
|
.include "../../audio/rplay/buildlink2.mk"
|
|
.endif
|
|
|
|
.include "../../devel/readline/buildlink2.mk"
|
|
.include "../../graphics/xpm/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|