summaryrefslogtreecommitdiff
path: root/games/xshogi/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-01-03 09:27:10 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-01-03 09:27:10 +0000
commit375eda1c7726bed5eeaa6d0f98dce4a2d3259a00 (patch)
treeddaa4281ab30ab9b96a2af86454e3f09f5d6b5ff /games/xshogi/Makefile
parentVariable reordering to standards. (diff)
Have manpage go into man6 as the manpage says.
Remove hardcodings of /usr/local and /usr/X11R6
Notes
Notes: svn path=/head/; revision=5185
Diffstat (limited to 'games/xshogi/Makefile')
-rw-r--r--games/xshogi/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile
index 89f1e2b88b19..6fb70c045187 100644
--- a/games/xshogi/Makefile
+++ b/games/xshogi/Makefile
@@ -3,7 +3,7 @@
# Date created: 20 October 1996
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1996/11/17 11:53:34 asami Exp $
#
DISTNAME= xshogi-1.2p03
@@ -17,12 +17,16 @@ RUN_DEPENDS= ${LOCALBASE}/libexec/gnushogix:${PORTSDIR}/games/gnushogi
USE_X11= yes
MAKEFILE= Makefile.custom
-MAN1= xshogi.1
+MAN6= xshogi.6
+
+post-configure:
+ @echo "DISTDIR=${WRKDIR}" >> ${WRKSRC}/${MAKEFILE}
+ @echo "LOCALBASE=${LOCALBASE}" >> ${WRKSRC}/${MAKEFILE}
post-install:
@strip ${PREFIX}/bin/xshogi
@chmod 755 ${PREFIX}/bin/xshogi
- @chown bin.bin ${PREFIX}/bin/xshogi
- ${INSTALL_MAN} ${WRKSRC}/xshogi.man ${PREFIX}/man/man1/xshogi.1
+ @/usr/sbin/chown ${BINOWN}.${BINGRP} ${PREFIX}/bin/xshogi
+ ${INSTALL_MAN} ${WRKSRC}/xshogi.man ${PREFIX}/man/man6/xshogi.6
.include <bsd.port.mk>