1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/games/xshisen/Makefile
Pawel Pekala d3d42b4c5c - Stage support [1]
- Fix pkg-descr text alignment

PR:		ports/186320
Submitted by:	maintainer
2014-02-02 12:05:23 +00:00

41 lines
1.1 KiB
Makefile

# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
PORTNAME= xshisen
PORTVERSION= 1.51
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= LOCAL
MASTER_SITE_SUBDIR= hrs
MAINTAINER= turutani@scphys.kyoto-u.ac.jp
COMMENT= Shisen-sho puzzle game for X11
USE_XORG= xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sharedstatedir="${DATADIR}"
INSTALL_TARGET= install-prog
.if !defined(WITHOUT_MOTIF)
USES= motif
CONFIGURE_ARGS+= --with-motif
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|XSHISEN_VERSION|${PORTVERSION}|g' ${WRKSRC}/lang/XShisen.ad*
post-install:
${INSTALL_MAN} ${WRKSRC}/man/xshisen.6 \
${STAGEDIR}${MAN6PREFIX}/man/man6/xshisen.6
${INSTALL_MAN} ${WRKSRC}/man/xshisen.6.ja_JP.eucJP \
${STAGEDIR}${MAN6PREFIX}/man/ja/man6/xshisen.6
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/app-defaults
${INSTALL_DATA} ${WRKSRC}/lang/XShisen.ad \
${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XShisen
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults
${INSTALL_DATA} ${WRKSRC}/lang/XShisen.ad.ja_JP.eucJP \
${STAGEDIR}${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/XShisen
.include <bsd.port.mk>