aboutsummaryrefslogtreecommitdiff
path: root/games/xmris/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xmris/Makefile')
-rw-r--r--games/xmris/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/xmris/Makefile b/games/xmris/Makefile
index d92798e84c79..382a3753afd7 100644
--- a/games/xmris/Makefile
+++ b/games/xmris/Makefile
@@ -6,6 +6,7 @@
PORTNAME= xmris
PORTVERSION= 4.04
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games
@@ -14,11 +15,16 @@ EXTRACT_SUFX= .tgz
MAINTAINER= jmz@FreeBSD.org
-USE_GMAKE= yes
USE_IMAKE= yes
MAKE_FLAGS= XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f
-ALL_TARGET= xmris
+ALL_TARGET= xmris xmred
MAN6= xmred.6 xmris.6 xmsit.6
+USE_REINPLACE= yes
+
+post-configure:
+ cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/MANSUFFIX = 1/MANSUFFIX = 6/' \
+ -e 's/OWNER = -o games/OWNER = -g games/' \
+ -e 's/^INSTMRISFLAGS.*/INSTMRISFLAGS = \$(OWNER) -m 2555/' Makefile
post-install:
@${CHMOD} g+w ${X11BASE}/lib/X11/xmris