aboutsummaryrefslogtreecommitdiffstats
path: root/games/xshogi/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-20 14:17:43 +0800
committerkrion <krion@FreeBSD.org>2004-03-20 14:17:43 +0800
commitab7da0704606accf2fe42219cfc653197049e48d (patch)
treee4bf9e69bfa4e6ce7acec9164bd4c52cc2dc6fdc /games/xshogi/Makefile
parent9fcd2d702230f70b2a66ff29910361d8c8804766 (diff)
downloadfreebsd-ports-gnome-ab7da0704606accf2fe42219cfc653197049e48d.tar.gz
freebsd-ports-gnome-ab7da0704606accf2fe42219cfc653197049e48d.tar.zst
freebsd-ports-gnome-ab7da0704606accf2fe42219cfc653197049e48d.zip
- Update to version 1.3
PR: ports/64468 Submitted by: Ports Fury
Diffstat (limited to 'games/xshogi/Makefile')
-rw-r--r--games/xshogi/Makefile32
1 files changed, 16 insertions, 16 deletions
diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile
index 589333c92354..ddd39abd7e45 100644
--- a/games/xshogi/Makefile
+++ b/games/xshogi/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: xshogi
+# New ports collection makefile for: xshogi
# Date created: 20 October 1996
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
@@ -6,30 +6,30 @@
#
PORTNAME= xshogi
-PORTVERSION= 1.2.3
+PORTVERSION= ${GNUSHOGI_PORTVERSION}
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= xshogi
-DISTNAME= xshogi-1.2p03
+MASTER_SITES= ${GNUSHOGI_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${GNUSHOGI_MASTER_SITE_SUBDIR}
+DISTNAME= ${GNUSHOGI_DISTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= The Japanese chess-like game for X Window System
-RUN_DEPENDS= ${LOCALBASE}/libexec/gnushogix:${PORTSDIR}/games/gnushogi
+RUN_DEPENDS= gnushogi:${PORTSDIR}/games/gnushogi
+
+BUILD_WRKSRC= ${WRKSRC}/xshogi
USE_X_PREFIX= yes
-MAKEFILE= Makefile.custom
+GNU_CONFIGURE= yes
+
MAN6= xshogi.6
PLIST_FILES= bin/xshogi
-post-configure:
- @${ECHO_CMD} "DISTDIR=${WRKDIR}" >> ${WRKSRC}/${MAKEFILE}
- @${ECHO_CMD} "LOCALBASE=${LOCALBASE}" >> ${WRKSRC}/${MAKEFILE}
+.include "${.CURDIR}/../../games/gnushogi/Makefile.common"
+.include <bsd.port.pre.mk>
-post-install:
- @${STRIP_CMD} ${PREFIX}/bin/xshogi
- @${CHMOD} 755 ${PREFIX}/bin/xshogi
- @${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/bin/xshogi
- ${INSTALL_MAN} ${WRKSRC}/xshogi.man ${PREFIX}/man/man6/xshogi.6
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xshogi/xshogi ${PREFIX}/bin/xshogi
+ ${INSTALL_MAN} ${WRKSRC}/doc/xshogi.6 ${MANPREFIX}/man/man6/xshogi.6
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>