summaryrefslogtreecommitdiff
path: root/games/xmris/Makefile
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2002-10-19 22:54:28 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2002-10-19 22:54:28 +0000
commit3b0787719c0e5d51ddfeeae23ec5f3090ed57846 (patch)
tree803c4824210ce41f4b53a096e0dd3d7f46ff629f /games/xmris/Makefile
parentAdd missing USE_XLIB=yes (diff)
Fix the build on -current (patch-aa)
Compile all targets in the do-build phase, fix install with XFree86-4, honor CFLAGS
Notes
Notes: svn path=/head/; revision=68389
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