summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorreed <reed>2005-09-19 16:37:26 +0000
committerreed <reed>2005-09-19 16:37:26 +0000
commitaaf0733b21c65a55034fb7f0690c1dcde4c689e2 (patch)
tree10955138d3f2388debf02da3e0578a6de6d8ecd7 /games
parent8c6a99f0d3d2817e1d82b6ca294d534070f9921c (diff)
downloadpkgsrc-aaf0733b21c65a55034fb7f0690c1dcde4c689e2.tar.gz
Use do-install target to install the three files.
On different operating systems, the man page was installed to different places. Bump PKGREVISION since man page now might be in a new place. Simplify patch since now all changes are needed now.
Diffstat (limited to 'games')
-rw-r--r--games/xvier/Makefile11
-rw-r--r--games/xvier/PLIST4
-rw-r--r--games/xvier/distinfo4
-rw-r--r--games/xvier/patches/patch-aa19
4 files changed, 17 insertions, 21 deletions
diff --git a/games/xvier/Makefile b/games/xvier/Makefile
index 67b3327ca0f..b4cf1bc33a1 100644
--- a/games/xvier/Makefile
+++ b/games/xvier/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2005/09/18 16:31:56 hira Exp $
+# $NetBSD: Makefile,v 1.10 2005/09/19 16:37:26 reed Exp $
DISTNAME= xvier
PKGNAME= xvier-1.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE:=games/strategy/}
EXTRACT_SUFX= .tar.Z
@@ -14,4 +14,11 @@ COMMENT= Four-in-a-row game
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_IMAKE= YES
+INSTALLATION_DIRS+= bin libexec man/man6
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xvier ${PREFIX}/bin/xvier
+ ${INSTALL_PROGRAM} ${WRKSRC}/xvier_prog ${PREFIX}/libexec/xvier_prog
+ ${INSTALL_MAN} ${WRKSRC}/xvier._man ${PREFIX}/man/man6/xvier.6
+
.include "../../mk/bsd.pkg.mk"
diff --git a/games/xvier/PLIST b/games/xvier/PLIST
index 2912bf9c3ca..71784d06c12 100644
--- a/games/xvier/PLIST
+++ b/games/xvier/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2005/09/18 16:31:56 hira Exp $
+@comment $NetBSD: PLIST,v 1.5 2005/09/19 16:37:26 reed Exp $
bin/xvier
-${IMAKE_MAN_SOURCE_PATH}6/xvier.${IMAKE_MANNEWSUFFIX}
libexec/xvier_prog
+man/man6/xvier.6
diff --git a/games/xvier/distinfo b/games/xvier/distinfo
index d4582c173a1..0d2a34a0096 100644
--- a/games/xvier/distinfo
+++ b/games/xvier/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 23:12:05 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/09/19 16:37:26 reed Exp $
SHA1 (xvier.tar.Z) = d508d32610679d8c53fb8c04740a73e55913e67a
RMD160 (xvier.tar.Z) = 7059f59f6cb62c715461042008f95601d545ed63
Size (xvier.tar.Z) = 61765 bytes
-SHA1 (patch-aa) = 6adcd552f14722f89a0fc4b481c9a06f42cf24a1
+SHA1 (patch-aa) = e4fe00060e84aa74a50a209d0c14670acb694d83
diff --git a/games/xvier/patches/patch-aa b/games/xvier/patches/patch-aa
index 9e62532b8dd..29992d7bb24 100644
--- a/games/xvier/patches/patch-aa
+++ b/games/xvier/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/02/17 14:59:31 zuntum Exp $
+$NetBSD: patch-aa,v 1.2 2005/09/19 16:37:26 reed Exp $
---- Imakefile.orig Tue Jul 28 17:07:09 1992
-+++ Imakefile Mon Nov 18 21:41:45 2002
-@@ -13,10 +13,12 @@
+--- Imakefile.orig 2005-09-19 16:11:34.342372856 +0000
++++ Imakefile 2005-09-19 16:11:56.973932336 +0000
+@@ -13,7 +13,7 @@
#NO_GETDTABSIZE = -DNO_GETDTABSIZE
#PROGNAME = $(LIBDIR)$(PATHSEP)xvier_prog
@@ -11,14 +11,3 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/02/17 14:59:31 zuntum Exp $
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, $(PREFIX)/libexec)