Fix Imakefile breakage under XFree86 4.x
PR: 21978 Submitted by: Ports Fury
This commit is contained in:
parent
fba7b30d45
commit
b392501ee8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33838
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user