summaryrefslogtreecommitdiff
path: root/games/xvier/Makefile
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-09-19 16:37:26 +0000
committerreed <reed@pkgsrc.org>2005-09-19 16:37:26 +0000
commit01d8412ee8dfa9cdf0ce849bbc2d44e68e4d134d (patch)
tree10955138d3f2388debf02da3e0578a6de6d8ecd7 /games/xvier/Makefile
parentc87fc5f8f3d9b66df96a17549428ee2062f3d13b (diff)
downloadpkgsrc-01d8412ee8dfa9cdf0ce849bbc2d44e68e4d134d.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/xvier/Makefile')
-rw-r--r--games/xvier/Makefile11
1 files changed, 9 insertions, 2 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"