freebsd-ports/games/xshisen/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

40 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/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>