mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
bc07afc1c2
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command. Use command macros where appropriate.
34 lines
833 B
Makefile
34 lines
833 B
Makefile
# New ports collection makefile for: xshogi
|
|
# Date created: 20 October 1996
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xshogi
|
|
PORTVERSION= 1.2.3
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= xshogi
|
|
DISTNAME= xshogi-1.2p03
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/gnushogix:${PORTSDIR}/games/gnushogi
|
|
|
|
USE_X_PREFIX= yes
|
|
MAKEFILE= Makefile.custom
|
|
MAN6= xshogi.6
|
|
|
|
post-configure:
|
|
@${ECHO_CMD} "DISTDIR=${WRKDIR}" >> ${WRKSRC}/${MAKEFILE}
|
|
@${ECHO_CMD} "LOCALBASE=${LOCALBASE}" >> ${WRKSRC}/${MAKEFILE}
|
|
|
|
post-install:
|
|
@strip ${PREFIX}/bin/xshogi
|
|
@${CHMOD} 755 ${PREFIX}/bin/xshogi
|
|
@${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/bin/xshogi
|
|
${INSTALL_MAN} ${WRKSRC}/xshogi.man ${PREFIX}/man/man6/xshogi.6
|
|
|
|
.include <bsd.port.mk>
|