pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xvier Use do-install target to install the three...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32d8c7662e57
branches:  trunk
changeset: 499320:32d8c7662e57
user:      reed <reed%pkgsrc.org@localhost>
date:      Mon Sep 19 16:37:26 2005 +0000

description:
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:

 games/xvier/Makefile         |  11 +++++++++--
 games/xvier/PLIST            |   4 ++--
 games/xvier/distinfo         |   4 ++--
 games/xvier/patches/patch-aa |  19 ++++---------------
 4 files changed, 17 insertions(+), 21 deletions(-)

diffs (79 lines):

diff -r 05324bf12299 -r 32d8c7662e57 games/xvier/Makefile
--- a/games/xvier/Makefile      Mon Sep 19 16:13:26 2005 +0000
+++ b/games/xvier/Makefile      Mon Sep 19 16:37:26 2005 +0000
@@ -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 @@
 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 -r 05324bf12299 -r 32d8c7662e57 games/xvier/PLIST
--- a/games/xvier/PLIST Mon Sep 19 16:13:26 2005 +0000
+++ b/games/xvier/PLIST Mon Sep 19 16:37:26 2005 +0000
@@ -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 -r 05324bf12299 -r 32d8c7662e57 games/xvier/distinfo
--- a/games/xvier/distinfo      Mon Sep 19 16:13:26 2005 +0000
+++ b/games/xvier/distinfo      Mon Sep 19 16:37:26 2005 +0000
@@ -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 -r 05324bf12299 -r 32d8c7662e57 games/xvier/patches/patch-aa
--- a/games/xvier/patches/patch-aa      Mon Sep 19 16:13:26 2005 +0000
+++ b/games/xvier/patches/patch-aa      Mon Sep 19 16:37:26 2005 +0000
@@ -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 @@
  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)



Home | Main Index | Thread Index | Old Index