summaryrefslogtreecommitdiff
path: root/games/xvier
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-10-14 19:50:24 +0000
committerAde Lovett <ade@FreeBSD.org>2000-10-14 19:50:24 +0000
commitb392501ee87f6e277af0e80407c6d72c97ff8e58 (patch)
tree4f84ac74b3fa50c649ee1e59c6bed1ef02672dc7 /games/xvier
parentFix Imakefile breakage under XFree86 4.x (diff)
Fix Imakefile breakage under XFree86 4.x
PR: 21978 Submitted by: Ports Fury
Diffstat (limited to 'games/xvier')
-rw-r--r--games/xvier/Makefile10
-rw-r--r--games/xvier/files/patch-aa17
2 files changed, 18 insertions, 9 deletions
diff --git a/games/xvier/Makefile b/games/xvier/Makefile
index 40af3ac7d450..7705183cb235 100644
--- a/games/xvier/Makefile
+++ b/games/xvier/Makefile
@@ -10,18 +10,16 @@ PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
-DISTFILES= xvier.tar.Z
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_IMAKE= yes
MAN6= xvier.6
-MANCOMPRESSED= no
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xvier ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/xvier_prog ${PREFIX}/libexec
- ${INSTALL_MAN} ${WRKSRC}/xvier.man ${PREFIX}/man/man6/xvier.6
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/xvier
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xvier
diff --git a/games/xvier/files/patch-aa b/games/xvier/files/patch-aa
index 2a9f54d5916d..7baa8783c55b 100644
--- a/games/xvier/files/patch-aa
+++ b/games/xvier/files/patch-aa
@@ -1,11 +1,22 @@
--- Imakefile.orig Wed Jul 29 09:07:09 1992
-+++ Imakefile Fri Mar 31 05:52:10 2000
-@@ -13,7 +13,7 @@
++++ Imakefile Sat Oct 14 07:10:05 2000
+@@ -13,10 +13,12 @@
#NO_GETDTABSIZE = -DNO_GETDTABSIZE
#PROGNAME = $(LIBDIR)$(PATHSEP)xvier_prog
-PROGNAME = /usr/games/lib/xvier_prog
-+PROGNAME = $(PROJECTROOT)/libexec/xvier_prog
++PROGNAME = $(LIBEXECDIR)/xvier_prog
DEFINES = $(XVIER_ASPECT) $(NO_FD_SET) $(NO_SELECT) \
$(NO_GETDTABSIZE) -DPROGNAME=\"$(PROGNAME)\"
++MANSUFFIX = 6
++
+ PROGRAMS = xvier xvier_prog
+
+ SRCS1 = xvier.c
+@@ -27,4 +29,4 @@
+ ComplexProgramTarget_1(xvier, $(XLIB), /**/)
+ NormalProgramTarget(xvier_prog, $(OBJS2), /**/, /**/, /**/)
+
+-InstallProgram(xvier_prog, $(PROGNAME))
++InstallProgram(xvier_prog, $(LIBEXECDIR))