1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11/xmascot/Makefile

32 lines
799 B
Makefile

# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
PORTNAME= xmascot
PORTVERSION= 2.6a
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= http://cclub-flying.dsl.gr.jp/products/xmascot/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Moving mascot on your X11 screen
USES= imake
USE_XORG= ice sm x11 xaw xext xmu xpm xt
MAKE_ARGS= MAKE="${MAKE_CMD}"
MAN1= xmascot.1
# Unbreak parallel (-jX) builds: do not use unsafe MakeSubdirs() macro
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's/MakeSubdirs(/Named&$$(IMAGELIB),/' \
${WRKSRC}/Imakefile
post-install:
@${MKDIR} ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults
${INSTALL_DATA} ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/XMascot \
${PREFIX}/lib/X11/ja_JP.EUC/app-defaults
.include <bsd.port.mk>