aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm2/Makefile
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-22 06:52:31 +0800
committerpetef <petef@FreeBSD.org>2001-11-22 06:52:31 +0800
commit2c333564fa58f20b429fd0b5a7a9be7dc5011f88 (patch)
tree339aa579655e4ba519aa2f7c3371f59119e273d3 /x11-wm/fvwm2/Makefile
parentf1ef7bb8f11b89848200991c3a50ca66fa493549 (diff)
downloadfreebsd-ports-graphics-2c333564fa58f20b429fd0b5a7a9be7dc5011f88.tar.gz
freebsd-ports-graphics-2c333564fa58f20b429fd0b5a7a9be7dc5011f88.tar.zst
freebsd-ports-graphics-2c333564fa58f20b429fd0b5a7a9be7dc5011f88.zip
The FvwmM4 module needs gm4 to function properly.
PR: 32176 Submitted by: Tony Finch <dot@dotat.at>
Diffstat (limited to 'x11-wm/fvwm2/Makefile')
-rw-r--r--x11-wm/fvwm2/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-wm/fvwm2/Makefile b/x11-wm/fvwm2/Makefile
index a7a728a0ff2..6ec731bf428 100644
--- a/x11-wm/fvwm2/Makefile
+++ b/x11-wm/fvwm2/Makefile
@@ -15,6 +15,8 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= petef@FreeBSD.org
+RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
+
USE_GMAKE= yes
USE_GTK= yes
USE_IMLIB= yes
@@ -49,6 +51,10 @@ post-extract:
@${MKDIR} ${WRKDIR}/icons
@${TAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons
+post-patch:
+ @${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' \
+ ${WRKSRC}/modules/FvwmM4/FvwmM4.c
+
post-install:
@${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \
${PREFIX}/etc/system.fvwm2rc.dist