aboutsummaryrefslogtreecommitdiffstats
path: root/games/xvier
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-15 03:50:24 +0800
committerade <ade@FreeBSD.org>2000-10-15 03:50:24 +0800
commit4a39b937e739202fbec090ba91615b487884b5d8 (patch)
tree787ac678940baa25140239af8aa1b1a0568d37a2 /games/xvier
parent0b665dcf8f0c16995a8169b9cfaa722650a8cec1 (diff)
downloadfreebsd-ports-gnome-4a39b937e739202fbec090ba91615b487884b5d8.tar.gz
freebsd-ports-gnome-4a39b937e739202fbec090ba91615b487884b5d8.tar.zst
freebsd-ports-gnome-4a39b937e739202fbec090ba91615b487884b5d8.zip
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))