aboutsummaryrefslogtreecommitdiffstats
path: root/games/xshogi/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-01-03 17:27:10 +0800
committerobrien <obrien@FreeBSD.org>1997-01-03 17:27:10 +0800
commit256e31ea6c06f7b19356f9cb777455184c857987 (patch)
tree742a5bd004a60e2a7d47f867c60734124485ef89 /games/xshogi/Makefile
parent8aec33ff154d8775493a82b0d2f32ee99bafe85a (diff)
downloadfreebsd-ports-gnome-256e31ea6c06f7b19356f9cb777455184c857987.tar.gz
freebsd-ports-gnome-256e31ea6c06f7b19356f9cb777455184c857987.tar.zst
freebsd-ports-gnome-256e31ea6c06f7b19356f9cb777455184c857987.zip
Have manpage go into man6 as the manpage says.
Remove hardcodings of /usr/local and /usr/X11R6
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>